Open CamBanfield opened 1 day ago
I have the same problems since the update inside the enpal box.
I have the same problems since the update inside the enpal box.
Since 2024/11/20 I lost also all values for Battery metrics. I use HA and Grafana/InfuxDB. I doesn't found any renames for all this Value in Who can fix this Problem??
My values for import/export solar also changed from "+" to "-" some times ago!!
I have fixed the sensor.py (-->/homeassistant/custom_components/enpal/sensor.py) and in sector #battery new measurements and fields changed. Now it works fine with new values!
Please send me an answer if this best way to fix the Problem! THX Michael
line:66
if measurement == **"system" and field == "Power.Consumption.Total"**:
to_add.append(EnpalSensor(field, measurement, 'mdi:home-lightning-bolt', 'Enpal Power **Verbrauch** Total', config['enpal_host_ip'], config['enpal_host_port'], config['enpal_token'], 'power', 'W'))
line:105
if measurement == **"system" and field == "Power.Storage.Total":**
to_add.append(EnpalSensor(field, measurement, 'mdi:battery-charging', 'Enpal Battery Power', config['enpal_host_ip'], config['enpal_host_port'], config['enpal_token'], 'power', 'W'))
if measurement == **"system" and field == "Percent.Storage.Level":**
to_add.append(EnpalSensor(field, measurement, 'mdi:battery', 'Enpal Battery Percent', config['enpal_host_ip'], config['enpal_host_port'], config['enpal_token'], 'battery', '%'))
if measurement == **"system" and field == "Energy.Storage.Total.In.Day":**
to_add.append(EnpalSensor(field, measurement, 'mdi:battery-arrow-up', 'Enpal Battery Charge Day', config['enpal_host_ip'], config['enpal_host_port'], config['enpal_token'], 'energy', 'kWh'))
#if measurement == "battery" and field == "Energy.Storage.Total.Out.Day":
# to_add.append(EnpalSensor(field, measurement, 'mdi:battery-arrow-down', 'Enpal Battery Discharge Day', config['enpal_host_ip'], config['enpal_host_port'], config['enpal_token'], 'energy', 'kWh'))
#if measurement == "battery" and field == "Energy.Battery.Charge.Total.Unit.1":
# to_add.append(EnpalSensor(field, measurement, 'mdi:battery-arrow-up', 'Enpal Battery Charge Total', config['enpal_host_ip'], config['enpal_host_port'], config['enpal_token'], 'energy', 'kWh'))
#if measurement == "battery" and field == "Energy.Battery.Discharge.Total.Unit.1":
# to_add.append(EnpalSensor(field, measurement, 'mdi:battery-arrow-down', 'Enpal Battery Discharge Total', config['enpal_host_ip'], config['enpal_host_port'], config['enpal_token'], 'energy', 'kWh'))
I'm not using this integration, however I'm pretty sure you will be facing the same issue.
As of the latest Enpal box update
Solar Rel. 8.43.1+243312 (18.11.2024)
it appears that a few metrics are no longer being saved into influxdb.Power.Consumption.Total
undersystem
and notinverter
I had made a custom Grafana dashboard and I now no longer have metrics for any battery data :(
How supported is the access to influxdb, could one submit a ticket to Enpal and report the missing metrics? I found access to the InfluxDB and token a while back and didn't know if this is supported or even "allowed" by Enpal. Over the past year I have noticed a lot of values keep moving around, names changing and at some cases broken (the kwh import / export was reversed for a month)
Wondering if anyone else has lost battery metrics along with the latest update?
Many thanks