Hi
Here is how i did the set up in HomeAssistant to get status from the Versure to Indigo, in this case the Yaledoorman locks
I will start with just the status from HA to Indigo in this post, and later i will make one on how i did to trigger lock/unlock from Indigo to HA
Just to let you know, i have no experiece on Home Assistant, i just looked at some yputube videos and some trial and errors
This is how i did it, i know there are several other ways, but this is working for me.
(In HA there is confiration and configurator these are two different this
1. Set up an rasberry Pi with Hassio, just follow the insturction in this link
https://www.home-assistant.io/getting-started/2. Open a browser and enter
http://IP_OFF_RasberyPI:8123 and log in Click on Hass.io and then Add-On-Store, find, install and start
-Configurator, before start set "show in sidebar" to ON
-Node-RED, before you start Node Red you need to change add a credential secret between the "" in the config on the same page just scroll down and you see it
4. Click on "Configurator" in the left corner click on the folder and find file configuration.yaml and click it
at the bottom of the configuration file you should paste the following (Make sure you have a emty line over this code)
- Code: Select all
verisure:
username: your_username
password: your_password
alarm: false
default_lock_code: 123456
code_digits: 6
Then Save
(If you want to read more on HomeAssistant Verisure plugin
https://www.home-assistant.io/integrations/verisure/ )
5. Click in the bottom left corner on your name and enable "advanced mode"
6. Click on Configuration then Server Control then "check config", you should get a green "Configuration Valid"
7. Lower on the same page, click Restart under Server management and wait for it to reboot
8. Make av variable in Indigo, for example lock1
9. Open Node-RED from Hass.io and drag and drop "event: state" then doubble click it and enter in "Entity ID" lock. and you should see you lock for example lock.backdoor in a dropdown, click on your lock then on "Done"
10. Still in Node RED, drag and drop "http request" and dubble click on it. set the following settings
-Method = PUT
-URL =
http://INDIGO-IP:8176/variables/lock1_status?_&value={{{payload}}}
-Use authentification = yes
- Type = digest authentification
-Username = your indigo username
-Password = your indigo password
and click Done
11. Connect the two boxes in node red by "draw a line between the from the right side of "event state" to the left side of "http request"
Then press "Deploy" in the right upper corner
Done
You shold now have a variable in Indigo that shows the status of the yaledoorman locks