homebridge-smart-irrigation icon indicating copy to clipboard operation
homebridge-smart-irrigation copied to clipboard

Timer Not Working

Open thebradbishop opened this issue 3 years ago • 5 comments

When I start the Sprinkler in the Home App, there are no timers counting down. Also I have the default timers set in the homebridge config but when I check the accessory they aren’t set. Trying to set them doesn’t save on the accessory itself.

thebradbishop avatar Aug 26 '22 18:08 thebradbishop

@MTry I checked it, it's a real bug. Log:

[37m[8/28/2022, 8:12:52 PM] [39m[36m[homebridge-smart-irrigation][39m This plugin generated a warning from the characteristic 'Remaining Duration': characteristic was supplied illegal value: number 27793 exceeded maximum of 18000. See https://homebridge.io/w/JtMGR for more info.

angyalz avatar Aug 28 '22 20:08 angyalz

Thanks for pointing this out.. if I recall I had taken care of this but seems something is missing - will review again.

MTry avatar Aug 29 '22 09:08 MTry

@MTry I checked it, it's a real bug. Log:

�[37m[8/28/2022, 8:12:52 PM] �[39m�[36m[homebridge-smart-irrigation]�[39m This plugin generated a warning from the characteristic 'Remaining Duration': characteristic was supplied illegal value: number 27793 exceeded maximum of 18000. See https://homebridge.io/w/JtMGR for more info.

I was checking this and recalled that I had limited this to 18000 seconds which is 5 hours - much above the default 30 minutes of HomeKit! The number 27793 corresponds to almost 8 hours which seems rather high to leave the valve on!

MTry avatar Aug 29 '22 10:08 MTry

@MTry I checked it, it's a real bug. Log:

�[37m[8/28/2022, 8:12:52 PM] �[39m�[36m[homebridge-smart-irrigation]�[39m This plugin generated a warning from the characteristic 'Remaining Duration': characteristic was supplied illegal value: number 27793 exceeded maximum of 18000. See https://homebridge.io/w/JtMGR for more info.

I was checking this and recalled that I had limited this to 18000 seconds which is 5 hours - much above the default 30 minutes of HomeKit! The number 27793 corresponds to almost 8 hours which seems rather high to leave the valve on!

I was not set any time, just turned on the switch and came this log message. When I have some time I will see where this value comes from.

angyalz avatar Aug 29 '22 15:08 angyalz

@MTry I checked it, it's a real bug. Log:

�[37m[8/28/2022, 8:12:52 PM] �[39m�[36m[homebridge-smart-irrigation]�[39m This plugin generated a warning from the characteristic 'Remaining Duration': characteristic was supplied illegal value: number 27793 exceeded maximum of 18000. See https://homebridge.io/w/JtMGR for more info.

I was checking this and recalled that I had limited this to 18000 seconds which is 5 hours - much above the default 30 minutes of HomeKit! The number 27793 corresponds to almost 8 hours which seems rather high to leave the valve on!

So, I started zone manually. I think the expected behavior is that the counter starts counting down from the value set in Home app. I think that 27793 = sunrise - now() // now()=8:12:52PM; see log timestamp

angyalz avatar Aug 29 '22 19:08 angyalz