Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for AwningComponent (io:HorizontalAwningIOComponent) #59

Closed
Glenn1986 opened this issue Jun 16, 2020 · 5 comments
Closed

Add support for AwningComponent (io:HorizontalAwningIOComponent) #59

Glenn1986 opened this issue Jun 16, 2020 · 5 comments

Comments

@Glenn1986
Copy link

Glenn1986 commented Jun 16, 2020

This devise is an sort of horizontal rollershutter against the sun on my terrace.
The tahoma integrations finds my io rollershutter but does nog reacts on commands.

Device details

{
         "creationTime":1582270976000,
         "lastUpdateTime":1582270976000,
         "label":"Zonwering",
         "shortcut":false,
         "controllableName":"io:HorizontalAwningIOComponent",
         "definition":{
            "commands":[
               {
                  "commandName":"close",
                  "nparams":0
               },
               {
                  "commandName":"delayedStopIdentify",
                  "nparams":1
               },
               {
                  "commandName":"deploy",
                  "nparams":0
               },
               {
                  "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":"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":"stop",
                  "nparams":0
               },
               {
                  "commandName":"stopIdentify",
                  "nparams":0
               },
               {
                  "commandName":"undeploy",
                  "nparams":0
               },
               {
                  "commandName":"up",
                  "nparams":0
               },
               {
                  "commandName":"wink",
                  "nparams":1
               }
            ],
            "states":[
               {
                  "type":"ContinuousState",
                  "qualifiedName":"core:DeploymentState"
               },
               {
                  "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",
                     "temperature",
                     "timer",
                     "user",
                     "wind"
                  ],
                  "type":"DiscreteState",
                  "qualifiedName":"io:PriorityLockOriginatorState"
               }
            ],
            "dataProperties":[
               {
                  "value":"500",
                  "qualifiedName":"core:identifyInterval"
               }
            ],
            "widgetName":"PositionableHorizontalAwning",
            "uiClass":"Awning",
            "qualifiedName":"io:HorizontalAwningIOComponent",
            "type":"ACTUATOR"
         },
         "states":[
            {
               "name":"core:NameState",
               "type":3,
               "value":"Zonwering"
            },
            {
               "name":"core:PriorityLockTimerState",
               "type":1,
               "value":0
            },
            {
               "name":"core:StatusState",
               "type":3,
               "value":"available"
            },
            {
               "name":"core:RSSILevelState",
               "type":2,
               "value":86.0
            },
            {
               "name":"core:DeploymentState",
               "type":1,
               "value":100
            },
            {
               "name":"core:OpenClosedState",
               "type":3,
               "value":"open"
            }
         ],
         "attributes":[

         ],
         "available":true,
         "enabled":true,
         "widget":"PositionableHorizontalAwning",
         "type":1,
         "uiClass":"Awning"
      }
@iMicknl
Copy link
Owner

iMicknl commented Jun 21, 2020

Could be related to #42. It looks like the open and close commands are not always functional for this device. I am not sure when to choose open vs up vs deploy.

@vlebourl
Copy link
Collaborator

vlebourl commented Jun 22, 2020

Could one of you try to identify the commands used by the TaHoma webapp with chrome's dev panel for instance? Would this help?

@github-actions
Copy link

'There hasn't been any activity on this issue recently. Is this issue still present?
Please make sure to update to the latest Home Assistant version and version of this integration to see if that solves the issue. Let us know if that works for you by adding a comment 👍.
This issue now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.'

@Glenn1986
Copy link
Author

Hi, I tested new version and awning works good. Just the stop command doesn't work at the moment. But the down and up commands works good.

@iMicknl
Copy link
Owner

iMicknl commented Aug 5, 2020

Thanks @Glenn1986! I will close this issue and I created #204 to discuss stop not working.

@iMicknl iMicknl closed this as completed Aug 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants