I have added the Home Assistant integration via MQTT. The advantage over using APIs for integration is that this way the configuration needed on the HA side is minimal. PiHome will automatically broadcast over MQTT all the entity definitions needed to setup and then update the following HA entities:
PiHome CPU Usage - sensor
PiHome CPU Load (1m, 5m and 15m) - sensors
PiHome CPU temperature - sensor
PiHome Memory Use - sensor
PiHome Swap Usage - sensor
PiHome Disk Use - sensor
PiHome Host Ip - sensor
PiHome Last Boot - sensor
PiHome Network throughput (up & down) - sensors
PiHome Wifi Strength - sensor
Boiler Status - binary sensor
Climate entity for each zone defined in PiHome
Away Status (this is the same for all zones)
Zone Current Temperature (for each zone)
Zone Target Temperature (for each zone)
Zone Current Mode (for each zone)
Zone Current Status (for each zone)
Zone Boost (for each zone)
Zone Override (for each zone)
Zone sensor battery percentage (for each zone using a MySensor sensor)
Zone sensor battery voltage (for each zone using a MySensor sensor)
The climate entities allow to trigger the PiHome Boost function (Aux Heat in Home Assistant) for each zone, enable or disable the PiHome Away status and adjust the target temperature for each zone. When the target temperature of a zone is adjusted in Home Assistant the Override mode is triggered in PiHome with the new target temperature. When installing this add-on a change will be made to the PiHome Override mode logic: the Override mode will automatically be disabled when a new schedule for the zone starts.
Compared to the previous pull request I have now implemented the use of Home Assistant Climate entities (instead of sensors), this will facilitate the port to MaxAir as all HVAC functions are supported.
Installation is handled by the bash install.sh script this will: install the Phyton modules needed, create and enable a service for autostart Start service.
Hello all,
I have added the Home Assistant integration via MQTT. The advantage over using APIs for integration is that this way the configuration needed on the HA side is minimal. PiHome will automatically broadcast over MQTT all the entity definitions needed to setup and then update the following HA entities:
The climate entities allow to trigger the PiHome Boost function (Aux Heat in Home Assistant) for each zone, enable or disable the PiHome Away status and adjust the target temperature for each zone. When the target temperature of a zone is adjusted in Home Assistant the Override mode is triggered in PiHome with the new target temperature. When installing this add-on a change will be made to the PiHome Override mode logic: the Override mode will automatically be disabled when a new schedule for the zone starts.
Compared to the previous pull request I have now implemented the use of Home Assistant Climate entities (instead of sensors), this will facilitate the port to MaxAir as all HVAC functions are supported.
Installation is handled by the bash install.sh script this will: install the Phyton modules needed, create and enable a service for autostart Start service.