Analog clock

Post Reply
hudiy
Site Admin
Posts: 440
Joined: Mon Jul 14, 2025 7:42 pm

Analog clock

Post 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 193 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"
                }
            ]
        }
    ]
}
Post Reply