martin-ger / esp_mqtt

MQTT Broker/Bridge on the ESP8266
MIT License
293 stars 68 forks source link

Get Power data on MQTT with Sonoff Pow or Pow r2 #50

Open pelinquin opened 5 years ago

pelinquin commented 5 years ago

Hello Martin,

I'm new with esp_mqtt. Thanks to your framework and scripts...I succeed in few hours to toggle the relay on a Sonoff Pow r2 with one of your script example. However, I need to read energy consumption data for my application, using MQTT. Should I have to configure the UART ? How ? Do you have an example that could help me ?...using Sonoff Pow would be great. The Sonoff Pow r2 use the CSE7766. That's all I know. Best regards

Laurent from Paris