alexryd / homebridge-shelly

Homebridge plugin for Shelly devices
MIT License
302 stars 44 forks source link

[Bug] Shelly 1L doesn't expose 2nd button in Homebridge #398

Open rionshin opened 2 years ago

rionshin commented 2 years ago

When I am adding Shelly1L with 2 buttons, one in Toggle mode and one in Detached mode, i don't see the 2nd button exposed in Homebridge.
Could you please help me understand how i can expose the both buttons ? That's the config { "name": "ShellyBridge", "admin": { "enabled": true }, "networkInterface": "192.168.1.114", "devices": [

            {
                "id": "8CAAB55DDC49",
                "name": "KitchenLight",
                "type": "switch"
            }
        ],
        "_bridge": {
            "username": "0E:4A:1E:EE:35:C8",
            "port": 32928
        },
        "platform": "Shelly"
    },

Log output 6/15/2022, 3:31:31 PM] Registering platform 'homebridge-shelly.Shelly' [6/15/2022, 3:31:31 PM] [ShellyBridge] Loaded homebridge-shelly v0.19.1 child bridge successfully [6/15/2022, 3:31:31 PM] Loaded 3 cached accessories from cachedAccessories.0E4A1EEE35C8. [6/15/2022, 3:31:31 PM] [ShellyBridge] 3 accessories loaded from cache [6/15/2022, 3:31:31 PM] Homebridge v1.4.1 (HAP v0.10.2) (ShellyBridge) is running on port 32928.

Environment:

rionshin commented 2 years ago

@alexryd any help how i can expose in home bridge the both switches of Shelly1L and configure the SW2 as stateless.