POST request - ST and HE are different?


I’m sure that I’m not the first person to stumble over this, but I’ve not seen any posting.

I have migrated (almost 100%) from SmartThings to Hubitat. I have an IR bridge, and was sending POST requests in webcore from SmartThings, and all worked well.

I’ve spent way too many hours trying to send the same command (IRSEND) in webcore connected to my hubitat hub. I cannot get it to work.

Below is the command that works just fine in webcore through the ST hub, and no response from webcore through the HE hub.




Try fixing the quotes “” in the payload. Maybe ST is more forgiving when it comes to that. Not sure if the forum software is converting it or that is how it is on your side also.


If the quotes suggestion doesn’t help, you should probably use a “encodeURI” function to ensure your x-www-form-urlencoded post is syntactically legal. Here is a web version for example.


If you still have trouble full logs may help

You can private message them (pm) to me


What do you mean by fixing the quotes?

Could you provide suggestions or examples?


OK. Webcore works just fine when running through SmartThings hub, and still cannot work with Hubitat. I think it’s got something to do with hubitat and/or the webcore code for hubitat.

In webcore through SmartThings, the following works just fine: {“Protocol”: “NEC”,“Bits”: 32, “Data”: 0x00FFB04F}

In webcore through Hubitat, neither of the two commands work: {“Protocol”: “NEC”,“Bits”: 32, “Data”: 0x00FFB04F}


So it cannot be quotes (") or any of the other special characters ( ? \ )

Any other ideas?


Please post a snapshot of the working ST piston, even a simplified one that we can look at.