Setting up your Tasmota on Sonoff Pow R2 or R1 to measure your Solar and wind power generation
Sonoff POW R1 and R2 Tasmota 4M memory.
(Reading Power and sending the info to MQTT and Node-red)
Pres button on Sonoff POW R2 when Connecting to device in programmer to put device in programming mode.
/home/dir/anaconda3/lib/python3.7/site-packages/tasmotizer_esptool.py
Write_flash -fs 4MB -fm dout 0x0 tasmota.bin
Reading the existing Sonoff POW R2 file for backup
using the esptool https://github.com/espressif/esptool/releases/tag/v3.0
esptool.py read_flash 0x00000 0x100000 fwbackup.bin
Tasmotize the Sonoff POW R2
/home/anton/anaconda3/bin/tasmotizer.py
Download the bin file from Tasmota for Sonoff
Create config template for Sonoff POW R2
{"NAME":"Sonoff Pow R2","GPIO":[17,145,0,146,0,0,0,0,21,56,0,0,0],"FLAG":0,"BASE":43}
Set TelePeriod 10 for MQtt message every 10S in console
Console output |
Download the Tasmota binaries from here http://ota.tasmota.com/tasmota/release/
or here https://github.com/arendst/Tasmota/releases/
Node-red grap of data
Some of the Configurations screens on The Tasmota Sonoff Device
Main Config Page |
Sub config Page |
IO pin configuration of ESP8266 |
Timer config screen |
Example of Node-Red Dashboard |
Example of Node-Red Dashboard |
Example of Node-Red Dashboard |
Grafana Graf of the measurements saved in influx db |