Work in progress sketch to read power values via modbus from the well know SDMXXX (SDM120 / SDM220 / SDM630) series power meters from eastron over modbus using an esp8266 and an 3.3V RS485 tranceiver.
- Arduino 1.8.5 (https://www.arduino.cc/)
- ESP8266 board definition 2.4.1 (https://github.com/esp8266/Arduino)
- SDM_Energy_Meter https://github.com/reaper7/SDM_Energy_Meter
- Tasker (https://github.com/sticilface/Tasker)
- PubSubClient 2.6.0 by Nick O'Leary (https://github.com/knolleary/pubsubclient)
patrik.mayer@codm.de, 2017