Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
A list of available capabilities and a description of their fields
{ CapabilityProfileList:
{ CapabilityProfile:
[ { CapabilityID: [ '10006' ],
CapabilitySpec: [ 'ZigBee' ],
CapabilityProfileName: [ 'OnOff' ],
CapabilityAttrName: [ 'OnOff' ],
CapabilityDataType: [ 'IntegerSet' ],
CapabilityNameValue: [ '{Off:0,On:1,Toggle:2}' ],
CapabilityControl: [ 'RW' ] },
{ CapabilityID: [ '10008' ],
CapabilitySpec: [ 'ZigBee' ],
CapabilityProfileName: [ 'LevelControl' ],
CapabilityAttrName: [ 'Level,TransitionTime' ],
CapabilityDataType: [ 'Integer,Integer' ],
CapabilityNameValue: [ '{0~255},{0~65535}' ],
CapabilityControl: [ 'RW' ] },
{ CapabilityID: [ '30008' ],
CapabilitySpec: [ 'ZigBee' ],
CapabilityProfileName: [ 'SleepFader' ],
CapabilityAttrName: [ 'TransitionTime,ReferenceTime' ],
CapabilityDataType: [ 'IntegerSet,Integer' ],
CapabilityNameValue: [ '{0~65535},{0~4294967295}' ],
CapabilityControl: [ 'RW' ] },
{ CapabilityID: [ '30009' ],
CapabilitySpec: [ 'ZigBee' ],
CapabilityProfileName: [ 'LevelControl.Move' ],
CapabilityAttrName: [ 'Direction,Rates' ],
CapabilityDataType: [ 'IntegerSet,Integer' ],
CapabilityNameValue: [ '{Up:0,Down:1},{0~255}' ],
CapabilityControl: [ 'W' ] },
{ CapabilityID: [ '3000A' ],
CapabilitySpec: [ 'ZigBee' ],
CapabilityProfileName: [ 'LevelControl.Stop' ],
CapabilityAttrName: [ 'None' ],
CapabilityDataType: [ 'None' ],
CapabilityNameValue: [ 'None' ],
CapabilityControl: [ 'W' ] },
{ CapabilityID: [ '10300' ],
CapabilitySpec: [ 'ZigBee' ],
CapabilityProfileName: [ 'ColorControl' ],
CapabilityAttrName: [ 'ColorX,ColorY,TransitionTime' ],
CapabilityDataType: [ 'Integer,Integer,Integer' ],
CapabilityNameValue: [ '{0~65535},{0~65535},{0~65535}' ],
CapabilityControl: [ 'RW' ] },
{ CapabilityID: [ '30301' ],
CapabilitySpec: [ 'ZigBee' ],
CapabilityProfileName: [ 'ColorTemperature' ],
CapabilityAttrName: [ 'Color,TransitionTime' ],
CapabilityDataType: [ 'Integer,Integer' ],
CapabilityNameValue: [ '{0~65279},{0~65535}' ],
CapabilityControl: [ 'RW' ] } ] } }
@hardillb

This comment has been minimized.

Copy link
Owner Author

hardillb commented Mar 12, 2017

var getCapabilitiesProfileList = {
	method: 'POST',
	path: '/upnp/control/bridge1',
	action: '"urn:Belkin:service:bridge:1#GetCapabilityProfileList"',
	body: [
		postbodyheader,
		'<u:GetCapabilityProfileList xmlns:u="urn:Belkin:service:bridge:1">',
		'<CapabilityIDs>10006,10008,10300,30008,30009,3000A,30301</CapabilityIDs>',
		'</u:GetCapabilityProfileList>',
		postbodyfooter
	].join('\n')
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.