vincentwolsink / home_assistant_enphase_envoy_installer

This is a HACS custom integration for Enphase Envoys with firmware version 7 and up.
Apache License 2.0
59 stars 11 forks source link

[FEATURE] Option to integrate "envoy sensors" #143

Closed InitialGKL closed 2 weeks ago

InitialGKL commented 3 weeks ago

Describe the feature

add the (optional) functionality to read all the "envoy sensors" just like the non-custom enphase envoy integration and (DEV) integration do. For example the "sensor.envoy_############_today_s_energy_consumption_l2" and "sensor.envoy_############_current_power_consumption" I like your integration but personally can't miss these sensors for statistics.

Account type

Envoy

Home Assistant

vincentwolsink commented 3 weeks ago

Hi @InitialGKL, the sensors you are referring to should be available (depending on your Envoy configuration). The integration currently supports the following sensors on the Envoy device itself:

sensor.envoy_xxx_batteries_available_energy
sensor.envoy_xxx_batteries_capacity
sensor.envoy_xxx_batteries_charge
sensor.envoy_xxx_batteries_power
sensor.envoy_xxx_current_power_consumption
sensor.envoy_xxx_current_power_consumption_lx
sensor.envoy_xxx_current_power_production
sensor.envoy_xxx_current_power_production_lx
sensor.envoy_xxx_current_voltage
sensor.envoy_xxx_current_voltage_lx
sensor.envoy_xxx_grid_profile
sensor.envoy_xxx_lifetime_energy_consumption
sensor.envoy_xxx_lifetime_energy_consumption_lx
sensor.envoy_xxx_lifetime_energy_production
sensor.envoy_xxx_lifetime_energy_production_lx
sensor.envoy_xxx_today_s_energy_consumption
sensor.envoy_xxx_today_s_energy_consumption_lx
sensor.envoy_xxx_today_s_energy_production
sensor.envoy_xxx_today_s_energy_production_lx
binary_sensor.envoy_xxx_grid_status

If you don't see the sensors you expect, please supply me with the debug/diagnostic information from the integration.

InitialGKL commented 3 weeks ago

Yes. After removing my previous enphase envoy custom repository again, this time with extra HA restarts, your integration works as expected. Just one thing: for a succesful setup of the envoy i had to configure an increased max time for data retrieval from the envoy, i chose 300s. 60 seconds was too short, it kept failing. Thanks!