Analog clock
Posted: Tue Dec 23, 2025 4:34 pm
We've added an analog clock widget example on our GitHub. It can be linked directly to your dashboard without using an HTTP server. The locale for the date and time can be configured directly in the source code (the default is en-US)
https://github.com/wiboma/hudiy/blob/ma ... clock.html
Sample dashboards.json config:
https://github.com/wiboma/hudiy/blob/ma ... clock.html
Sample dashboards.json config:
Code: Select all
{
"dashboards": [
{
"isDefault": true,
"action": "hudiy_dashboard",
"widgets": [
{
"type": "navigation",
"size": "small_narrow"
},
{
"type": "web_static",
"size": "medium_narrow",
"url": "file:///home/pi/hudiy/examples/analog_clock.html"
},
{
"type": "now_playing",
"size": "large_narrow"
},
{
"type": "phone",
"size": "small_narrow"
}
]
}
]
}