Problem Sonoff Pow - MQTT - homebridge

Begonnen von sch.marco, 25 März 2018, 13:06:04

Vorheriges Thema - Nächstes Thema

sch.marco

Hallo, vielleicht hat jemand eine Idee. Nutze den Sonoff Pow, der auch ordnungsgemäß die Verbrauchswerte an MQTT überträgt, dort kommen sie auch an:

tele/klimaanlage/SENSOR {"Time":"2018.03.25 12:01:57","ENERGY":{"Total":0.075,"Yesterday":0.065,"Today":0.010,"Period":0,"Power":6,"Factor":0.11,"Voltage":222,"Current":0.232}}
stat/klimaanlage/RESULT {"POWER":"ON"}
stat/klimaanlage/POWER ON
tele/klimaanlage/UPTIME {"Time":"2018.03.25 12:02:00","Uptime":"0 17:12:29"}
tele/klimaanlage/STATE {"Time":"2018.03.25 12:02:57","Uptime":"0 17:13:26","Vcc":3.438,"POWER":"ON","Wifi":{"AP":1,"SSId":"Familie Schmidt","RSSI":74,"APMac":"9C:C7:A6:51:9A:77"}}
cmnd/klimaanlage/power ON
tele/klimaanlage/SENSOR {"Time":"2018.03.25 12:02:57","ENERGY":{"Total":0.075,"Yesterday":0.065,"Today":0.010,"Period":0,"Power":5,"Factor":0.10,"Voltage":222,"Current":0.234}}
stat/klimaanlage/RESULT {"POWER":"ON"}
stat/klimaanlage/POWER ON

In Homebridge habe ich dies mittels mqtt-power-consumption-log-tasmota Plugin eingebunden. Schalten funktioniert auch super, nur zeigt er mir in Eve keine Werte an.

{
            "accessory": "mqtt-power-consumption-log-tasmota",
            "name": "Schalter Klimaanlage",
            "url": "mqtt://127.0.0.1",
            "username": "",
            "password": "",
            "topics": {
                "statusGet": "stat/klimaanlage/POWER",
                "statusSet": "cmnd/klimaanlage/power",
                "energyGet": "tele/klimaanlage/ENERGY",
                "stateGet": "tele/klimaanlage/STATE"
            },
            "onValue": "ON",
            "offValue": "OFF",
            "outletInUseBy": "current",
            "outletInUseCurrent": "0.01",
            "totalPowerResetBy": "year",
            "activityTopic": "tele/klimaanlage/LWT",
            "activityParameter": "Online",
            "startCmd": "cmnd/klimaanlage/TelePeriod",
            "startParameter": "60",
            "patchToSave": "/root/.homebridge/",
            "savePeriod": "15",
            "manufacturer": "ITEAD",
            "model": "Sonoff TH",
            "serialNumberMAC": "xx:xx:xx:xx:xx:xx"
        }

Hat jemand eine Idee oder das Plugin vielleicht selbst in Benutzung?