Coder Social home page Coder Social logo

hydrawiser's People

Contributors

ptcryan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hydrawiser's Issues

Any plans to support multiple controllers?

I am using the Home Assistant Hunter Hydrawise integration. I have installed and it works fine, but only has data for one of my two controllers. After looking at the integration code in the HA repo and seeing the use of Hydrawiser, I discovered the limitation of one controller.

Do you have any plans to update Hydrawiser -- and the HA add-on -- to support multiple controllers. If you are willing to take this on, I will be glad to be a tester.

Thanks.

No Response when running certain zone

When using

hw.run_zone(minutes, zone)

The response is empty string only when zone=4 is used.I get the json response({'message': 'Starting zones zonexyz. zonexyz to run in 1 second. ', 'message_type': 'info'} ) from all the other zones. All of my zones are identical. Zone number 4 is watering too but the response is empty.

Worked fine until like 2 weeks ago, not changed anything anywhere, just updated the pip install to version 0.2.

Hydrawise Binary Sensor Issue

This issue was reported in Home Assistant as #77087 back in August and remains open. About 3 days ago after years of using the integration without any problems, I started getting this error after a reboot as well some other folks.

The error being reported and keeping the integration for loading is:

Error while setting up hydrawise platform for binary_sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 281, in _async_setup_platform
await asyncio.shield(task)
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/hydrawise/binary_sensor.py", line 64, in setup_platform
HydrawiseBinarySensor(hydrawise.current_controller, BINARY_SENSOR_STATUS)
File "/usr/src/homeassistant/homeassistant/components/hydrawise/init.py", line 96, in init
self._attr_name = f"{self.data['name']} {description.name}"
TypeError: list indices must be integers or slices, not str

I am running
Home Assistant 2022.11.5
Supervisor 2022.11.2
Operating System 9.3
Frontend 20221108.0 - latest

It could be intermittent as the integration loaded yesterday but today after a reboot will not load with this error. It does not appear to be a rate limiting issue as an http call to the api using my key (https://api.hydrawise.com/api/v1/statusschedule.php?api_key= ) returns the correct status of my Hydrawise system.

Thank you for this integration. It is extremely useful for automating my 19 irrigation zones. Please let me know how I can help.

Handling of unnamed/unused zones

Through Home Assistant I'm getting an error:

IndexError: list index out of range on mydata.relays[self.data["relay"] - 1]

Looking at the open issues on the Home Assistant repo, I found this issue that I think may be the cause home-assistant/core#37769

I have an empty zone (2nd physical zone) that was skipped/reserved during installation which might be the cause of that error. Unfortunately, I think the referenced issue's problem description isn't very clear.

While I think the error is occurring with the home assistant integration, I'm wondering whether there is an issue with this module - should unused/unnamed zones be passed to home assistant, or should they be filtered out here?

I'm running Home Assistant 0.117, which is using hydrawiser 0.2.

Hydrawise API change

Hi,

The Home Assistant Hydrawise integration that utilises this repo seems to have broken in the last 24-48 hours:

home-assistant/core#31957

Looking into the error, it seems as though the Hydrawise API format may have changed recently. Unfortunately I can't find the previous API documentation so I'm only guessing from the errors.

Are you able to confirm if the current API matches your previous API documentation?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.