Hive Integration

Remove integration from configuration.yaml and Integration flows, delete custom component from HACS, restart, install b25 custom hive through HACS, restart, configure integration flow but leave debug unchecked

Iā€™ve got the custom integration via HACS, 2020.1_b5 I did use the offical one until the URL change and 2FA kicked it in the proverbials. The configuration.yaml Hive entry is commented out. Iā€™m quite new to all of this, but looking at the history, it seems that other Hive sensors are behaving as expected, just the TRV availability. For example, my door sensor is showing a change of state that happened recently but the TRV availability only seems to change if I reload the integration or restart the HA server. I might just go from scratch again as my journey to this point has involved a number of wtfs so I might benefit from the experience so far :slight_smile:

1 Like

Iā€™m probably going to go that route, start the Hive stuff from scratch. Iā€™m not sure what you mean by ā€˜integration flowā€™ though :thinking: (sorry, Iā€™m quite new to all this, but enthusiastic) :slight_smile: As Iā€™ve mentioned in my reply to Khole KJ, other sensors seem to be behaving. Iā€™ll give it a go sometime in the next few days, fingers crossed.

Having been forced to do a re-install due to hardware failure Iā€™ve added 2020.1_b25 and got the Hive integration showing in Configurationā€“>Integrations.

My problem is that Hub and Thermostat are devices seen and only 4 entities listed - Hub Status; Thermostat Battery Level; central Heating and Hot Water.
Iā€™m missing about a dozen entities that I had before my rebuild.

Debugging is switched off.

EDIT Full delete, removing name & password from config.yaml and entering same through the prompt that then comes with the integration looks to have fixed it. RTFM and start again!

Having problems configuring the integration, Iā€™m getting the following error:

Logger: homeassistant.config_entries
Source: config_entries.py:242
First occurred: 11:02:07 (1 occurrences)
Last logged: 11:02:07

hive.async_setup_entry did not return boolean

@Khole i do not have the two factor authentication set up how do I do that? would your custom component still work?

I have restarted my HA and getting asked to reconfigure the hive custom component and when I do it just adds a second account and keeps asking to reconfigure.

I checked my hive app and I think there are some issues as it says something went wrong when I try to refresh.

Same here, been searching online. Down detector suggests other people are having issues as well https://downdetector.co.uk/status/hive/

Even logging into the hive home sso with 2FA enabled my code received doesnā€™t work (verification code error. Please try again). I think someone is having a busy afternoon.

Although the status page doesnā€™t suggest an issue https://status.hivehome.com

1 Like

Looks like its back up for me now! :slight_smile:

Yeah same for me :slight_smile:

1 Like

@bachoo786

Yes 2FA is supported by the library. Hive 2FA had to be configured in the Hive app to set it up. If you have already configured the integration in home assistant then you donā€™t need to do anything once 2FA is setup.

If you need to setup the integration then you will be promoted for 2FA as part of the integration setup flow after you enter you username and password

ok thanks mate :slight_smile:

Any idea when this issue will be fixed?
Failed to call service hive/boost_heating. Replacement index 0 out of range for positional args tuple

Hi All,

I have released the official version 2021.2 of the custom component everybody should have an update in HACā€™s for this.

I have also started the PR to update the official Hive integration with Home Assistant team this can be tracked here -

5 Likes

Respect!
Thank you very much!

Hi Khole

Many thanks for all the hard work on the new integration. Iā€™ve upgraded and had a good check and found a few issues that I have raised on github. Sorry, nothing worse than working really hard and then someone else finding a few issues. However, it might help others that perhaps will experience some issues.

In the main, I think there are still issues with RGB bulbs which I think have been an issue before. Plus some of the sensors related to heating and hot water seems to have disappeared, namely mode, state and boost.

Again many thanks for your hard work and let me know if I can help in anyway.

Kevin

hi all 2021.2.2 has been release with fixes for specific scenarios in schedule mode

1 Like

Hi all, I have recently installed this integration and it works flawlessly in HA. I have exposed this to HomeKit and struggling with hot water, it is showing as a temperature thermostat in HomeKit which gives no control, whereas in HA hot water shows as a switch for eco/on/off. Is there a way to expose to HomeKit correctly? Apologies if this has been previously asked or solved, Iā€™m a newbie around here!
Thanks

Hi all,

Just a warning as I mentioned the process has started for merging the updated code into the official home assistant.

Unfortunately this work had to be split up into 3 chunks so for anyone reading the 2020.3 release notes. It will advise there is 2 Hive changes/ fixes in the release.

The Hive integration in the 2020.3 release will still not be a working version of the Hive integration until the third chunk has been merged in and released unfortunately.

Im not 100% sure which release it will make it in latest is going to be the April release.

1 Like

Hi, Iā€™ve been trying to use this in the standalone way by just using the python library but am struggling to get it to connect. I donā€™t really have any experience in python which isnā€™t helping! When I try the examples in github it gives an error like ā€œRuntimeWarning: coroutine ā€˜Session.loginā€™ was never awaitedā€. Iā€™ve tried a few things to get it working but everything always seems to lead back to this error message. I was wondering if you had a complete basic example I could use (just connecting and printing a value from a sensor for example)? Once I get it connecting I can work out the rest I think.

Does anyone know if its possible to enable/disable Heat On Demand through the integration? Iā€™ve had a look and canā€™t see anything but wanted to check with the experts.

My reasoning for wanting this is to automate enabling HoD during certain hours and disable outside of these. As we have a stat in our master bedroom, any other rad calling for heat under HoD boosts the bedroom rad and sends the temp in that room through the roof.