MacWyznawca / homebridge-mqtt-power-consumption-log-tasmota

Plugin to HomeBridge optimized for work with Itead Sonoff POW hardware with firmware Sonoff-Tasmota via MQTT with log data to file. Partially emulate Elgato Eve Energy. Measure used power and write data to log text files.
MIT License
13 stars 12 forks source link

Startup Help #3

Open jeylites opened 7 years ago

jeylites commented 7 years ago

Can't seem to get this going. Are my MQTT settings right?

`{ "bridge":{ "name":"Homebridge", "username":"CD:22:3D:E3:CE:28", "port":51826, "pin":"031-45-156" }, "description":"Homebridge", "accessories":[{

 "accessory": "mqtt-switch-tasmota",
 "switchType": "outlet",

        "name": "WATER PUMP One",

        "url": "mqtt://192.168.1.70",
        "username": "mqtt",
        "password": "1234",

        "topics": {
            "statusGet": "stat/sonoff/POWER",
            "statusSet": "cmnd/sonoff/POWER"

}

   }

     ]
  }

` screen shot 2017-05-08 at 12 55 03 am

elfnino commented 7 years ago

The Topic "Water PUMP one" is not set the right way as it has to be equal with topics in config.json

For instance: When Topic on sonoff is set to: "WaterPUMPone"

then set it on homebridge as: "statusGet": "stat/WaterPUMPone/POWER", "statusSet": "cmnd/WaterPUMPone/POWER"

jeylites commented 7 years ago

@elfnino I will give it a try. Thank you.