Homebridge - Shelly Gen 2 automatic via PlugIn

Installation des PlugIns homebridge-shelly-ng um Gen2 Shellys automatisch zu erkennen! Falls zu viele im Netz auftauchen, wird die Homebridge abstürzen. Siehe Homebridge - Maximale Anzahl an Geräten

Homebridge - Shelly Gen 2 mqttthing

Nachfolgend ein json Konstrukt um die 2Generation der Shellys zu steuern. Shelly1 + Shelly1PM

Hier noch der Link woher die Daten gezogen wurden: https://github.com/arachnetech/homebridge-mqttthing/discussions/511 https://github.com/arachnetech/homebridge-mqttthing/wiki/Tested-Configurations#shelly-plus-1

{
            "accessory": "mqttthing",
            "type": "outlet",
            "name": "TEST",
            "url": "mqtt://10.10.10.10",
            "username": "",
            "password": "",
            "caption": "TEST",
            "topics": {
                "getOn": {
                    "topic": "shellyplus1pm-xxxx/events/rpc",
                    "apply": "if (message.includes('output')) return JSON.parse(message).params[\"switch:0\"].output;"
                },
                "setOn": {
                    "topic": "shellyplus1pm-xxxx/rpc",
                    "apply": "return JSON.stringify({id:1, src:'shellyplus1pm-xxxx', method:'Switch.Toggle', params:{id:0}})"
                }
            },
            "integerValue": true
},