31
Feature Requests / Re: Belkin Wemo and Phillips Hue Support
« on: March 28, 2014, 04:26:45 AM »
Was there any update on how to control the wemo's?
I may be able to offer some advice, but not the entire solution - the wemo's can be set to a specific IP address quite easily from your router, they do however change the ports they listen on
my irulesetup sends the following string via http post to the IP of the wemo, and sends it on port 49152, 4953, and 49154 as this seems to be ports the wemo switches between
On -
Off -
Getstatus -
If somebody could tell me how send these commands via http post in vc that would be great.
I may be able to offer some advice, but not the entire solution - the wemo's can be set to a specific IP address quite easily from your router, they do however change the ports they listen on
my irulesetup sends the following string via http post to the IP of the wemo, and sends it on port 49152, 4953, and 49154 as this seems to be ports the wemo switches between
On -
Code: [Select]
/upnp/control/basicevent1?<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:SetBinaryState xmlns:u="urn:Belkin:service:basicevent:1"><BinaryState>1</BinaryState></u:SetBinaryState></s:Body></s:Envelope>
Off -
Code: [Select]
/upnp/control/basicevent1?<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:SetBinaryState xmlns:u="urn:Belkin:service:basicevent:1"><BinaryState>0</BinaryState></u:SetBinaryState></s:Body></s:Envelope>
Getstatus -
Code: [Select]
/upnp/control/basicevent1?<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetBinaryState xmlns:u="urn:Belkin:service:basicevent:1"><BinaryState></BinaryState></u:GetBinaryState></s:Body></s:Envelope>
If somebody could tell me how send these commands via http post in vc that would be great.