Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timer Not Working #42

Open
thebradbishop opened this issue Aug 26, 2022 · 5 comments
Open

Timer Not Working #42

thebradbishop opened this issue Aug 26, 2022 · 5 comments

Comments

@thebradbishop
Copy link

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.

@angyalz
Copy link
Contributor

angyalz commented Aug 28, 2022

@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.

@MTry
Copy link
Owner

MTry commented Aug 29, 2022

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

@MTry
Copy link
Owner

MTry commented Aug 29, 2022

@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!

@angyalz
Copy link
Contributor

angyalz commented Aug 29, 2022

@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
Copy link
Contributor

angyalz commented Aug 29, 2022

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants