Z-Wave devices of the following types should create entities in Home Assistant:
- Z-Wave Barrier Operator (as Home Assistant cover)
- Z-Wave Battery (as Home Assistant sensor)
- Z-Wave Door Lock (as Home Assistant lock)
- Z-Wave Sensor Binary (as Home Assistant binary sensor)
- Z-Wave Switch (as Home Assistant switch)
- Z-Wave Switch Binary (as Home Assistant switch)
- Z-Wave Switch Multilevel (as Home Assistant light)
- Z-Wave Central Scene (as Home Assistant event - see below)
HomeSeer Events will be created as Home Assistant scenes (triggering the scene in Home Assistant will run the HomeSeer event).
HomeSeer devices of the type "Z-Wave Central Scene" will not create an entity in Home Assistant; instead, when a Central Scene device is updated in HomeSeer, this component will fire an event on the Home Assistant event bus which can be used in Automations.
event_type
: homeseer_event
event_data
:
id
: Device Ref of the Central Scene device in HomeSeer.event
: Numeric value of the Central Scene device in HomeSeer for a given event.
- Enable the ASCII connection in HomeSeer (required to receive device updates in Home Assistant).
- Create the directory
custom_components
inside your Home Assistant config directory. cd
into thecustom_components
directory and dogit clone https://github.com/marthoc/homeseer
.- Add the below config to your configuration.yaml and restart Home Assistant.
- Problems with certain devices (i.e. not supported yet) will be reported in the debug logs for the component/pyHS3.
- Stop Home Assistant
cd
into thecustom_components/homeseer
directory and dogit pull
.- Start Home Assistant
homeseer:
host: 192.168.1.10
http_port: 80
ascii_port: 11000
username: default
password: default
location_names: False
allow_events: True
Parameter | Description | Required/Optional |
---|---|---|
host | IP address of the HomeSeer HS3 HomeTroller | Required |
port | HTTP port of the HomeTroller | Optional, default 80 |
ascii_port | ASCII port of the HomeTroller | Optional, default 11000 |
username | Username of the user to connect to the HomeTroller | Optional, default "default" |
password | Password of the user to connect to the HomeTroller | Optional, default "default" |
location_names | Append location2 + location to device name (see below) | Optional, default False |
allow_events | Create Home Assistant scenes for HomeSeer events | Optional, default True |
By default entities will be named only the name of the device in HomeSeer. If you want the location2 + location fields to be appended to the name, set location_names to True.
Example:
- HomeSeer location2 "Main Floor"
- HomeSeer location "Living Room"
- HomeSeer device name "Lamp"
Result:
- location_names = False: Home Assistant entity will be called "Lamp"
- location_names = True: Home Assistant entity will be called "Main Floor Living Room Lamp"