You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there,
I just new in Homebridge and want to control some outlets with this plugin,
Controlling, Power on and off will be right, but the parsing of power and voltage etc. would not be functional, maybe its my fail?
the messages form the topics is this: {"Time":"2024-07-27T10:51:55","ENERGY":{"TotalStartTime":"2023-05-18T00:00:00","Total":79.788,"Yesterday":0.036,"Today":0.008,"Period":0,"Power":1,"ApparentPower":3,"ReactivePower":3,"Factor":0.25,"Voltage":230,"Current":0.012}}
so I can't find any errors in my coding, so maybe someone else can open my eyes ;-)
best regards
The text was updated successfully, but these errors were encountered:
Hi there,
I just new in Homebridge and want to control some outlets with this plugin,
Controlling, Power on and off will be right, but the parsing of power and voltage etc. would not be functional, maybe its my fail?
I use this Json:
"topics": { "getOnline": "cmnd/tasmota_E88366//Status", "getWatts": { "topic": "tele/tasmota_E88366/SENSOR", "apply": "return JSON.parse(message).ENERGY.Power;" }, "getVolts": { "topic": "tele/tasmota_E88366/SENSOR", "apply": "return JSON.parse(message).ENERGY.Voltage;" }, "getAmperes": { "topic": "tele/tasmota_E88366/SENSOR", "apply": "return JSON.parse(message).ENERGY.Current;" }, "getOn": "cmnd/tasmota_E88366/POWER", "setOn": "cmnd/tasmota_E88366/POWER"
the messages form the topics is this:
{"Time":"2024-07-27T10:51:55","ENERGY":{"TotalStartTime":"2023-05-18T00:00:00","Total":79.788,"Yesterday":0.036,"Today":0.008,"Period":0,"Power":1,"ApparentPower":3,"ReactivePower":3,"Factor":0.25,"Voltage":230,"Current":0.012}}
so I can't find any errors in my coding, so maybe someone else can open my eyes ;-)
best regards
The text was updated successfully, but these errors were encountered: