Hi,

I am running Hassbian with Home Assistant v0.83.2. 

When running the qry_alb.sh script it returns successfully the ID number
of the artist and album (LMS server is not secured as far as I know).

The issue is on the curl POST request which returns the error 401. 

I tested :

$ curl -X POST -H "Authorization: Bearer ABCDEFGH" \
-H "Content-Type: application/json" \
-d '{"state": "25", "attributes": {"unit_of_measurement": "°C"}}'
\
http://localhost:8123/api/states/sensor.kitchen_temperature

and this worked out fine so I tryed modifying yout curl request but this
resulted in "curl illegal port number" and error 405


------------------------------------------------------------------------
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

Reply via email to