MacWyznawca / homebridge-mqtt-switch-tasmota

Plugin to HomeBridge optimized to work with firmware Sonoff-Tasmota, MQTT.
MIT License
57 stars 18 forks source link

no values in eve app #34

Open marcoschmidt79 opened 6 years ago

marcoschmidt79 commented 6 years ago

hello, i have a sonoff pow, mqtt and homebridge. the sonoff pow communicates with mqtt. i use your plugin and the switch works in eve-app and homekit-app but the values are empty in eve-app.

log from mosquitto:

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

my config.json:

{ "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": "never", "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" }

Can you help me please?