milo526 / homebridge-tuya-web

Hoobs and Homebridge plugin for Tuya devices using Home Assistant Tuya Web Api
MIT License
220 stars 96 forks source link

Garage door opener doesn't update open/closed status #583

Closed brha8286 closed 9 months ago

brha8286 commented 10 months ago

Describe the bug SmartLife Garage door accessory always shows "closed" in homebridge and apple Home. It accurately shows open/close status in SmartLife app. Device is this - meross/smartlife. It's also successfully opening/closing the garage door, but it's entirely open loop - no feedback.

Steps To Reproduce

  1. Add garage door opener device to SmartLife app on account connected to TuyaWebPlatform
  2. That's it. Open/closed status doesn't update.

Plugin Version v1.1.5

Homebridge Config

{
    "bridge": {
        "name": "Homebridge 8A80",
        "username": "0E:BA:B5:59:8A:80",
        "port": 51296,
        "pin": "801-58-869",
        "advertiser": "avahi"
    },
    "accessories": [],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "platform": "config"
        },
        {
            "name": "TuyaWebPlatform",
            "options": {
                "username": "",
                "password": "",
                "countryCode": "1",
                "platform": "smart_life"
            },
            "defaults": [
                {
                    "id": "eb1057ce47bb30fee4v3sp",
                    "device_type": "garage"
                }
            ],
            "scenes": false,
            "platform": "TuyaWebPlatform"
        }
    ]
}

Device Config

Getting credentials
Got credentials
{   'access_token': 'AZv051hf5af6f30az1704168657387TAv8dBioccThGmv',
    'expires_in': 864000,
    'refresh_token': 'AZv051hb4a99e69az1704168657387TAv8d87UHJYRDZ6',
    'token_type': 'bearer'}
Getting devices
Got devices
{   'header': {'code': 'SUCCESS', 'payloadVersion': 1},
    'payload': {   'devices': [   {   'data': {'online': True, 'state': False},
                                      'dev_type': 'switch',
                                      'ha_type': 'switch',
                                      'icon': 'https://images.tuyaus.com/smart/icon/ay15773419281994CtTi/1583392220ed539fa5927.png',
                                      'id': 'eb1057ce47bb30fee4v3sp',
                                      'name': 'Smart WiFi Garage Door Opener'}],
                   'scenes': []}}

Additional Context

github-actions[bot] commented 10 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

brha8286 commented 10 months ago

@milo526

github-actions[bot] commented 9 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.