I propose 2 methods, both compatible with Home Assistant.
- The first, using Tasmota and MQTT, through a ESP8266, connected to the smart meter HAN port.
- The second, using the Modbus HA integration, through a RS485 to USB adapter, connected again to the said HAN port.
Both works, but with different entities available on each.
The current ones available on the first method:
- Voltage
- Current
- Active power
- Power factor
- Frequency
- Energy consumption on all 3 tariffs
- Current tariff
- Switch state
The current ones available on the second method:
- Voltage
- Current
- Power factor
- Frequency
- Current tariff
- Switch state
Both tutorials are available here: https://github.com/tiagofreire-pt/Home_Assistant_EDP_Box/
All documentation is in portuguese, as the main focus is for Portugal. But for those non-native speakers and interested on this, I can help step-by-step right here.
Thanks.