The SOAP command to create a Light Group on a Wemo Link ZigBee Bridge
<?xml version="1.0" encoding="UTF-8"?> | |
<CreateGroup> | |
<GroupID>1489757700</GroupID> | |
<GroupName>Lighting Group</GroupName> | |
<DeviceIDList>94103EA2B278030F,94103EA2B27803ED</DeviceIDList> | |
<GroupCapabilityIDs>10008,10006,30008,30009,3000A</GroupCapabilityIDs> | |
<GroupCapabilityValues>255:0,0,,,</GroupCapabilityValues> | |
</CreateGroup> |
POST /upnp/control/bridge1 HTTP/1.0 | |
Content-Type: text/xml; charset="utf-8" | |
HOST: 192.168.1.52 | |
Content-Length: 747 | |
SOAPACTION: "urn:Belkin:service:bridge:1#CreateGroup" | |
Connection: close | |
<?xml version="1.0" encoding="utf-8"?> | |
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> | |
<s:Body> | |
<u:CreateGroup xmlns:u="urn:Belkin:service:bridge:1"> | |
<ReqCreateGroup><?xml version="1.0" encoding="UTF-8"?><CreateGroup><GroupID>1489757700</GroupID><GroupName>Lighting Group</GroupName><DeviceIDList>94103EA2B278030F,94103EA2B27803ED</DeviceIDList><GroupCapabilityIDs>10008,10006,30008,30009,3000A</GroupCapabilityIDs><GroupCapabilityValues>255:0,0,,,</GroupCapabilityValues></CreateGroup></ReqCreateGroup> | |
</u:CreateGroup> | |
</s:Body> | |
</s:Envelope> | |
HTTP/1.0 200 OK | |
CONTENT-LENGTH: 283 | |
CONTENT-TYPE: text/xml; charset="utf-8" | |
DATE: Fri, 17 Mar 2017 13:35:16 GMT | |
EXT: | |
SERVER: Unspecified, UPnP/1.0, Unspecified | |
X-User-Agent: redsonic | |
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body> | |
<u:CreateGroupResponse xmlns:u="urn:Belkin:service:bridge:1"> | |
<RespCreateGroup>2</RespCreateGroup> | |
</u:CreateGroupResponse> | |
</s:Body> </s:Envelope> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment