Trying to issue a command to iTach WF2IR flex using "curl" - this is the command I send, but it does not work (the device's port 3 is not blinking at all when this is executed):
curl --header "frequency: 36127" --header "repeat: 1" --header "irCode: 1,96,32,16,32,16,16,16,16,48,48,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,32,16,16,32,16,16,16,3004,96,32,16,32,16,16,16,16,48,48,16,16,16,16,16,3600" http://192.168.1.130/api/v1/irports/3/sendir
When I use the iLearn utility it works fine with these parameters (the device's port 3 is blinking and the ir command sent successfully - see attachment):
What is wrong with my http api command? Am I forgetting something?
Capture.JPG