Terk
January 3, 2023, 8:06pm
1
It would be nice if there was a system time option for the clock dashboard tile. While traveling internationally it would be nice to have a clock tile to look at to see what time it is currently at home. Right now the clock tile must use the browsers time at the time of loading the dashboard so it showed the international time on the dashboard.
1 Like
Hi @Terk , something like this?
I am using the NTP device driver and added a tile for the NTP device using date & clock. Other options are clock only and date only.
Actually these tiles can be created based on almost any device and then selecting the desired attribute in the right hand column.
1 Like
You could also look at a driver I wrote originally and @luarmr updated to include the timezone selection. But yes, would be nice if it was built-in.
EDIT: Personally I feel like, while there are differences in the implementation, I would suggest people start by looking at @jshimota 's driver . It provides a more rich set of attributes for display on dashboards and use in rules.
I wanted to adjust the formatting of the date and time on my dashboards, so I have setup a small device driver to achieve this, along with help from @luarmr .
The driver provides:
Ability to adjust formatting preferences for date and time display
Selection of a tim…
Just realized my comment at the top of that page to also consider @jshimota 's driver as well
Recent discussion on how to ID what day of the week it is in a rule prompted me to want a rule too... (in my case it was garbage cans).
Having already done some date/time work with my Meteorological Seasons driver, I wrote this driver this AM to allow me to parse values so I can easily control rules. Initially I was putting the variables list from PHP but then I learned that Java comes up... um. short. At least in pre-defined ways. Update - Fixed 0.2.2 I haven't determined the Pattern for th…
2 Likes
Terk
January 3, 2023, 8:28pm
4
I should be able to add an NTP server to the OpenVPN router at that location to try that hopefully in the next few days.
1 Like
@Terk
I used this one directly on the Hubitat
All,
with the just release Hubitat version (2.1.5) there is a new function to set the Hub time via an API call.
Here is a driver that allows you to specify a local NTP server to retrieve the date/time from and it will update the Hub accordingly.
Right now, the driver does NOT support SNTP, only plain old NTP, however. It checks the time on boot and every X minutes (configurable).
The configuration should be pretty self-explanatory but I am happy to elaborate if anyone has questions.
You d…
Hope that works for you
Terk
January 3, 2023, 9:10pm
6
The Date Time Parser doesn't format the way I want with it all on one tile. Your driver works well though. Thanks.
1 Like
The Date Time Parser doesn't format the way I want with it all on one tile. Your driver works well though. Thanks.
All kudo’s go to @dan.t for this one!
system
Closed
January 3, 2024, 9:14pm
8
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.