Wattio Smart Home platform integration for Home Assistant throught Wattio's API. This component is under development.
Currently Supported Devices: Bat, Thermic, Motion, Door, Pod and Siren
You can use this devices via HomeKit using Home Assistant's HomeKit bridge (Bat is not supported right now).
Please check CHANGELOG.md for full details.
Tested on HASS 2021.5.4
<config dir>/custom_components/wattio
directory.Add the following to your configuration.yaml
.
From version 0.2.0 the way of Wattio component is configured has been changed. If you are upgrading for a previous version you MUST CHANGE YOUR CONFIG FILE
# Wattio Platform
wattio:
scan_interval: 60
security: true
security_interval: 300
sensor_exclude: ['ieee1']
sensor_offsets: >
[
{
'sensor_iee': 'ieee',
'sensor_name': 'sensor_name',
'sensor_offset': 30,
},
]
Vars:
Var | Description |
---|---|
_scaninterval | OPTIONAL - Time (in seconds) between data updates , defaults to 30 seconds |
security | OPTIONAL - Enable or disable security devices, defaults to False |
_securityinterval | OPTIONAL - Time (in seconds) between security devices data updates, defaults to _scaninterval |
_sensorexclude | OPTIONAL - List with IEEEs to exclude, for example: ["ieee1","ieee2"] |
_sensoroffsets | OPTIONAL - List with offsets for sensors |
At first launch a new notification is shown at the UI requesting the user to configure de user id and the secret.
The configuration file "wattio.conf" is created automatically.
Change user id and secret in "wattio-conf".
User id and secret MUST be supplied by wattio team (This is not your user and password!)
After changing the configuration file, another notification should appear asking the user to authorize home assistant at wattio.
Follow the link for authorization, a page requesting username and password from Wattio should be shown.
Finally, close the notification and refresh your GUI.
Once devices has been added to HASS, first data update will take place after the configured scan_interval.