As promised... here is a more secure revision using ssl with a self signed cert. If your using a valid cert you can use
verify_ssl: true
YAML:
# RESTful api
rest_command:
bi_profile_away:
url: "https://192.168.10.13:443/admin?profile=2&lock=2"
method: get
content_type: "application/x-www-form-urlencoded"
username: HomeAssistant
password: 123password.HA
verify_ssl: false
bi_profile_home:
url: "https://192.168.10.13:443/admin?profile=-1"
method: get
content_type: "application/x-www-form-urlencoded"
username: HomeAssistant
password: 123password.HA
verify_ssl: false
Last edited: