I’d like to activate the alert command of a hue lamp using the HTTP binding.
According to the hue manual this should be possible similiar like this (example for the state command, I need the alert command with command text lselect):
Address http:///api/1028d66426293e821ecfd9ef1a0731df/lights/1/state
Body {“on”:false}
Method PUT
I think you are not sending the JSON format to your HUE gateway. According to your linked geting started you need to send {"alert":"select"}
in your message body, which I can’t see in your item.
I think you should use a switch item to “PUT” the JSON-String to your HUE instead of a string item?!?!
I have no experience with this, but with some exmaples from other users you don’t need the http binding. Others are using “ExecuteCommandLine” with curl.