node-red-contrib-geniushub v0.1.0
node-red-contrib-geniushub
A collection of Node-RED nodes to control the Genius Hub heating system.
Installation
Install directly from your Node-RED's setting pallete.
You will need a token to use in the configuration of the nodes. You can create one here https://my.geniushub.co.uk/tokens by logging in with you Genius Hub credentials and clicking the + button. Note that you can set the Expiration Date to date up to a year from now. You will need to Renew the token when it expires by clicking the Renew button next to it.
Nodes
Both nodes take a command through the input topic and when they output a message they set the output topic to the topic passed in. The commands are case insensitive.
whole house
This node represents the Genius Hub Whole House. It supports the following commands:
getZones- outputs the full state of all the zones, see https://my.geniushub.co.uk/docs#operation/getZones for the schema of the outputpayload.getSummary- outputs theidandnamefor each zone, see https://my.geniushub.co.uk/docs#operation/getZonesSummary for the schema of the outputpayload.getTemperature- outputs the temperature in Celcius as a real number.off- turns off all theradiatorzones.restore- restores the state of allradiatorzones that were turned off by theoffcommand.
zone
This node represents a single Genius Hub zone. It supports the following commands:
getStatus- outputs the full state of the zone, see https://my.geniushub.co.uk/docs#operation/getZone for the schema of the outputpayloadgetTemperature- outputs the temperature in Celcius as a real number.getMode- outputs the current mode as one of the following stringsoff,timer,footprint, andoverride.getSetpoint- outputs the temperature that the zone has been set to in Celcius as a real number.getOverride- outputs the current override, see https://my.geniushub.co.uk/docs#operation/getZoneOverrideSettings for the schema of the outputpayload.getOccupied- outputstrueif the zone is occupied andfalseif it is not.getTimerSchedule- outputs the weekly schedule of the timer, see https://my.geniushub.co.uk/docs#operation/getZoneTimerSchedule for the schema of the outputpayload. (Note that this currently returns an error 500).getFootprintSchedule- outputs the weekly schedule created by the footprint feature, see https://my.geniushub.co.uk/docs#operation/getZoneFootprintSchedule for the schema of the outputpayload.off- set the zone to theoffmode.timer- set the zone to thetimermode.footprint- set the zone to thefootprintmode,override- set an override for the zone. Thepayloadcan contain asetpointin Celcius and adurationin seconds, If either are omitted the current override will be updated. If there is nopayloadthe default override will be set.
Known Issues
- The
whole houseoffcommand only turns of zones with the typeradiator. Please let me know the zonetypeof any other zones that should be turned off by this. - The
whole houserestorecommand will only undo what was done by a precedingoffcommand. It will not be able to undo an off that has been done through the Genius Hub app or web site. - According to the documentation at https://my.geniushub.co.uk/docs#
whole housegetSummaryshould return thetypeas well as theidandnameof a zone but unfortunately it doesn't. - The
whole housegetTimerSchedulecommand currently return an HTTP error 500 as that is what it gets from the Genius Hub cloud. Can this be confirmed as in issue?
Example Flows


5 years ago