Code: Select all
on System#Boot do
gpio,2,0
endon
on Push#state do
if [Push#state]=1
SendToHTTP 192.168.0.50,8085,/room?cmd=set%20VC20_Steckdose_03%20on
else
gpio,2,0
endif
endon
192.168.0.16,80,/control/trigger_event? ... rom_piface
But, this URL works also from any Browser. One, maybe interessting thing is, that the URL is trunkated in the log. The last 7 characters are missing.
I've also modified the required IPaddress, port, userid and password in the Generic HTTP device configuration. Any help will be appreciated, thanks in advance.