kalimeroo wrote:
> 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.
The scripts can be modified for the new long lived token if needed. But
first:
- what version of HA are you using and
- is your LMS flavour secure (you need to login) or unsecure (it just
works).
If you want a copy of a working shell script, let me know as this is
still a work in progress. I am having issues getting dialogflow to work
with HA and long lived tokens. I am getting error 206 (Malformed
response) from Google actions (dialogflow). Voice commands work, but
dialogflow isn't happy with the response from HA and as a result stops
responding.
Ynot.
(So many changes, sol little time)
*software* - logitech media server version: 7.9.1, home assistant
0.75.3, dialogflow - v.2 api, lms controls app - voice control of lms,
openmediavault 4.1.9 - storage
*add-ons* - spotty, upnp / dlna bridge, chromecast bridge,
*players* - sonos, upnp, pi3 - pi core player 3.5.0, android- sb player
v1.4.0, airplay to googlehome and minis
*hardware* - server - i7-3.4ghz, 4gb ram, 6tb storage, debian - 4.16.5
------------------------------------------------------------------------
ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569
View this thread: http://forums.slimdevices.com/showthread.php?t=109273
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins