Hi,
Thanks for your contribution to HA.
I know you have limited time, but I hope you can guide me on the right track.
I was using iZone in VM Qnap and it worked, but that Qnap is no more.
I am now running OS on a NUC (no VM). When trying to add integration, it fails and I get the error codes below regarding discovery. I have disabled duckdns and running local on http. Is there anything I can do to see if I can make this work?
Many thanks for your time.
Logger: pizone.discovery
Source: /usr/local/lib/python3.11/site-packages/pizone/discovery.py:173
First occurred: 14:47:30 (2 occurrences)
Last logged: 14:57:02
Uncaught exception
Traceback (most recent call last):
File “/usr/local/lib/python3.11/site-packages/pizone/discovery.py”, line 408, in initialize_controller
await controller._initialize() # noqa: E501
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/pizone/controller.py”, line 113, in _initialize
await self._refresh_zones(notify=False)
File “/usr/local/lib/python3.11/site-packages/pizone/controller.py”, line 395, in _refresh_zones
await asyncio.gather(
File “/usr/local/lib/python3.11/site-packages/pizone/controller.py”, line 400, in _refresh_zone_group
assert group in [0, 4, 8]
^^^^^^^^^^^^^^^^^^
AssertionError
This has all been working great again for a good while now, still no luck with the power sensor unfortunately.
Another feature request though, is there any chance of reading in the sleep timer from iZone into Home Assistant as an additional sensor or state? Ideally two way but one way would be fine too. The iZone app itself is still not great, home assistant does everything better than their own app, but I use HA for a sleep timer automation, Wife still likes to use the iZone sleep timer. No big conflicts or anything, just would be nice to be able to update one based on the other being altered.
If someone wants to work with me to get PRs accepted in HA, then we can get some changes made to the HA integration and make some forward progress with adding features and correcting bugs. It would need to be someone familiar with coding so they can do code reviews.
What might be a better option would be that the whole integration is pulled out of HA and put into HACS instead, because then I don’t have to worry about code reviews and can just publish. The downside of this is that as the codebase of HA shifts, the HA people will automatically fix any inconsistencies which reduces the amount of work needed. Without this there’s a chance the integration would no longer work in HA with one of the updates.
At the moment the component works OK for me, so my motivation to do this kind of stuff is pretty low and I have a stack of higher priorities to contend with.
I do that, but if the timer is activated in the iZone app or panel instead, it isnt acessible or readable by HA, so I have no way to keep the two in synch. First world problems, no biggie. The power monitoring would be a much bigger benefit. in my case at least.
If I had some idea of how to go about doing that, I’d be more than happy to help, feel free to point me in the right direction and I’ll try to do what learning I need to do to be useful/helpful. Id be heavily relying on AI nowadays tbh but I have a bit more time on my hands than I used to, im willing just need to learn what i need to learn to help out.
I’m a hobby level nerd. Learning python, but only slowly and only on an as-needed basis, im not about to be proficient anytime soon. But I can muddle my way through sometimes with youtube and google and ai holding my hand.