Closed Gnillajt closed 6 years ago
Hi Tjalling, sorry for the late response. Of course I would like to add this device to the app, however I need some more information. There is a little bit more to it than just de controllableName. I've created a document with some instructions (attached to this comment) in order to provide some additional information. Once I have the additional information, I will try to add the device.
Best,
Hello Lennart, Below the code you've requested:
{
"creationTime":1511199278000,
"lastUpdateTime":1511199278000,
"label":"Rolluik klein",
"deviceURL":"xxx",
"shortcut":false,
"controllableName":"io:RollerShutterWithLowSpeedManagementIOComponent",
"definition":{
"commands":[
{
"commandName":"close",
"nparams":0
},
{
"commandName":"delayedStopIdentify",
"nparams":1
},
{
"commandName":"down",
"nparams":0
},
{
"commandName":"getName",
"nparams":0
},
{
"commandName":"identify",
"nparams":0
},
{
"commandName":"my",
"nparams":0
},
{
"commandName":"open",
"nparams":0
},
{
"commandName":"refreshMemorized1Position",
"nparams":0
},
{
"commandName":"setClosureAndLinearSpeed",
"nparams":2
},
{
"commandName":"setClosure",
"nparams":1
},
{
"commandName":"setDeployment",
"nparams":1
},
{
"commandName":"setMemorized1Position",
"nparams":1
},
{
"commandName":"setName",
"nparams":1
},
{
"commandName":"setPosition",
"nparams":1
},
{
"commandName":"setSecuredPosition",
"nparams":1
},
{
"commandName":"startIdentify",
"nparams":0
},
{
"commandName":"stopIdentify",
"nparams":0
},
{
"commandName":"up",
"nparams":0
},
{
"commandName":"wink",
"nparams":1
}
],
"states":[
{
"type":"ContinuousState",
"qualifiedName":"core:ClosureState"
},
{
"type":"ContinuousState",
"qualifiedName":"core:Memorized1PositionState"
},
{
"type":"DataState",
"qualifiedName":"core:NameState"
},
{
"values":[
"closed",
"open"
],
"type":"DiscreteState",
"qualifiedName":"core:OpenClosedState"
},
{
"type":"ContinuousState",
"qualifiedName":"core:PriorityLockTimerState"
},
{
"type":"ContinuousState",
"qualifiedName":"core:RSSILevelState"
},
{
"type":"ContinuousState",
"qualifiedName":"core:SecuredPositionState"
},
{
"values":[
"available",
"unavailable"
],
"type":"DiscreteState",
"qualifiedName":"core:StatusState"
},
{
"values":[
"comfortLevel1",
"comfortLevel2",
"comfortLevel3",
"comfortLevel4",
"environmentProtection",
"humanProtection",
"userLevel1",
"userLevel2"
],
"type":"DiscreteState",
"qualifiedName":"io:PriorityLockLevelState"
},
{
"values":[
"LSC",
"SAAC",
"SFC",
"UPS",
"externalGateway",
"localUser",
"myself",
"rain",
"security",
"timer",
"user",
"wind"
],
"type":"DiscreteState",
"qualifiedName":"io:PriorityLockOriginatorState"
}
],
"dataProperties":[
{
"value":"500",
"qualifiedName":"core:identifyInterval"
}
],
"widgetName":"PositionableRollerShutterWithLowSpeedManagement",
"uiClass":"RollerShutter",
"qualifiedName":"io:RollerShutterWithLowSpeedManagementIOComponent",
"type":"ACTUATOR"
},
"states":[
{
"name":"core:NameState",
"type":3,
"value":"Rolluik klein"
},
{
"name":"core:PriorityLockTimerState",
"type":1,
"value":0
},
{
"name":"core:StatusState",
"type":3,
"value":"available"
},
{
"name":"core:RSSILevelState",
"type":2,
"value":70.0
},
{
"name":"core:ClosureState",
"type":1,
"value":97
},
{
"name":"core:OpenClosedState",
"type":3,
"value":"open"
}
],
"attributes":[
],
"available":true,
"enabled":true,
"placeOID":"xxx",
"widget":"PositionableRollerShutterWithLowSpeedManagement",
"type":1,
"oid":"xxx",
"uiClass":"RollerShutter"
}
Hoi Tjalling,
Dank je, ik ga er mee aan de slag.
Groet,
Lennart
Hoi Tjalling,
Ik heb vandaag een nieuwe (beta) versie van de app uitgebracht, met daarin support voor jouw rolluiken (io:RollerShutterWithLowSpeedManagementIOComponent). De app is te vinden in de app store (https://apps.athom.com/app/com.somfy.tahoma). Kun jij me laten weten of alles naar behoren werkt?
Groet,
Lennart
Hallo Lennart,
Ik heb het afgelopen week getest en het werkt prima. Dank je voor de effort!
Groeten, Tjalling
Hoi Tjalling,
Goed om te horen. Ik sluit bij deze het issue.
Groet,
Lennart
Hello Lennart,
I tried adding my two shutters. This wouldn't work because I assume they aren't know yet. I've used the chrome dev-tools the identify the shutter controllabelName. This is: io:RollerShutterWithLowSpeedManagementIOComponent.
Since I'm not as handy as Peter in closed issue #3, I can't add this for myself.
Could you add this to a new version? If you need testing this, or more details regarding the device please let me know.
Regards, Tjalling