ESPHome PowMr Hybrid Inverter
ESPHome config for 2.4kW PowMr Hybrid Inverter. Must be compatible with 1.5kW, 2.4kW and 3.2kW models.
Requirements
- One half of an ethernet cable with RJ45 connector
- RS232-to-TTL module (MAX3232CSE f.e.)
- Generic ESP32 (recommended) or ESP8266 board
Connection
ESP8266
This configuration can be used on the ESP8266, but you won't be able to use all the sensors due to the memory limitations of the ESP8266. You can use minimal set of sensors/selects, leaving only the ones you need. You can use "Heap size" sensor of Debug component to determine how much free memory left. Looks like minimum heap size, that ensures stability, is near 6Kb.
Usage
- Copy
config
&powmr-inverter
from src directory - Customize config details (secrets, device name, etc.)
Debugging
- Uncomment debug section to enable the debug output of the UART component
uart: id: uart_0 baud_rate: 2400 tx_pin: ${tx_pin} rx_pin: ${rx_pin} # debug: # direction: BOTH # dummy_receiver: false
- Increase the log level to
DEBUG
orVERBOSE
logger: level: WARN
Notes
- Registers map: registers-map.md
- Read registers are using little-endian format that doesn't have a native support in ESPHome, so we need a custom function to swap bytes.
- Manuals:
References & thanks
- https://github.com/leodesigner/powmr_comm Great research on PowMr registers and C++ firmware code with MQTT. Thanks to author, it helps me a lot.
- https://github.com/syssi/esphome-smg-ii ESPHome project to monitor and control a ISolar/EASUN SMG II inverter via RS232