Skip to content

Instantly share code, notes, and snippets.

@neilgupta
Last active September 10, 2022 04:31
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save neilgupta/740c822395a1337598023a2f46bf230c to your computer and use it in GitHub Desktop.
Save neilgupta/740c822395a1337598023a2f46bf230c to your computer and use it in GitHub Desktop.
Home Assistant Hiome Configuration
# 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