Hi,
i have a really stupid question.
The Relays on my Uinpi Board can be switch on the following command
switch on:
wget -qO- http://localhost:8088/rest/relay/1 --post-data='value=1'
switch off:
wget -qO- http://localhost:8088/rest/relay/1 --post-data='value=0'
now, i installed the http binding an created the Switch Item into default.items
Switch MyItem1 { http=">[ON:POST:http://localhost:8088/rest/relay/1:value=1] >[OFF:POST:http://localhost:8088/rest/relay/1:value=0]" }
The switchitem is also created on my sitemap.
Switch item=MyItem1 label="Kaminpumpe"
The switch does not work.
What am I doing wrong?
regards
Daniel