Somfy-Developer / Somfy-TaHoma-Developer-Mode

A collection of requests to use a local API with Somfy TaHoma gateways
147 stars 12 forks source link

[Rollixo smart IO] Can't control my Garage Door #60

Closed qelanhari closed 8 months ago

qelanhari commented 2 years ago

Its status reports properly, all commands are listed as available, but I cannot use them. I can control it from the cloud API (and official app) but not the local API. It has all securities installed and working properly.

[
    {
        "name": "ExecutionRegisteredEvent",
        "execId": "d6e996f7-3dfd-4caa-b3d4-XXXXXXX",
        "actions": [
            {
                "parameters": [],
                "command": "close",
                "execId": "e392fd36-1b33-4ee6-9966-XXXXXX",
                "type": 1,
                "rank": 0,
                "deviceURL": "io://2013-5559-XXXX/1523XXX",
                "state": "INITIALIZED"
            }
        ]
    },
    {
        "command": {
            "parameters": [],
            "rawError": {
                "result": -254,
                "detailedError": "basicInfo=38;pmCmdOriginator=00;pmLockPriority=04;IoCommandPriorityNoSecurityDeviceError"
            },
            "command": "close",
            "execId": "e392fd36-1b33-4ee6-9966-XXXXXX",
            "rank": 0,
            "state": "FAILED",
            "type": 1,
            "deviceURL": "io://2013-5559-XXXX/1523XXXX",
            "failureType": "UNKNOWN_ERROR"
        },
        "execId": "d6e996f7-3dfd-4caa-b3d4-XXXXXX",
        "name": "CommandExecutionStateChangedEvent"
    },
    {
        "failureType": "UNKNOWN_ERROR",
        "oldState": "INITIALIZED",
        "execId": "d6e996f7-3dfd-4caa-b3d4-XXXXX",
        "rawError": {
            "result": -254,
            "detailedError": "basicInfo=38;pmCmdOriginator=00;pmLockPriority=04;IoCommandPriorityNoSecurityDeviceError"
        },
        "name": "ExecutionStateChangedEvent",
        "newState": "FAILED"
    }
]
BuBuaBu commented 2 years ago

Hi @qelanhari ! Could you include the device description or at least give us the controllableName of this device?

qelanhari commented 2 years ago
{
       {
    "deviceURL": "io:\/\/2013-5559-YYYYY\/XXXXX",
    "available": true,
    "synced": true,
    "type": 1,
    "states": [
      {
        "type": 3,
        "name": "core:StatusState",
        "value": "available"
      },
      {
        "type": 3,
        "name": "core:DiscreteRSSILevelState",
        "value": "good"
      },
      {
        "type": 1,
        "name": "core:RSSILevelState",
        "value": 96
      },
      {
        "type": 3,
        "name": "core:OpenClosedUnknownState",
        "value": "closed"
      },
      {
        "type": 3,
        "name": "core:NameState",
        "value": "Garage"
      }
    ],
    "label": "Garage",
    "subsystemId": 0,
    "attributes": [
      {
        "type": 3,
        "name": "core:FirmwareRevision",
        "value": "5105491B14"
      },
      {
        "type": 3,
        "name": "core:Manufacturer",
        "value": "Somfy"
      }
    ],
    "enabled": true,
    "controllableName": "io:DiscreteGarageOpenerIOComponent",
    "definition": {
      "states": [
        {
          "name": "core:StatusState"
        },
        {
          "name": "core:NameState"
        },
        {
          "name": "core:ManufacturerSettingsState"
        },
        {
          "name": "core:ManufacturerDiagnosticsState"
        },
        {
          "name": "core:OpenClosedUnknownState"
        },
        {
          "name": "core:AdditionalStatusState"
        },
        {
          "name": "core:DiscreteRSSILevelState"
        },
        {
          "name": "core:RSSILevelState"
        }
      ],
      "widgetName": "DiscretePositionableGarageDoor",
      "attributes": [
        {
          "name": "core:SupportedManufacturerSettingsCommands"
        },
        {
          "name": "core:FirmwareRevision"
        },
        {
          "name": "core:Manufacturer"
        }
      ],
      "uiClass": "GarageDoor",
      "commands": [
        {
          "commandName": "stop",
          "nparams": 0
        },
        {
          "nparams": 1,
          "commandName": "delayedStopIdentify",
          "paramsSig": "p1"
        },
        {
          "nparams": 2,
          "commandName": "runManufacturerSettingsCommand",
          "paramsSig": "p1,p2"
        },
        {
          "commandName": "down",
          "nparams": 0
        },
        {
          "commandName": "open",
          "nparams": 0
        },
        {
          "commandName": "unpairAllOneWayControllers",
          "nparams": 0
        },
        {
          "nparams": 1,
          "commandName": "setConfigState",
          "paramsSig": "p1"
        },
        {
          "nparams": 1,
          "commandName": "pairOneWayController",
          "paramsSig": "p1,*p2"
        },
        {
          "commandName": "unpairAllOneWayControllersAndDeleteNode",
          "nparams": 0
        },
        {
          "commandName": "startIdentify",
          "nparams": 0
        },
        {
          "commandName": "stopIdentify",
          "nparams": 0
        },
        {
          "commandName": "keepOneWayControllersAndDeleteNode",
          "nparams": 0
        },
        {
          "commandName": "getName",
          "nparams": 0
        },
        {
          "commandName": "close",
          "nparams": 0
        },
        {
          "nparams": 1,
          "commandName": "setName",
          "paramsSig": "p1"
        },
        {
          "commandName": "identify",
          "nparams": 0
        },
        {
          "commandName": "sendIOKey",
          "nparams": 0
        },
        {
          "nparams": 1,
          "commandName": "wink",
          "paramsSig": "p1"
        },
        {
          "commandName": "up",
          "nparams": 0
        },
        {
          "nparams": 1,
          "commandName": "advancedRefresh",
          "paramsSig": "p1,*p2"
        },
        {
          "nparams": 1,
          "commandName": "unpairOneWayController",
          "paramsSig": "p1,*p2"
        }
      ],
      "type": "ACTUATOR"
    }
  },
qelanhari commented 2 years ago

Hello ! Is there any information available on your side ? Is it intentional somehow ? Is it a bug ? Is it something related to my use ?

qelanhari commented 2 years ago

Hi ! Me again to follow up. I still can't use my garage door with the Local API even though I can using the cloud one.

Do you have feedbacks ?

qelanhari commented 1 year ago

4 months in, still no feedbacks... at all ! :(

qelanhari commented 1 year ago

Hello there ! Despite all the updates that were released for the Tahoma, I still can't control my garage door using the local API. Same question as before : May I have some feedbacks ?

martinberanek commented 1 year ago

Hi,

I have same problem with controlling garage doors via API. Garage doors are also not exposed as Apple Homekit appliance (as I understand, from Apple's decision). It will be very helpfull to allow controlling via API.

Thanks

qelanhari commented 8 months ago

I can confirm this is fixed with today's release. Thank you !