Have a look at my last post. Might be helpful
Just started using Home Assistant on a pi a couple of days ago, so apologies for stupid question. This might not be the right topic for newbies.
Thought Iād try the Hive integration, and monitor what the thermostat is doing.
I found https://www.home-assistant.io/integrations/hive/ and have edited the configuration.yaml file as instructed. But what else do I need to do? The page implies that thatās it, but surely there is some software to install?
There doesnāt seem to be a Hive integration to chose from the Supervisor pageā¦
Hi @SianiAnni
There currently are two versions of the Hive Integration and the standard instructions are correct for the built in version, which is included as standard in Home Assistant.
However at the beginning of the week, as many of us discovered, Hive made changes to their āunsupportedā API and everything stopped responding.
I think most of us have therefore installed a custom version of the Hive Integration. The only working version is current a beta version (beta 25) and details of how to install it are found here - https://github.com/Pyhive/HA-Hive-Custom-Component.
I recommend installing HACS as suggested and then from there you can install the beta 25 version of Hive. I then recommend installing the Hive Integration via the UI from the Integrations Menu. There youāll be asked to enter you username, password etc for Hive. If you have these configured in the configuration.yaml, it is probably worth removing them first. A restart of Home Assistant between each step is also required (one after removing the Hive settings from the configuration.yaml, then after HACS, then after installing Hive through HACS. Then you should find Home Assistant loads all your devices.
The beta version was forced into mainstream use earlier this week and there are one or two bugs which are being actively discussed here.
If you need any help just ask.
Have fun!
Kevin
Could I see you NR flow for this also please?
Hi. I have the HACS beta version installed, but itās not showing up in my integrations list.
Any ideas?
I have removed the configuration.yaml login details from the original integration, done restarts etc, but I canāt see the HACS version even though HACS tells me itās installed.
Thanks
Try Clearing your browser cache some people have said that this fixes the issue.
[{"id":"3fee7e.ee0c5182","type":"tab","label":"Export Heat on Demand","disabled":false,"info":""},{"id":"f4b7f634.9f0308","type":"server-state-changed","z":"3fee7e.ee0c5182","name":"Boys Room TRV State Change","server":"ece88ceb.d510e","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"climate.joshuas_room","entityidfiltertype":"exact","outputinitially":true,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":false,"x":490,"y":500,"wires":[["7af4e565.ab696c"]]},{"id":"3cd05842.708758","type":"time-range-switch","z":"3fee7e.ee0c5182","name":"","lat":"","lon":"","startTime":"19:00","endTime":"05:30","startOffset":0,"endOffset":0,"x":1050,"y":440,"wires":[["bca2b26.d1c585","a18fae72.d5862"],["cd4c8fd8.2d5a1"]]},{"id":"7af4e565.ab696c","type":"template","z":"3fee7e.ee0c5182","name":"Clean Output","field":"customstate","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"{\n \"oldstate\": \"{{data.old_state.attributes.hvac_action}}\",\n \"newstate\": \"{{data.new_state.attributes.hvac_action}}\"\n}","output":"json","x":770,"y":560,"wires":[["71c00c70.576474"]]},{"id":"71c00c70.576474","type":"switch","z":"3fee7e.ee0c5182","name":"TRV HVAC intent","property":"customstate","propertyType":"msg","rules":[{"t":"jsonata_exp","v":"$contains(customstate.oldstate, 'idle') and\t$contains(customstate.newstate, 'heating')","vt":"jsonata"},{"t":"jsonata_exp","v":"$contains(customstate.oldstate, 'heating') and\t$contains(customstate.newstate, 'heating')","vt":"jsonata"},{"t":"jsonata_exp","v":"$contains(customstate.oldstate, 'heating') and\t$contains(customstate.newstate, 'idle')","vt":"jsonata"},{"t":"jsonata_exp","v":"$contains(customstate.oldstate, 'idle') and\t$contains(customstate.newstate, 'idle')","vt":"jsonata"}],"checkall":"true","repair":false,"outputs":4,"x":970,"y":560,"wires":[["3ef08b99.364fd4"],["3ef08b99.364fd4"],["cd4c8fd8.2d5a1"],["cd4c8fd8.2d5a1"]]},{"id":"a327f350.8317c","type":"debug","z":"3fee7e.ee0c5182","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":2010,"y":460,"wires":[]},{"id":"85963caf.5dbf5","type":"function","z":"3fee7e.ee0c5182","name":"Add Cold Zone","func":"globaltrvs = global.get('trvs')||[];\n\nif (globaltrvs.includes(msg.data.entity_id)){\n // Yes, it's there\n}\nelse {\n globaltrvs.push(msg.data.entity_id);\n}\n\nglobal.set('trvs', globaltrvs);\nmsg.trvs = globaltrvs;\n\nreturn msg;","outputs":1,"noerr":0,"x":1500,"y":500,"wires":[["acb0379d.5f6118"]]},{"id":"cd4c8fd8.2d5a1","type":"function","z":"3fee7e.ee0c5182","name":"Remove Cold Zone","func":"globaltrvs = global.get('trvs')||[];\nvar i;\nfor (i = 0; i < globaltrvs.length; i++) {\n if(globaltrvs[i] === msg.data.entity_id){\n globaltrvs.splice(i);\n break\n }\n}\n\nglobal.set('trvs', globaltrvs);\nmsg.trvs = globaltrvs;\n\nreturn msg;","outputs":1,"noerr":0,"x":1490,"y":580,"wires":[["acb0379d.5f6118"]]},{"id":"b50b688.08f2898","type":"switch","z":"3fee7e.ee0c5182","name":"Check Temp 0.2 < target temp","property":"msg.data.new_state.attributes.current_temperature + 0.2","propertyType":"jsonata","rules":[{"t":"lt","v":"data.new_state.attributes.temperature","vt":"msg"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":1530,"y":420,"wires":[["85963caf.5dbf5"],[]]},{"id":"7acaa97a.331b98","type":"inject","z":"3fee7e.ee0c5182","name":"Inject boys room heating on","props":[{"p":"payload","v":"auto","vt":"str"},{"p":"topic","v":"climate.boys_room","vt":"string"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"climate.boys_room","payload":"auto","payloadType":"str","x":340,"y":620,"wires":[["a250ceec.84f52"]]},{"id":"91482bc2.12d1a8","type":"change","z":"3fee7e.ee0c5182","name":"heating off","rules":[{"t":"set","p":"data","pt":"msg","to":"{\"entity_id\":\"climate.boys_room\",\"old_state\":{\"entity_id\":\"climate.boys_room\",\"state\":\"auto\",\"attributes\":{\"hvac_modes\":[\"auto\",\"heat\",\"off\"],\"min_temp\":5,\"max_temp\":32,\"preset_modes\":[\"none\",\"boost\"],\"current_temperature\":19.1,\"temperature\":19.5,\"hvac_action\":\"heating\",\"preset_mode\":null,\"mode\":\"SCHEDULE\",\"friendly_name\":\"Boys Room\",\"supported_features\":17},\"last_changed\":\"2020-02-24T16:00:10.088781+00:00\",\"last_updated\":\"2020-02-25T22:42:36.910427+00:00\",\"context\":{\"id\":\"d919e37bd2f34496a574eddb9555a0fb\",\"parent_id\":null,\"user_id\":null}},\"new_state\":{\"entity_id\":\"climate.boys_room\",\"state\":\"auto\",\"attributes\":{\"hvac_modes\":[\"auto\",\"heat\",\"off\"],\"min_temp\":5,\"max_temp\":32,\"preset_modes\":[\"none\",\"boost\"],\"current_temperature\":19.6,\"temperature\":19.5,\"hvac_action\":\"idle\",\"preset_mode\":null,\"mode\":\"SCHEDULE\",\"friendly_name\":\"Boys Room\",\"supported_features\":17},\"last_changed\":\"2020-02-24T16:00:10.088781+00:00\",\"last_updated\":\"2020-02-25T22:42:36.910427+00:00\",\"context\":{\"id\":\"d919e37bd2f34496a574eddb9555a0fb\",\"parent_id\":null,\"user_id\":null},\"timeSinceChangedMs\":110753167}}","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":570,"y":660,"wires":[["7af4e565.ab696c"]]},{"id":"b9809aa4.4b5b58","type":"inject","z":"3fee7e.ee0c5182","name":"Inject living room heating on","repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"climate.living_room","payload":"auto","payloadType":"str","x":340,"y":720,"wires":[["6dc39c8a.a8afa4"]]},{"id":"6dc39c8a.a8afa4","type":"change","z":"3fee7e.ee0c5182","name":"","rules":[{"t":"set","p":"data","pt":"msg","to":"{\"entity_id\":\"climate.living_room\",\"old_state\":{\"entity_id\":\"climate.living_room\",\"state\":\"auto\",\"attributes\":{\"hvac_modes\":[\"auto\",\"heat\",\"off\"],\"min_temp\":5,\"max_temp\":32,\"preset_modes\":[\"none\",\"boost\"],\"current_temperature\":19.4,\"temperature\":19.5,\"hvac_action\":\"idle\",\"preset_mode\":null,\"mode\":\"SCHEDULE\",\"friendly_name\":\"Boys Room\",\"supported_features\":17},\"last_changed\":\"2020-02-24T16:00:10.088781+00:00\",\"last_updated\":\"2020-02-25T22:42:36.910427+00:00\",\"context\":{\"id\":\"d919e37bd2f34496a574eddb9555a0fb\",\"parent_id\":null,\"user_id\":null}},\"new_state\":{\"entity_id\":\"climate.boys_room\",\"state\":\"auto\",\"attributes\":{\"hvac_modes\":[\"auto\",\"heat\",\"off\"],\"min_temp\":5,\"max_temp\":32,\"preset_modes\":[\"none\",\"boost\"],\"current_temperature\":19.1,\"temperature\":19.5,\"hvac_action\":\"heating\",\"preset_mode\":null,\"mode\":\"SCHEDULE\",\"friendly_name\":\"Boys Room\",\"supported_features\":17},\"last_changed\":\"2020-02-24T16:00:10.088781+00:00\",\"last_updated\":\"2020-02-25T22:42:36.910427+00:00\",\"context\":{\"id\":\"d919e37bd2f34496a574eddb9555a0fb\",\"parent_id\":null,\"user_id\":null},\"timeSinceChangedMs\":110753167}}","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":570,"y":720,"wires":[["7af4e565.ab696c"]]},{"id":"a250ceec.84f52","type":"change","z":"3fee7e.ee0c5182","name":"heating on","rules":[{"t":"set","p":"data","pt":"msg","to":"{\"entity_id\":\"climate.boys_room\",\"old_state\":{\"entity_id\":\"climate.boys_room\",\"state\":\"auto\",\"attributes\":{\"hvac_modes\":[\"auto\",\"heat\",\"off\"],\"min_temp\":5,\"max_temp\":32,\"preset_modes\":[\"none\",\"boost\"],\"current_temperature\":19.5,\"temperature\":19.5,\"hvac_action\":\"idle\",\"preset_mode\":null,\"mode\":\"SCHEDULE\",\"friendly_name\":\"Boys Room\",\"supported_features\":17},\"last_changed\":\"2020-02-24T16:00:10.088781+00:00\",\"last_updated\":\"2020-02-25T22:42:36.910427+00:00\",\"context\":{\"id\":\"d919e37bd2f34496a574eddb9555a0fb\",\"parent_id\":null,\"user_id\":null}},\"new_state\":{\"entity_id\":\"climate.boys_room\",\"state\":\"auto\",\"attributes\":{\"hvac_modes\":[\"auto\",\"heat\",\"off\"],\"min_temp\":5,\"max_temp\":32,\"preset_modes\":[\"none\",\"boost\"],\"current_temperature\":19.1,\"temperature\":19.5,\"hvac_action\":\"heating\",\"preset_mode\":null,\"mode\":\"SCHEDULE\",\"friendly_name\":\"Boys Room\",\"supported_features\":17},\"last_changed\":\"2020-02-24T16:00:10.088781+00:00\",\"last_updated\":\"2020-02-25T22:42:36.910427+00:00\",\"context\":{\"id\":\"d919e37bd2f34496a574eddb9555a0fb\",\"parent_id\":null,\"user_id\":null},\"timeSinceChangedMs\":110753167}}","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":570,"y":620,"wires":[["7af4e565.ab696c"]]},{"id":"ab8dd6c8.9238b8","type":"switch","z":"3fee7e.ee0c5182","name":"","property":"coldspots","propertyType":"msg","rules":[{"t":"gt","v":"0","vt":"str"},{"t":"eq","v":"0","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":1930,"y":640,"wires":[["c06d5f93.a0198"],["a25b5193.d57ec"]]},{"id":"c06d5f93.a0198","type":"debug","z":"3fee7e.ee0c5182","name":"Cold spots debug","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"\"There are cold spots\"","targetType":"jsonata","x":2170,"y":640,"wires":[]},{"id":"a25b5193.d57ec","type":"debug","z":"3fee7e.ee0c5182","name":"No Cold spots debug","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"\"No cold spots\"","targetType":"jsonata","x":2180,"y":700,"wires":[]},{"id":"acb0379d.5f6118","type":"function","z":"3fee7e.ee0c5182","name":"Number of cold spots","func":"coldspots = global.get('trvs')||[];\nmsg.coldspots = coldspots.length\n\nreturn msg;\n","outputs":1,"noerr":0,"x":1720,"y":540,"wires":[["ab8dd6c8.9238b8","a327f350.8317c","397c6bc5.ead2d4"]]},{"id":"10db163d.5013ba","type":"inject","z":"3fee7e.ee0c5182","name":"Inject boys room heating on","repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"climate.boys_room","payload":"auto","payloadType":"str","x":340,"y":660,"wires":[["91482bc2.12d1a8"]]},{"id":"ea6b06ac.168768","type":"inject","z":"3fee7e.ee0c5182","name":"Inject living room heating off","repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"climate.living_room","payload":"auto","payloadType":"str","x":340,"y":780,"wires":[["18a3bfc5.0f00a"]]},{"id":"18a3bfc5.0f00a","type":"change","z":"3fee7e.ee0c5182","name":"","rules":[{"t":"set","p":"data","pt":"msg","to":"{\"entity_id\":\"climate.living_room\",\"old_state\":{\"entity_id\":\"climate.living_room\",\"state\":\"auto\",\"attributes\":{\"hvac_modes\":[\"auto\",\"heat\",\"off\"],\"min_temp\":5,\"max_temp\":32,\"preset_modes\":[\"none\",\"boost\"],\"current_temperature\":19.4,\"temperature\":19.5,\"hvac_action\":\"heating\",\"preset_mode\":null,\"mode\":\"SCHEDULE\",\"friendly_name\":\"Boys Room\",\"supported_features\":17},\"last_changed\":\"2020-02-24T16:00:10.088781+00:00\",\"last_updated\":\"2020-02-25T22:42:36.910427+00:00\",\"context\":{\"id\":\"d919e37bd2f34496a574eddb9555a0fb\",\"parent_id\":null,\"user_id\":null}},\"new_state\":{\"entity_id\":\"climate.boys_room\",\"state\":\"auto\",\"attributes\":{\"hvac_modes\":[\"auto\",\"heat\",\"off\"],\"min_temp\":5,\"max_temp\":32,\"preset_modes\":[\"none\",\"boost\"],\"current_temperature\":19.6,\"temperature\":19.5,\"hvac_action\":\"idle\",\"preset_mode\":null,\"mode\":\"SCHEDULE\",\"friendly_name\":\"Boys Room\",\"supported_features\":17},\"last_changed\":\"2020-02-24T16:00:10.088781+00:00\",\"last_updated\":\"2020-02-25T22:42:36.910427+00:00\",\"context\":{\"id\":\"d919e37bd2f34496a574eddb9555a0fb\",\"parent_id\":null,\"user_id\":null},\"timeSinceChangedMs\":110753167}}","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":570,"y":780,"wires":[["7af4e565.ab696c"]]},{"id":"c34d9e63.476f3","type":"switch","z":"3fee7e.ee0c5182","name":"Check Boost and TRV Status","property":"msg","propertyType":"env","rules":[{"t":"jsonata_exp","v":"coldspots = 0 and\tdata.attributes.preset_mode = 'boost'","vt":"jsonata"},{"t":"jsonata_exp","v":"coldspots > 0 and\t$contains(data.attributes.hvac_action, 'heating')","vt":"jsonata"},{"t":"jsonata_exp","v":"coldspots > 0 and\t$contains(data.attributes.hvac_action, 'idle')","vt":"jsonata"},{"t":"jsonata_exp","v":"coldspots = 0 and\t$contains(data.attributes.hvac_action, 'idle')","vt":"jsonata"},{"t":"jsonata_exp","v":"coldspots = 0 and\t$contains(data.attributes.hvac_action, 'heating')","vt":"jsonata"},{"t":"else"}],"checkall":"false","repair":false,"outputs":6,"x":2220,"y":540,"wires":[["58389f1f.b5e58","b01f442d.fa8118"],[],["eec39029.f56da","cf7e40ec.ece11"],["7499ab7a.1cacc4","5a7d5651.419598","8e6ed7e5.3985c8"],[],[]]},{"id":"397c6bc5.ead2d4","type":"api-current-state","z":"3fee7e.ee0c5182","name":"Get Heating State","server":"ece88ceb.d510e","version":1,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"climate.heating","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":1970,"y":540,"wires":[["c34d9e63.476f3"]]},{"id":"eec39029.f56da","type":"debug","z":"3fee7e.ee0c5182","name":"debug new boost","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"\"Version 2: Boost Heating\"","targetType":"jsonata","x":2550,"y":500,"wires":[]},{"id":"58389f1f.b5e58","type":"debug","z":"3fee7e.ee0c5182","name":"debug new cancel boost","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"\"Version 2: Cancel Boost Heating\"","targetType":"jsonata","x":2530,"y":400,"wires":[]},{"id":"71bc764.ba0aa88","type":"api-call-service","z":"3fee7e.ee0c5182","d":true,"name":"Boost Heating","server":"ece88ceb.d510e","version":1,"debugenabled":false,"service_domain":"climate","service":"set_preset_mode","entityId":"climate.heating","data":"{\"preset_mode\":\"boost\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":2840,"y":580,"wires":[["fb572f43.a803b","187774d2.253a9b","8461fcc5.5a628","642c4945.876368"]]},{"id":"5d9d6806.1ea268","type":"api-call-service","z":"3fee7e.ee0c5182","name":"Cancel Heating Boost","server":"ece88ceb.d510e","version":1,"debugenabled":false,"service_domain":"climate","service":"set_preset_mode","entityId":"climate.heating","data":"{\"preset_mode\":\"none\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":2860,"y":440,"wires":[["1f6462a9.38f42d","6872f35f.0404ac"]]},{"id":"fb572f43.a803b","type":"change","z":"3fee7e.ee0c5182","name":"Set Boost Reason","rules":[{"t":"set","p":"boostreason","pt":"global","to":"trv","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":3050,"y":580,"wires":[["4928b62c.b4ddd8"]]},{"id":"b01f442d.fa8118","type":"switch","z":"3fee7e.ee0c5182","name":"Verify boost is active because of TRV","property":"boostreason","propertyType":"global","rules":[{"t":"eq","v":"trv","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":2570,"y":440,"wires":[["5d9d6806.1ea268"]]},{"id":"1f6462a9.38f42d","type":"change","z":"3fee7e.ee0c5182","name":"Clear boost reason","rules":[{"t":"set","p":"boostreason","pt":"global","to":"","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":3090,"y":440,"wires":[["f00885c6.cacf78"]]},{"id":"d7350ef0.c5ca8","type":"server-state-changed","z":"3fee7e.ee0c5182","name":"Bedroom TRV State Change","server":"ece88ceb.d510e","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"climate.bedroom","entityidfiltertype":"exact","outputinitially":true,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":false,"x":500,"y":560,"wires":[["7af4e565.ab696c"]]},{"id":"7499ab7a.1cacc4","type":"switch","z":"3fee7e.ee0c5182","name":"Check boost reason flag","property":"boostreason","propertyType":"global","rules":[{"t":"eq","v":"trv","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":2550,"y":680,"wires":[["6aacd4b.05c742c"]],"info":"doing this step because if we are outside the schedule could be in a state where the trvreason flag is still defined and wasnt cleared"},{"id":"6aacd4b.05c742c","type":"change","z":"3fee7e.ee0c5182","name":"Clear boost reason","rules":[{"t":"set","p":"boostreason","pt":"global","to":"","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":2790,"y":680,"wires":[[]]},{"id":"5a7d5651.419598","type":"debug","z":"3fee7e.ee0c5182","name":"debug no cold spots heating idle","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"\"No cold spots, heating idle\"","targetType":"jsonata","x":2500,"y":780,"wires":[]},{"id":"4928b62c.b4ddd8","type":"api-call-service","z":"3fee7e.ee0c5182","name":"Logbook - Write update","server":"ece88ceb.d510e","version":1,"debugenabled":false,"service_domain":"logbook","service":"log","entityId":"climate.heating","data":"{\"name\":\"Heating\",\"message\":\"Heating Boost Triggered by Cold Zone: {{global.trvs}}\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":3300,"y":580,"wires":[["2075b522.73808a"]]},{"id":"f00885c6.cacf78","type":"api-call-service","z":"3fee7e.ee0c5182","name":"Logbook - Write update","server":"ece88ceb.d510e","version":1,"debugenabled":false,"service_domain":"logbook","service":"log","entityId":"climate.heating","data":"{\"name\":\"Heating\",\"message\":\"Heating Boost Cancelled, no cold zones\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":3330,"y":440,"wires":[["e41b4d3c.22102","2242a085.4e005"]]},{"id":"cf7e40ec.ece11","type":"switch","z":"3fee7e.ee0c5182","name":"Auto Boost Heating Enabled ?","property":"settings.auto_boost_heating","propertyType":"global","rules":[{"t":"true"},{"t":"false"}],"checkall":"true","repair":false,"outputs":2,"x":2570,"y":580,"wires":[["6d58fcbb.ec9d24","71bc764.ba0aa88"],[]]},{"id":"e23a79ba.b70bb8","type":"switch","z":"3fee7e.ee0c5182","name":"Check Temp 0.5 < target temp","property":"data.new_state.attributes.current_temperature","propertyType":"msg","rules":[{"t":"lt","v":"msg.data.new_state.attributes.temperature - 0.5","vt":"jsonata"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":1370,"y":680,"wires":[["263d1fb8.201a4"],[]]},{"id":"263d1fb8.201a4","type":"api-call-service","z":"3fee7e.ee0c5182","name":"","server":"ece88ceb.d510e","version":1,"debugenabled":false,"service_domain":"notify","service":"mobile_app_roberts_iphone","entityId":"","data":"{\"title\":\"It's Cold!!!\",\"message\":\"The {{friendlyname}} is too cold!: {{ data.new_state.attributes.current_temperature }}\",\"data\":{\"action_data\":{\"entity_id\":\"climate.heating\"},\"push\":{\"sound\":{\"name\":\"default\",\"critical\":1,\"volume\":1},\"thread-id\":\"critical_temperature\",\"category\":\"boostheating\"}}}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1750,"y":680,"wires":[[]]},{"id":"bf19bff1.00b04","type":"comment","z":"3fee7e.ee0c5182","name":"Check if temperature is below 0.5 when the intent is to heat the room","info":"","x":1310,"y":640,"wires":[]},{"id":"bca2b26.d1c585","type":"function","z":"3fee7e.ee0c5182","name":"Set Friendly Names","func":"names = {\n \"climate.boys_room\": \"Boys Room\",\n \"climate.bedroom\": \"Our Bedroom\",\n \"climate.living_room\": \"Living Room\",\n \"climate.playroom\": \"Play Room\"\n};\n\nmsg.friendlyname = names[msg.data.entity_id];\n\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1090,"y":680,"wires":[["e23a79ba.b70bb8"]]},{"id":"fabbc69c.d55478","type":"comment","z":"3fee7e.ee0c5182","name":"Important to check intent, stops warnings when heating is off","info":"","x":1300,"y":720,"wires":[]},{"id":"14afadcc.a7c232","type":"server-state-changed","z":"3fee7e.ee0c5182","name":"Living Room TRV State Change","server":"ece88ceb.d510e","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"climate.living_room","entityidfiltertype":"exact","outputinitially":true,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":false,"x":490,"y":440,"wires":[["7af4e565.ab696c"]]},{"id":"7c86cf25.a9202","type":"server-state-changed","z":"3fee7e.ee0c5182","d":true,"name":"Kitchen TRV State Change","server":"ece88ceb.d510e","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"climate.kitchen_test","entityidfiltertype":"exact","outputinitially":true,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":false,"x":470,"y":380,"wires":[["7af4e565.ab696c"]]},{"id":"8e4c9dcd.3d49b","type":"time-range-switch","z":"3fee7e.ee0c5182","name":"","lat":"53.7559","lon":"-1.60236","startTime":"07:00","endTime":"20:00","startOffset":0,"endOffset":0,"x":850,"y":380,"wires":[["a18fae72.d5862"],["cd4c8fd8.2d5a1"]]},{"id":"3ef08b99.364fd4","type":"switch","z":"3fee7e.ee0c5182","name":"Which Device?","property":"topic","propertyType":"msg","rules":[{"t":"eq","v":"climate.kitchen_test","vt":"str"},{"t":"eq","v":"climate.living_room","vt":"str"},{"t":"else"}],"checkall":"true","repair":false,"outputs":3,"x":800,"y":460,"wires":[["8e4c9dcd.3d49b"],["8e4c9dcd.3d49b"],["3cd05842.708758"]]},{"id":"2075b522.73808a","type":"api-call-service","z":"3fee7e.ee0c5182","name":"Notify Robert's iPhone","server":"ece88ceb.d510e","version":1,"debugenabled":false,"service_domain":"notify","service":"mobile_app_roberts_iphone","entityId":"","data":"{\"message\":\"Triggered by Cold Zone: {{global.trvs}}\",\"title\":\"Heating Boosted\",\"data\":{\"sound\":\"Suspense.caf\"}}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":3580,"y":580,"wires":[[]]},{"id":"509c209c.e186b","type":"api-call-service","z":"3fee7e.ee0c5182","name":"Start Timer heating_boost","server":"ece88ceb.d510e","version":1,"debugenabled":false,"service_domain":"timer","service":"start","entityId":"timer.heating_boost","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":3390,"y":660,"wires":[[]]},{"id":"187774d2.253a9b","type":"api-call-service","z":"3fee7e.ee0c5182","name":"Reload Timer heating_boost","server":"ece88ceb.d510e","version":1,"debugenabled":false,"service_domain":"timer","service":"cancel","entityId":"timer.heating_boost","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":3120,"y":660,"wires":[["509c209c.e186b"]]},{"id":"fe79996d.275908","type":"api-call-service","z":"3fee7e.ee0c5182","name":"Start Timer heating_boost_check_interval","server":"ece88ceb.d510e","version":1,"debugenabled":false,"service_domain":"timer","service":"start","entityId":"timer.heating_boost_check_interval","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":3560,"y":720,"wires":[[]]},{"id":"8461fcc5.5a628","type":"api-call-service","z":"3fee7e.ee0c5182","name":"Reload Timer heating_boost_check_interval","server":"ece88ceb.d510e","version":1,"debugenabled":false,"service_domain":"timer","service":"cancel","entityId":"timer.heating_boost_check_interval","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":3170,"y":720,"wires":[["fe79996d.275908"]]},{"id":"e41b4d3c.22102","type":"api-call-service","z":"3fee7e.ee0c5182","name":"Reload Timer heating_boost","server":"ece88ceb.d510e","version":1,"debugenabled":false,"service_domain":"timer","service":"cancel","entityId":"timer.heating_boost","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":3640,"y":420,"wires":[[]]},{"id":"2242a085.4e005","type":"api-call-service","z":"3fee7e.ee0c5182","name":"Reload Timer heating_boost_check_interval","server":"ece88ceb.d510e","version":1,"debugenabled":false,"service_domain":"timer","service":"cancel","entityId":"timer.heating_boost_check_interval","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":3690,"y":480,"wires":[[]]},{"id":"642c4945.876368","type":"switch","z":"3fee7e.ee0c5182","d":true,"name":"","property":"topic","propertyType":"msg","rules":[{"t":"eq","v":"climate.kitchen","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":3030,"y":520,"wires":[["2bfddedb.fa2a82"]]},{"id":"2bfddedb.fa2a82","type":"api-call-service","z":"3fee7e.ee0c5182","name":"","server":"ece88ceb.d510e","version":1,"debugenabled":false,"service_domain":"climate","service":"set_temperature","entityId":"climate.kitchen","data":"{\"temperature\":21.5}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":3260,"y":520,"wires":[["ab4a94b0.361bb8"]]},{"id":"d7478731.552708","type":"api-call-service","z":"3fee7e.ee0c5182","name":"Kitchen Set Mode Heat","server":"ece88ceb.d510e","version":1,"debugenabled":false,"service_domain":"climate","service":"set_hvac_mode","entityId":"climate.kitchen","data":"{\"hvac_mode\":\"heat\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":3870,"y":380,"wires":[["f0c69ba3.4b4288"]]},{"id":"ab4a94b0.361bb8","type":"change","z":"3fee7e.ee0c5182","name":"kitchentrvincrease","rules":[{"t":"set","p":"kitchentrvincrease","pt":"global","to":"true","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":3530,"y":540,"wires":[[]]},{"id":"8e6ed7e5.3985c8","type":"switch","z":"3fee7e.ee0c5182","name":"Check kitchentrvincrease","property":"kitchentrvincrease","propertyType":"global","rules":[{"t":"true"}],"checkall":"true","repair":false,"outputs":1,"x":2550,"y":720,"wires":[["492a7cd8.d32fc4"]],"info":"doing this step because if we are outside the schedule could be in a state where the trvreason flag is still defined and wasnt cleared"},{"id":"492a7cd8.d32fc4","type":"change","z":"3fee7e.ee0c5182","name":"Clear kitchentrvincrease","rules":[{"t":"set","p":"kitchentrvincrease","pt":"global","to":"false","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":2810,"y":720,"wires":[[]]},{"id":"6872f35f.0404ac","type":"switch","z":"3fee7e.ee0c5182","d":true,"name":"was kitchentrvincrease i.e temperature increased?","property":"kitchentrvincrease","propertyType":"global","rules":[{"t":"true"}],"checkall":"true","repair":false,"outputs":1,"x":3490,"y":380,"wires":[["d7478731.552708"]]},{"id":"f0c69ba3.4b4288","type":"api-call-service","z":"3fee7e.ee0c5182","name":"Kitchen Set Mode Auto","server":"ece88ceb.d510e","version":1,"debugenabled":false,"service_domain":"climate","service":"set_hvac_mode","entityId":"climate.kitchen","data":"{\"hvac_mode\":\"auto\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":4150,"y":380,"wires":[[]]},{"id":"a18fae72.d5862","type":"switch","z":"3fee7e.ee0c5182","name":"","property":"topic","propertyType":"msg","rules":[{"t":"eq","v":"climate.kitchen_test","vt":"str"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":1310,"y":380,"wires":[["917bb180.d3de"],["b50b688.08f2898"]]},{"id":"917bb180.d3de","type":"switch","z":"3fee7e.ee0c5182","name":"Check Temp 0.5 < target temp","property":"msg.data.new_state.attributes.current_temperature + 0.5","propertyType":"jsonata","rules":[{"t":"lt","v":"data.new_state.attributes.temperature","vt":"msg"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":1530,"y":380,"wires":[["85963caf.5dbf5"],[]]},{"id":"6d58fcbb.ec9d24","type":"api-call-service","z":"3fee7e.ee0c5182","name":"Re-boost Heating","server":"ece88ceb.d510e","version":1,"debugenabled":false,"service_domain":"hive","service":"boost_heating","entityId":"climate.heating","data":"{\"time_period\":\"00:50:00\",\"temperature\":21.5}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":2810,"y":520,"wires":[["fb572f43.a803b","187774d2.253a9b","8461fcc5.5a628","642c4945.876368"]]},{"id":"7464f711.1b2348","type":"server-state-changed","z":"3fee7e.ee0c5182","name":"Heating Auto Boost Active","server":"ece88ceb.d510e","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_boolean.auto_heating_boost","entityidfiltertype":"exact","outputinitially":true,"state_type":"str","haltifstate":"on","halt_if_type":"str","halt_if_compare":"is","outputs":2,"output_only_on_state_change":true,"x":350,"y":960,"wires":[["7efd6cd0.03da54"],["ecee3fcd.02544"]]},{"id":"7efd6cd0.03da54","type":"change","z":"3fee7e.ee0c5182","name":"global var = true","rules":[{"t":"set","p":"settings.auto_boost_heating","pt":"global","to":"true","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":600,"y":940,"wires":[["1ebe1b1a.3b4435"]]},{"id":"ecee3fcd.02544","type":"change","z":"3fee7e.ee0c5182","name":"global var = false","rules":[{"t":"set","p":"settings.auto_boost_heating","pt":"global","to":"false","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":610,"y":1000,"wires":[["1ebe1b1a.3b4435"]]},{"id":"1ebe1b1a.3b4435","type":"api-call-service","z":"3fee7e.ee0c5182","d":true,"name":"Notify Robert's iPhone","server":"ece88ceb.d510e","version":1,"debugenabled":false,"service_domain":"notify","service":"mobile_app_roberts_iphone","entityId":"","data":"{\"message\":\"Auto Boost Heating: {{global.settings.auto_boost_heating}}\",\"title\":\"Info - Setting Change\",\"data\":{\"sound\":\"US-EN-Alexa-Garage-Door-Opened.wav\"}}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":900,"y":960,"wires":[[]]},{"id":"cc51007c.366a","type":"comment","z":"3fee7e.ee0c5182","name":"Store setting in memory","info":"","x":340,"y":920,"wires":[]},{"id":"ece88ceb.d510e","type":"server","name":"Home Assistant","legacy":false,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true}]
hi si this is the first ime i have used HA and want to add hive
so i have copped the files and made the new folders have rename the files hive.py in there respective folders but they are still showing as yaml files not py how do i change the files to py
i have edited the main config file in HA to
hive:
username: xxxxxxxxxxx
password: xxxxxxxxxx
devices:
- hive_heating
- hive_hotwater
- hive_thermostat_batterylevel
- hive_heating_currenttemperature
- hive_heating_targettemperature
- hive_heating_state
- hive_heating_mode
- hive_heating_boost
- hive_hotwater_mode
- hive_hotwater_state
- hive_hotwater_boost
- hive_active_light
take it thats right ?
but HA wont find hive at all
thanks
Mark a newbie
@ha_irishā¦ Thanks for the info. Unfortunately, it doesnāt work for me.
I have been using the following sensors:
sensor.hotwater_boost
sensor.hotwater_state
sensor.hotwater_mode
The sensors donāt get updated in the realtime.
The sensors you listed are not what Iām using to grab the state change.
Iām using sensor.upstairs_boost_2 upstairs being the name of my thermostat that has the hot water feature.
See if you have anything like this.
The service calls are still being made hotwater.hot_water but the status is under sensor.upstairs_boost_2 now. At least in my case.
@ha_irish - The downstairs and upstairs are the sensors for the respective thermostats. But Iām looking for hot water sensors.
Even the thermostat sensors arenāt picking up the current state.
The hotwater sensors are in the thermostat device that has the hotwater wired to it, in my case its the downstairs thermostat so when clicking on the downstairs device in the integration it lists the heating and hotwater entities there:
water_heater.hotwater
sensor.hotwater_boost
sensor.hotwater_mode
sensor.hotwater_state
No you donāt need the devices and all the list of sensors. You just need username and password in your config yaml if you have 2fa switched on then you will get a notification prompting to compete that.
Ar ok I will.chnage that .
But when you say rename the files to hive.py I have changed mine to that but the file is still the yami file is that right ?
Thanks
Where does it say rename the the files to hive.py
I think we used to do that on a very old version. Please follow these instructions you will need to install a beta version at the minute as hive have made an authentication change which breaks the official one.
Hi.
Thanks for the update iām now on your b25 beta which works with my thermostat.
however iāve lost the sensor.current_temperature entity is this correct in this beta or am i doing something wrong ? i canāt see any mention of it missing.
I only have the dual receiver and my entities are nowā¦
climate.home
sensor.home_battery_level
water_heater.hotwater
binary_sensor.hub_online_status
Thanks again
Just loaded b25 and my Hive central heating is back working again (with a few entity name changes).
Thx for all your hard work
Everything is under different names if you look at your devices in the ha UI you can find the linked entities.
Iāve been running the Hive integration for a year or so, and up to last week itās been working OK. Now, itās showing in Lovelace as Unavailable (heating and HW) and if I click on the elipsis I get āThis entity is currently unavailable and is an orphan to a removed, changed or dysfunctional integration or device. If the entity is no longer in use, you can clean it up by removing it.ā
The configuration.yaml has not changed (hive: and the username: and password: rows). Hive credentials have not changed. Hive devices are still managed by the Hive app and website. Iāve updated to the latest HA version (and OS) in the last 48 hours or so. I came here expecting a raft of complaints that Hive had changed something in their API requiring a code update, but I seem to be alone.
Any clues please?
Iām a bit late to the party here, but have just HACS-updated to beta 25 (and kept my details unchanged in configuration.yaml
). All seems mostly to be ok, but I, too, cannot find hot water entities anywhere in the ui.
And things like
- entity: climate.downstairs
attribute: current_temperature
name: "Hive hall temperature"
produce
(ie not just the current temperature)