Integrating the portuguese energy smart meters - EDP Box

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.

2 Likes

Hello Tiago,
This looks really interesting.
How does the installation of the ESP8266 to the HAN port usually work. Will EDP help?
The description sounds like there is no official way to install the adapter yet.
I think my WiFi barely reaches the counter. Which adapter would you recommend?
Thank you.

1 Like