Hive Active SLR2-SLT2 heating,Zigbee2MQTT and node-RED
Posted: Wednesday 30 December 2020 13:19
I have been a using the Hive Active Heating/Hot Water controller with Domoticz for around 18 months now.
Initially, I integrated Hive into my domoticz setup using scripts inspired by MikeF lua scripts. I then progressed on to the Hive plugin maintained by imcfarla, forked and modified for my own use. This has served me reasonably well, however I have never been completely happy controlling my heating by connecting out to Hive's cloud infrastructure and being reliant on British Gas not changing API's!
Meanwhile, more recently, I have added zigbee2mqtt (from Koenkk) to my setup as my Zigbee network slowly expanded. While Zigbee to Domoticz is handled by the zigbee2mqtt plugin from stas-demidyuk hosted at https://github.com/stas-demydiuk/domoti ... qtt-plugin
My existing Hive bulbs and power plug have been reset and paired with my Zigbee network, thus leaving just the Hive heating hub/thermostat connected to the Hive 'cloud'.
Earlier this month British Gas changed the authentication method used to connect to the Hive cloud and at this point, so I made the decision to either ditch the Hive controller for an alternative, make my own (probably wi-fi connected) controller or attempt to pair my existing Hive controller with my Zigbee network and control it locally via zigbee2MQTT/domoticz.
After a bit of research, I discovered Koenkk's excellent zigbee2MQTT project (https://github.com/Koenkk/zigbee2mqtt) now supports the Hive Active central heating/hot water controller (SLR2) and its associated thermostat (in my case the SLT2).
This introduction of zigbee2MQTT Hive SLR2 support led me to consider pairing my existing Hive controller/thermostat to my Zigbee network thus re-purposing the Hive equipment already installed.
There appears to be little information on the actual nuts and bolts of this, so rather cautiously I decided to purchase a used Hive heating setup from an internet auction site, and set up a test Hive system connected to my home Zigbee network. I considered this preferable to experimenting on my working controller which is still connected to Hive (for the moment) probably resulting in lots of heating down-time! Not good at this time of the year!
I am glad I went for a test setup, as pairing the Hive SLR2 with zigbee2MQTT is the easy bit. Actually controlling it has taken some trial and error.
I have written up my testing notes and have also created a node-RED flow to assist with testing and Domoticz integration. I have made it available at https://github.com/roadsnail/Hive-SLR2- ... h-node-RED for anyone interested in doing the same and already have zigbee2MQTT and node-RED installed.
Having run my test Hive hardware in parallel with the BG Hive controlled setup for about 1 week, I am about to take the plunge into making the changeover complete. I may update this thread with my experiences assuming it doesn't go badly wrong and I freeze to death!
Initially, I integrated Hive into my domoticz setup using scripts inspired by MikeF lua scripts. I then progressed on to the Hive plugin maintained by imcfarla, forked and modified for my own use. This has served me reasonably well, however I have never been completely happy controlling my heating by connecting out to Hive's cloud infrastructure and being reliant on British Gas not changing API's!
Meanwhile, more recently, I have added zigbee2mqtt (from Koenkk) to my setup as my Zigbee network slowly expanded. While Zigbee to Domoticz is handled by the zigbee2mqtt plugin from stas-demidyuk hosted at https://github.com/stas-demydiuk/domoti ... qtt-plugin
My existing Hive bulbs and power plug have been reset and paired with my Zigbee network, thus leaving just the Hive heating hub/thermostat connected to the Hive 'cloud'.
Earlier this month British Gas changed the authentication method used to connect to the Hive cloud and at this point, so I made the decision to either ditch the Hive controller for an alternative, make my own (probably wi-fi connected) controller or attempt to pair my existing Hive controller with my Zigbee network and control it locally via zigbee2MQTT/domoticz.
After a bit of research, I discovered Koenkk's excellent zigbee2MQTT project (https://github.com/Koenkk/zigbee2mqtt) now supports the Hive Active central heating/hot water controller (SLR2) and its associated thermostat (in my case the SLT2).
This introduction of zigbee2MQTT Hive SLR2 support led me to consider pairing my existing Hive controller/thermostat to my Zigbee network thus re-purposing the Hive equipment already installed.
There appears to be little information on the actual nuts and bolts of this, so rather cautiously I decided to purchase a used Hive heating setup from an internet auction site, and set up a test Hive system connected to my home Zigbee network. I considered this preferable to experimenting on my working controller which is still connected to Hive (for the moment) probably resulting in lots of heating down-time! Not good at this time of the year!
I am glad I went for a test setup, as pairing the Hive SLR2 with zigbee2MQTT is the easy bit. Actually controlling it has taken some trial and error.
I have written up my testing notes and have also created a node-RED flow to assist with testing and Domoticz integration. I have made it available at https://github.com/roadsnail/Hive-SLR2- ... h-node-RED for anyone interested in doing the same and already have zigbee2MQTT and node-RED installed.
Having run my test Hive hardware in parallel with the BG Hive controlled setup for about 1 week, I am about to take the plunge into making the changeover complete. I may update this thread with my experiences assuming it doesn't go badly wrong and I freeze to death!