3 ms·
That API is junk and I think requires auth now or something. I was messing with it some months ago and was surprised after a month the system changed.
by falsenapkin 3y ago
That API is junk and I think requires auth now or something. I was messing with it some months ago and was surprised after a month the system changed.
- hrpnk 3y agohttps://developers.meethue.com/develop/get-started-2/ https://developers.meethue.com/develop/get-started-2/ explains how to get the key to use the API. You just need to press the button on the bridge. Sth. broke for me so I wrote a loop and pressed the button frantically until one of the API calls worked: for i in `seq 1 10`; do http -v 192.168.xxx.xxx/api devicetype="my_hue_app#script"; sleep 1; done