-
-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Problem
When your SENEC.Home will be updated to v0825 (also after the update to v0826) the integration is not able to provide data for a couple of sensors..
Affected Sensors (that's all the total sum data displayed in kWh):
- House consumed
- Solar generated
- Battery charged
- Battery discharged
- Grid Imported
- Grid Exported
- Wallbox charged
The reason behind is, that SENEC has decided to exclude 'STATISTIC' information from the response of the 'lala.cgi'... That's quite sad, since these sensors are mainly used for the Home Assistent Energy View...
Right now there is no quick fix to this situation - but since also data for 'DISPLAY' is missing my guess is, that SENEC is just building so called Banana-Software. Without "DISPLAY" information from the lala.cgi the /Display.html does not work at all - so I have hope, that the empty response parts have slipped through QA/QC
Current Solutions to access your statistics data
Please read the complete post/Issue text - since at the bottom you will find important information for you Energy Dashboard
'mein-senec.de' WebAPI
UPDATE 2025/07/15 THIS IS NOT WORKING ANYLONGER with the WebAPI part of this SENEC-Integration
When you update this Integration (ha-senec-v3) to the latest version you have the option to add an additional integration entry. When you start the process you have to select 'WEB.API: mein-senec.de Portal (usable with all SENEC.Home variants)' from the selection list and then provide your mein-senec.de credentials. This will add 13 additional Sensors to your Home Assistant (currently wallbox data is missing - cause I don't have one (yet)) - when you know the fields in the web-api - just let me know. Thanks to @mstuettgen!
Mapping lala.cgi to web-api Sensor names
Please find below a table comparing the sensor names between the classic integration and the web-api based integration - this comparison assume, that you did not change the names ['senec' & 'senec_wabapi'] since they will be used as prefixes
Name | lala.cgi based | web-api |
---|---|---|
House consumed | sensor.senec_house_total_consumption |
sensor.senec_wabapi_consumption_total |
Solar generated | sensor.senec_solar_total_generated |
sensor.senec_wabapi_powergenerated_total |
Battery discharged | sensor.senec_battery_total_discharged |
sensor.senec_wabapi_accuimport_total |
Battery charged | sensor.senec_battery_total_charged |
sensor.senec_wabapi_accuexport_total |
Grid Imported | sensor.senec_grid_total_import |
sensor.senec_wabapi_gridimport_total |
Grid Exported | sensor.senec_grid_total_export |
sensor.senec_wabapi_gridexport_total |
Wallbox charged | sensor.senec_wallbox_energy |
-not-implemented-yet- |
Riemann Sum Integal Platform
AS WORKARROUND you can add the following section to your ha configuration.yaml
(if you have already a sensor section obviously you just need to add the sensor's itself) - unfortunatly the the integration platform does not allow to provide icon's - so you have to edit them manually later via the GUI (if you need/want them)...
Please note, that the source
sensor names based on the default integration name 'senec' - if you modified the name during the initial setup you need to adjust the source sensors.
sensor:
- platform: integration
source: sensor.senec_house_power
name: senec_house_total_consumption_fb
unique_id: senec_house_total_consumption_fb
#icon: mdi:home-import-outline
unit_prefix: k
round: 2
- platform: integration
source: sensor.senec_solar_generated_power
name: senec_solar_total_generated_fb
unique_id: senec_solar_total_generated_fb
#icon: mdi:solar-power
unit_prefix: k
round: 2
- platform: integration
source: sensor.senec_battery_charge_power
name: senec_battery_total_charged_fb
unique_id: senec_battery_total_charged_fb
#icon: mdi:home-battery
unit_prefix: k
round: 2
- platform: integration
source: sensor.senec_battery_discharge_power
name: senec_battery_total_discharged_fb
unique_id: senec_battery_total_discharged_fb
#icon: mdi:home-battery-outline
unit_prefix: k
round: 2
- platform: integration
source: sensor.senec_grid_imported_power
name: senec_grid_total_import_fb
unique_id: senec_grid_total_import_fb
#icon: mdi:transmission-tower-import
unit_prefix: k
round: 2
- platform: integration
source: sensor.senec_grid_exported_power
name: senec_grid_total_export_fb
unique_id: senec_grid_total_export_fb
#icon: mdi:transmission-tower-export
unit_prefix: k
round: 2
# - platform: integration
# source: sensor.senec_???
# name: senec_wallbox_energy_fb
# unique_id: senec_wallbox_energy_fb
# icon: "mdi:ev-station"
# unit_prefix: k
# round: 2
Handling the change of the EntityIDs in the Energy Dashboard
Since we have the situation, that some SENEC.Home Systems still return STATISIC data (since they are not updated) and that this data might come back with another Update - who knows? - the EntityIDs of the new Sensors (that have been added in both cases (WebAPI or Riemann)) are different by purpose.
When you want to keep your historic data in the Energy Dashboard (and I guess you want) then the current known best way is described here in an additional issue: How to configure Energie Dashboards (after SENEC.Home have been updated to 0825+)