This component will set up the following platforms.
Platform | Description |
---|---|
sensor |
Adds a device state sensor, a battery level sensor and a signal sensor (disabled by default) for each device. |
siren |
Represents Elro Connects alarms as a siren. Turn the siren ON to test it. Turn it OFF to silence the (test) alarm. |
The device_state
sensor can have of the following states:
FAULT
SILENCE
TEST ALARM
FIRE ALARM
ALARM
NORMAL
UNKNOWN
OFFLINE
Note that the sensors are polled about every 15 seconds. So it might take some time before an alarm state will be propagated. If an unknown state is found that is not supported yet, the hexadecimal code will be assigned as state. Please open an issue here if a new state needs to be supported.
The siren
platform (for enabling a test alarm) was tested and is supported for Fire, Heat, CO and Water alarms.
- Install the Home Assistant Community Store (HACS).
- Add Elro Connects as custom repository. See the HACS FAQ and add
https://github.com/jbouwh/ha-elro-connects
as repository. - Select
integration
as category. - After this you should be able to add, download and install Elro Connects as a custom integration via HACS.
- When the installation via HACS is done, restart Home Assistant.
- In the HA UI go to "Configuration" -> "Integrations" click "+" and search for "Elro Connects"
- Using the tool of choice open the directory (folder) for your HA configuration (where you find
configuration.yaml
). - If you do not have a
custom_components
directory (folder) there, you need to create it. - In the
custom_components
directory (folder) create a new folder calledelro_connects
. - Download all the files from the
custom_components/elro_connects/
directory (folder) in this repository. - Place the files you downloaded in the new directory (folder) you created.
- Restart Home Assistant
- In the HA UI go to "Configuration" -> "Integrations" click "+" and search for "Elro Connects"
Using your HA configuration directory (folder) as a starting point you should now also have something like this:
- You need the IP-address and your Elro Connects cloud credentials (
username
andpassword
) to setup the integration. This will get theconnector_id
andapi_key
for local access of your connector. After the setup has finished setup, the cloud credentials will not be used during operation. - An alternative is a manual setup. For this you need to fill in the
connector_id
, leaveusername
andpassword
fields open. which can be obtained from the Elro Connects app. Go to thehome
tab and click on the settings wheel. Selectcurrent connector
. A list will be shown with your connectors. The ID starts withST_xxx...
. - The API key is probably not needed as long as it is provided by the connector locally. This behavior might change in the future.
custom_components/elro_connects/translations/en.json
custom_components/elro_connects/translations/nl.json
custom_components/elro_connects/__init__.py
custom_components/elro_connects/api.py
custom_components/elro_connects/sensor.py
custom_components/elro_connects/siren.py
custom_components/elro_connects/config_flow.py
custom_components/elro_connects/const.py
custom_components/elro_connects/manifest.json
...