-
Notifications
You must be signed in to change notification settings - Fork 38
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
Sensor Rain delay errors on startup #15
Comments
Those However - I do have a |
@TheGardenMonkey turns out HACS doesn't support bundling both a custom component and a python script so you'll need to install it manually. Check out the docs here: https://github.com/sebr/bhyve-home-assistant#python-script NB: You'll need to upgrade to version 0.2.0-alpha.2 |
I can't figure out how to do the alpha / beta installs in HACS anymore lol. Any advice for how to do the upgrade in HACS or do I have to do it manually? ...And a huge thank you for this. I was giving up that we would ever get the bhyve ecosystem into HA. I have 3 active timers (i have a boxed one as well) and I would definitely like to help with any beta testing (or coding) you need for enhancements. |
Did you manage to test this at all @TheGardenMonkey ? Keen for some feedback before releasing to the wild :) |
I did but it isn't updating, it is creating the sensors but just getting None for the next watering. I will attempt to debug in the morning. |
From what I see it is looking for an attribute that isn't on my devices. Line 40: for timestamp in zone.attributes.get("watering_program", []) or []: ...my devices do not have a watering_program attribute as far as I can tell. Instead there is a "switch.program-name_program" that has a start_times and days attribute that looks like it should be parsed for the correct time. Are you on discord, maybe I can send you some of the details of what mine look like? I can also give a shot updating it to support mine. |
Yep i'm in the HA server as |
I've installed your HACS last weekend and it was a flawless installation. The only struggle I had was with the sensor templates.
|
@sebr . This is my 1st comment ever which explain my modest skill pinging someone in particular instead of the group. |
@sebr . I forgot to ask. Can the Rain Delay sensor icon change when its state is off? |
@AlexVercammen those sensors are a bit out of date and quite brittle. I would suggest moving to the python_script which I have written to solve this problem more reliably. |
@TheGardenMonkey haven't forgotten about this issue mate, just lost for time! |
No worries brother, I figured and all good. I can tell this is a bit tricky based on how that data comes in. Let me know if you need me to do anything. I was going to try to work on it myself but work has been busy. |
Having an issue with the python script _rain_delay_finishing returning "None" when I have a delay that started at 2020-07-15T15:36:41-04:00 with a delay of 24. The _next_watering is also returning "None" despite having a program on (albeit on a rain delay right now). |
@vmcosco I've pushed a change which adds some extra logging - can you check that out and see if you get any errors in the log? If you are still having troubles, can you please create a new issue with as many details as possible? Thanks! |
@TheGardenMonkey I'm going to close this issue as the original startup errors have been fixed. I am aware of the limitation of the next watering script ignoring non-smart watering programs :) |
The following appears in my home-assistant log upon every restart for the
rain_delay_*_remaining
andrain_delay_*_finishing
for each device:The text was updated successfully, but these errors were encountered: