sebr / bhyve-home-assistant

Orbit BHyve custom component for Home Assistant
MIT License
252 stars 42 forks source link

Manual preset runtime #187

Closed ingo916 closed 3 months ago

ingo916 commented 1 year ago

Describe the bug bhyve: set_manual_preset_runtime will not update the preset runtime. Expected behaviour running the service service: bhyve.set_manual_preset_runtime data: entity_id: switch.drip_zone minutes: 30 SHOULD CHANGE THE PRESET TO 30 MINUTES

BHyve devices Orbit 57950 B-hyve Smart 12-Zone Indoor/Outdoor Sprinkler Controller

Device Diagnostics

image image

bsp9493 commented 1 year ago

I am also having this issue.

I have been using this integration for years and this was never a problem…

activating the entity via another integration (irrigation controller) the device would run for the time defined in that integration)

nit sure if I missed something in a recent update, but now, when the switch entity is called (to run for 16 mins for example), I t automatically shuts off after the default runtime of the orbit device (which is 10 mins)

I have not been able to update the default runtime and have it stick.

I have the newest firmware in my orbit controller and there is also NO option to change it there:(

Love your integration, t has worked flawlessly for year, problem just started this season.

your help is appreciated

kkellner commented 1 year ago

Same problem here. First time using set_manual_preset_runtime but it doesn't seem to be doing anything. No info in logs that that call failed. I get a green checkbox when I run in Developer Tools --> Services but the attribute never gets changed.

sebr commented 1 year ago

Works fine for me with a Hose Timer (Model HT25).

@ingo916 I suspect this is because your device (Orbit 57950) has multiple zones? I don't really know how to unblock this as I don't have the hardware to test / investigate.

nit sure if I missed something in a recent update, but now, when the switch entity is called (to run for 16 mins for example), I t automatically shuts off after the default runtime of the orbit device (which is 10 mins)

@bsp9493 - this sounds completely separate, and not related to the set_manual_preset_runtime service call. Please open a new issue if so.

kkellner commented 1 year ago

I have the 16-station XR (Model WT26-0001) which is not working.

image

@sebr any debugging logging I can turn on and provide let me know.

sebr commented 1 year ago

Can you tell me...

In the official app, if you navigate to: My Bhyve > Devices > Your Device > Preset Runtime what do you see? Is it one option for the entire device or are you able to choose a preset runtime per zone?

The service call currently sets the preset runtime for the device (it doesn't send a zone in the payload) so this is my best guess at the moment.

kkellner commented 1 year ago

Looks like that option does not show on XR models.

image

bsp9493 commented 1 year ago

I can confirm this option is also NOT available on6 station indoor/outdoor timer8 station indoor timerBoth have a 10min defaultdOn May 31, 2023, at 7:25 AM, Kurt Kellner @.***> wrote: Looks like that option does not show on XR models.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

mesencephalon commented 1 year ago

I have Orbit 24639 B-hyve XD 4 port smart hose watering timer and manual preset runtime option doesn't exist in bhyve app settings. I tried to use set_manual_preset_runtime call in home assistant automation but it never works. I can only set manual watering time in bhyve app for manual watering on home screen of bhyve app. Any solution to set manual runtime on home assistant with this model of bhyve?

krusej23 commented 11 months ago

Wondering if this was ever figured out or if Orbit pulled it from the API.

Shredder5262 commented 4 months ago

I have the Orbit 24639 B-hyve XD 4-Port, i tried using the call service. It does nothing for me. The manual preset time option in the app also does not exist for me. At this time, I really only purchased a bhyve to be able to turn the water spigot on from my phone, it would be nice to have this working in home assistant to centralize the many different 'smart home' platforms. Not being able to use the manual preset time in HA makes this integration useless to me.

Shredder5262 commented 3 months ago

Any feedback on this would be appreciated, this is really the only thing that i want this device for is to be able to turn it on from within home assistant. Yes I'm aware i can use the app for that, but it defeats the purpose of needing home assistant for that. Is this int. still being supported?

sebr commented 3 months ago

@Shredder5262 as described earlier in this thread, some devices do not support the "manual preset run time". I am going to update the readme with this information so that it is clearer.

The workaround (or perhaps, the proper solution) is to use the bhyve.start_watering service call with the required number of minutes to run.

krusej23 commented 3 months ago

@Shredder5262 May this will help. I use a button on my dashboard and use the call service option.

Screenshot 2024-05-27 at 6 15 50 PM
Shredder5262 commented 3 months ago

@Shredder5262 May this will help. I use a button on my dashboard and use the call service option. Screenshot 2024-05-27 at 6 15 50 PM

ok, that seems to have done something, I'll try to work with that, thank you for the suggestion.