Closed nicedevil007 closed 5 years ago
With 0b72a9ce177843e27e5dd8d7be806909aa6655ef it should show cleaning time using timezone selected in the vacuum's settings.
I will test it. The time in CLI is correct on my S50. But I think valetudo is using an other time. Will report back :)
Ok tested. Set the robot to clean a test area at 17:35, it doesn't start. I think it will start at 18:35 now.
Oh and an enhancement :D What about an Edit button as you did for the Zones to change the timersettings or days etc, or even the name?
Please make sure you have correct timezone set in vacuum's firmware (that is used for normal clean timers as well). It's may be different from the timezone at onboard linux system. It is set at "settings" -> "timers" -> "gear icon".
Editing zoned timers isn't nearly as easy as editing zones. I agree though it should be done some day.
I double checked it again. The timezone is set to Europe/Berlin what's correct for me :)
and here CLI:
Ok, now it is 18:35 => S50 started Testzone cleaning...
Maybe it is a problem with summer/winter time?
Yes, node-cron module seems doesn't support Daylight Saving Time at all.
Ok, then we don't have a chance at all to fix that right? Isn't it possible to determine which time is set right now and substract 1 hour from that?
No it isn't since there's huge amount of timezones in the world and you won't be able to track them all. So in cf158076fd4fd468de29a4168ba3f2f9940425f4 I've replaced cron module with the one supporting Daylight Saving Time. Probably should get better. In my country there's no DST now, though.
The Winter/Summertime will be abandoned in europe in the near future :) But isn't it easy to compare the time of the linux system with the setup timer for zoned cleaning? The time in ubuntu should be always the right one, using my Sophos UTM as NTP server :)
oh forgot: will test the new release as always :) you can't imagine how much we (my girlfriend as well) like your version of valetudo!
Ok Rand256, my test was setup for 19:00... the robot started at exact 19:00 :) My girlfriend is lucky now hehe.
One little improvement... a button to enable autorefresh of the map while the robot is running around the flat?
The thing is not everyone can setup required timezone in linux console. Setting it via the website is much easier.
Regarding refreshing the map, it should be refreshing automatically during the cleaning (and for me it surely does work fine). If it doesn't for you, please open another ticket.
Hey rand256 :D Here I'm again! Thx first for support! Realy good job so far.
Today I added 2 testtimers for zoned cleaning.
And here is the result:
Is it even possible to change the time on this page as well? The Timezonesetting doesn't help at all because it still uses GMT instead of GMT+1?