Concerning the end of line character if using windows to edit the files,
it can also be fixed whith the dos2unix tool.
I added the following lines in order to force API password usage:
homeassistant:
auth_providers:
- type: legacy_api_password
http:
api_password: !secret http_password
The search scripts work fine but I fails to issue the curl command to
homeassistant.
If I put the following in the script I get a 405 error:
curl -X POST -d '{"state":"'"${art_id}"'"}'
http://myserver.duckdns.org:8123/api/states/sensor.art_ID?api_password=API_password
If I change to curl -X POST -d '{"state":"'"${art_id}"'"}'
http://myserver.duckdns.org/api/states/sensor.art_ID?api_password=API_password,
I end up with a 401 error.
------------------------------------------------------------------------
kalimeroo's Profile: http://forums.slimdevices.com/member.php?userid=68671
View this thread: http://forums.slimdevices.com/showthread.php?t=109273
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins