Last active
September 10, 2022 04:31
-
-
Save neilgupta/740c822395a1337598023a2f46bf230c to your computer and use it in GitHub Desktop.
Home Assistant Hiome Configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# connect to Hiome Core | |
# if your OS cannot resolve hiome.local, install mDNS (Bonjour) support | |
# or use Hiome Core's IP address | |
mqtt: | |
broker: hiome.local | |
port: 1883 | |
client_id: home-assistant | |
keepalive: 60 | |
# add each room as a sensor | |
sensor livingroom: | |
- platform: mqtt | |
state_topic: "hs/1/com.hiome/room_<room id>/occupancy" | |
name: 'Living Room Occupancy' | |
unit_of_measurement: "people" | |
value_template: "{{ value_json.val }}" | |
qos: 1 | |
sensor bedroom: | |
- platform: mqtt | |
state_topic: "hs/1/com.hiome/room_<room id>/occupancy" | |
name: 'Bedroom Occupancy' | |
unit_of_measurement: "people" | |
value_template: "{{ value_json.val }}" | |
qos: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment