zlacker

[parent] [thread] 1 comments
1. falsen+(OP)[view] [source] 2023-09-21 19:10:20
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.
replies(1): >>hrpnk+z1
2. hrpnk+z1[view] [source] 2023-09-21 19:15:49
>>falsen+(OP)
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
[go to top]