Kleinrotti / hass-senertec

Home Assistant custom component integration for Senertec energy units.
Apache License 2.0
1 stars 1 forks source link

Some values are incorrect #12

Open pthoelken opened 1 month ago

pthoelken commented 1 month ago

Some values a incorrect like these.

Homeassistant 43.000 (thausend) kWh

image

Dachsportal 43 kWH (correct value)

image

I miss this value in Homeassistant either

image

Is there a way to get the information how many CNG the heating unit are consumed today and over all?

Kleinrotti commented 1 month ago

The values for the current day are calculated by the backend of the Dachportal and cannot be received from the heating unit as I remember. But you can use Homeassistans utility meter to calculate it yourself. I think the Thermal energy sensor displays the produced energy since commissioning.

Could be possible to get a CNG value. But I don't now the datapoint name for that. You can use the py-senertec library to get all available datapoints and search for it. You can try it with this example script. Then you can add that datapoint name to the productGroups.json of the hass plugin.

pthoelken commented 1 month ago

Thanks for your message. I didn't find the value sensor.xxxxx_power_inverter (I've been looking for *_inverter) in the developer tools which you mean here: https://github.com/Kleinrotti/hass-senertec/issues/8#issuecomment-1749307757

Which value can I choose?

Also I've checked the export.txt from the same issue, which provide me the available sensors and data ... I didn't find values about Gas or CNG.

Kleinrotti commented 1 month ago

The sensor name in homeassistant is individual. You have to look for the sensor which provides the power value in watts or kilowatts.

pthoelken commented 1 month ago

I have just these values

image