Page 1 of 1

Analog clock

Posted: Tue Dec 23, 2025 4:34 pm
by hudiy
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)

screenshot48.png
screenshot48.png (306.84 KiB) Viewed 194 times
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"
                }
            ]
        }
    ]
}