I’m having trouble connecting the NeoHub binding to my 2nd generation hub. I have searched the forum for answers and I’ve tried quite a few different methods. I’m hoping someone can help me…
Installation details:
Raspberry Pi 4
neoHub (2nd generation)
Openhabian (openHAB3)
Openhab stable 3.1
Tried the standard binding and also the snapshot below:
For those that arrive here due to the same issue, I found a way. First you have to open the Heatmiser App and enable “Legacy API” which is found in settings/api access/
I missed your post. And I am glad you solved it, by forcing legacy API. But I would like to figure out why it does not work in your system using the new API. So would you be willing to log:set TRACE on the binding and force non legacy API (for a few minutes) and post the salient data?
@Curtis many thanks for getting back to me. It looks as though the NeoHub “new” API is even newer than the “new” API used by the OH binding. I need to dig into this further, and will get back to you in a few days.
@Curtis it seems that the “new” API is a proprietary connection that Heatmiser is not going to share with us. However they say that they plan to maintain the “old” API in the system for purposes of third party integrations (like OH). The only difference is that in new systems the “old” API is disabled by default, and has to be enabled via the switch in the App. Therefore, I think the only thing that I will be able to do, is to modify the OH binding Read Me to explain this, and add a more explicit logger message in the case that the OH binding detects that the “old” API is disabled.
@Curtis just for info, the above change has just been merged into the OH code, and it will be released in v3.3 Milestone 7 resp. v3.3 Final. Many thanks to you for your support.