how to sent a switch command with html

Plugwise Forum about Plugwise devices and the Source software.
Post Reply
User avatar
Harry
Member
Member
Posts: 329
Joined: Mon Apr 10, 2006 1:43 am
Location: Drachten

how to sent a switch command with html

Post by Harry »

i try to sent a switch command to the source webserver.
but i am not sure it's the richt one.

i use the command

http://192.168.0.xxx:8080/cc.html?applid=41&cmd=off
the applid is the id i found in the database en match the device i want to switch off

i get the 404 error response. :(
User avatar
Harry
Member
Member
Posts: 329
Joined: Mon Apr 10, 2006 1:43 am
Location: Drachten

Re: how to sent a switch command with html

Post by Harry »

solved
i used the wrong link
this is the one to use

for off
http://192.168.0.xxx:8080/api/actions.h ... hoff&id=33
for on
http://192.168.0.xxx:8080/api/actions.h ... chon&id=33

for the list of device id's u can use this

http://192.168.0.xxx:8080/api/data.xml?type=appliances
Edwin
Member
Member
Posts: 447
Joined: Sat Oct 20, 2007 6:37 am
Location: Netherlands

Re: how to sent a switch command with html

Post by Edwin »

Nice , thanks
I can use this too
Super :-)
Art
Starting Member
Starting Member
Posts: 37
Joined: Wed Nov 30, 2011 2:54 pm
Location: Utrecht

Re: how to sent a switch command with html

Post by Art »

Using this for voice control of Plugwise, sending commands from Amazon Echo through HAbridge to Source. It's reasonably stable, so I'm happy that I can still use my plugs. They are slowly turning obsolete after all...
Post Reply

Return to “Plugwise Forum”