Help with openHAB IP control
Posted: Mon Nov 05, 2018 11:30 pm
Longtime iRule user looking for a replacement. I am impressed so far by Demopad but have run into a snag that I can't solve. I have set up several ip devices that are working fine but my openHAB device will not communicate (openhabian on RaspberryPi). This has always worked fine in iRule.
Using Hercules I have picked up what is being sent out.
From Demopad:
From iRule:
I have tried pasting the iRule command that was received by Hercules into Demopad but that did not work. I read in this forum about how to convert a command to "GET" but that did not wok either.
I am grateful for any help, Thanks
Using Hercules I have picked up what is being sent out.
From Demopad:
Code: Select all
/classicui/CMD?theater_group_dimmer=100{0D}{0A}
Code: Select all
GET /classicui/CMD?theater_group_dimmer=100 HTTP/1.1{0D}{0A}Host: 192.168.1.42:8080{0D}{0A}Accept: */*{0D}{0A}Accept-Language: en-us{0D}{0A}Connection: keep-alive{0D}{0A}Accept-Encoding: gzip, deflate{0D}{0A}User-Agent: iRule/4977 CFNetwork/974.2.1 Darwin/18.0.0{0D}{0A}{0D}{0A}
I am grateful for any help, Thanks