esphome / feature-requests

ESPHome Feature Request Tracker
https://esphome.io/
411 stars 26 forks source link

Add SPI support ADE7953 (used in Shelly Pro 4PM) #2067

Open phiten opened 1 year ago

phiten commented 1 year ago

Describe the problem you have/What new integration you would like

Add SPI support for the ADE7953 used for power monitoring in Shelly Pro devices. Shelly Pro 4PM uses two of them on one bus.

Please describe your use case for this integration and alternatives you've tried:

Add power metering for Shelly Pro devices.

Additional context

ghost commented 1 year ago

Pro 2PM also use SPI for ADE7953, support would be welcome.

angelnu commented 11 months ago

In order to accelerate getting https://github.com/esphome/esphome/pull/5439 merged it would help if others could validate that it works for them.

So if you use the ADE7953 sensor used in the Shelly Pro series, please give it a try by adding

external_components:
  # use rtttl and dfplayer from ESPHome's dev branch in GitHub
  - source:
      type: git
      url: https://github.com/angelnu/esphome-1
      ref: ade7953_split

to you yaml. Please also provide feedback if you test with I2C where I also added support for additional metrics reported by the sensor (apparent power, reactive power and power factor).