[SOLVED] Http binding not working

Hello,

I am currently trying to use the http binding on a switch and apparently it is not working.
The switch gets triggered (I can see it in the logs) but the page is not accessed.

Switch BathVent_Switch { http=">[ON:GET:http://localhost:3000/bath_vent/on] >[OFF:GET:http://localhost:3000/bath_vent/off]" }

rule

BathVent_Switch.postUpdate(ON) 

Thank you for your help

Solved:

postUpdate just changes the value and http binding is not used

You should use sendCommand.

Have you tried to use sendCommand instead of postUpdate?

Edit: posted while you were posting…sorry.

1 Like