New binding for Centrica Hive / British Gas Hive with Multizone Heating and Radiator Valve support

Hi

I noticed that I’ve started to get 410 communication errors from the Hive Binding. It seems the same problem occurred over at Home Assistant and they identified a fix - https://community.home-assistant.io/t/hive-integration/17374/619 (change login URI to https://beekeeper.hivehome.com/1.0/cognito/login). Is there any way to update the binding configuration?

Thanks

Gabriel

2 Likes

@rossgb Is this now a dead project?

Can anybody out there re-compile Ross’s project with the new connection URLs?

2 Likes

pip install pyhiveapi also gives me the error

“Could not find a version that satisfies the requirement pyhiveapi (from versions: )
No matching distribution found for pyhiveapi”

Any ideas? Trying too install on ubuntu 18.4.5 LTS

pyhiveapi is for home assistant which by the looks of it is something everyone has migrated to.

My openhab display has said null for too long now so I had a look into this and im not very good at coding but know the basics, looking at Russells github files I saw a file called HiveApiConstants which has the following.

public static final URI DEFAULT_BASE_PATH = URI.create(“https://api.prod.bgchprod.info/omnia/”);

Which I thought ahh this is the URL which is really old, I changed this to https://beekeeper.hivehome.com/1.0/cognito/login and rebuilt it and uploaded to my openhab to unfortunately still get the same OFFLINE - COMMUNICATION_ERROR.

All other java files doesnt mention beekeeper.

1 Like

What makes you think everyone has left?

Mine too :pensive:

I think im going too setup home assistant add hive too that and connect HA & OH together hopefully giving OH controll over my hive Thermostat

Hi all Very new to this, but was pointed in the direction of OpenHab for control (started life doing Crestron & Kramer Control)

seems a few people have experimented does anyone have a working solution/binding for the hive multizone

@Rabster

We used too but it looks like all the bindings have been abandoned

Hive made a change the binding never got an update

@rossgb I have Hive bulbs and plugs - happy to help. I have written a python class which makes calls to Hive via the pyhiveapi library (used by Home Assistant, but I use standalone). Would that be helpful?

Thanks for the offer @samwatling but I’m afraid that this binding has been dead for quite a while.

Back in early 2020 when I wrote it Hive exposed two different APIs (“omnia” and “beekeeper”). I chose the “omnia” API because it had swagger documentation whereas the “beekeeper” API needed to be reverse engineered from the app. This turned out to be a mistake because Hive later shut down the “omnia” API in September 2020.

Due to health problems at the time I didn’t feel up re-writing my binding and in fact stopped using OpenHAB altogether.

Unfortunately my binding would probably need a lot of work to get running again. Not only would it need to be re-written to use the “beekeeper” API, it would also need to be updated to use the OpenHAB 3.x API (it was originally written for OpenHAB 2.5.x).

You should probably try asking a question in the #setup-configuration-and-use:beginners category to see what other people do now to integrate Hive.