-
Notifications
You must be signed in to change notification settings - Fork 28
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
Update to neohubapi version no longer detects thermostats #61
Comments
More on this: I appear to be able to read from the neohub just fine:
However, calling get_system() appears to be failing, this looks like a bug in neohubapi. My raw response from get_system() is:
neohubapi appears not to like ALT_TIMER_FORMAT being null. This is called in async_setup_entry in climate.py @stikonas FYI |
(Happy to submit a patch btw, but I don't have a copy of the heatmiser developer docs so I'm not sure what the right behaviour is when this case happens). |
I'll take a look. Unfortunately Heatmiser docs is not very clear about reply from get get_system, so I had to guess some stuff. Hopefully with more users/data points we can make it more reliable. |
Happy to help. I am waiting from heatmiser support for my copy of the docs. From my reading, it sounds like we can have ALT_TIMER_FORMAT default to the same thing as FORMAT if it is null, but I can't be sure. |
ok, my reply was
so I guess I assumed that it's int. |
By the way, older docs are here https://gitlab.com/virchow-personal/neohubby/-/blob/master/docs/Neohub_Api_For_Systems_Developers.pdf (and there aren't many changes in new version) And it doesn't mention anything about |
Can you try the following patch to neohubapi?
|
That works. I've also sent you a merge request with something similar. Let me know your preference. |
Ah no, I spotted this when doing the proof of concept and patched locally! |
@gerrowadat I briefly looked at your PR, I think adding these two lines is a bit better. Your change will make it work, but I think it's better to return more accurate information about the state of neohub. If it's none, then let's say it's none. |
Ok, 0.4 is on PyPI but HA did not autoupdate my old installation. (But it installed latest version when I removed |
Works on my setup after #63 |
Same, just updated via hacs and all is well. Thanks! |
Hi -- I've been using this integration via hacs for a number of months successfully. I have a neohub with 3 room thermostats (neostat) and a fourth that's acting as a hot water switch.
Earlier today, when I updated the integration, my thermostats were no longer detected. It did, however, detect the hot water switch (which I'm not sure was detected before). I'm happy to do any debugging suggested. The debug logs from the integration are unremarkable:
I'll try to get youmore debugging info and add to this issue.
The text was updated successfully, but these errors were encountered: