Bouni / luxtronik

Luxtronik integration for Home Assistant
MIT License
82 stars 13 forks source link

Not in list #39

Closed Kh3nsu closed 2 years ago

Kh3nsu commented 2 years ago

Heyho I just noticed some errors popping up in my logs:

Logger: Luxtronik.Visibilities Source: /usr/local/lib/python3.9/site-packages/luxtronik/visibilities.py:377 First occurred: 14. April 2022, 17:53:28 (2069 occurrences) Last logged: 20:54:38

Visibility '355' not in list of visibilities

Logger: Luxtronik.Calculations Source: /usr/local/lib/python3.9/site-packages/luxtronik/calculations.py:309 First occurred: 14. April 2022, 17:53:28 (6207 occurrences) Last logged: 20:54:38

Calculation '260' not in list of calculationss Calculation '261' not in list of calculationss Calculation '262' not in list of calculationss

Logger: Luxtronik.Parameters Source: /usr/local/lib/python3.9/site-packages/luxtronik/parameters.py:1165 First occurred: 14. April 2022, 17:53:28 (2069 occurrences) Last logged: 20:54:38

Parameter '1126' not in list of parameters

At the moment this is my config:

  • platform: luxtronik scan_interval: 30 sensors:
  • id: ID_WEB_Temperatur_TA friendly_name: Aussentemperatur_raw group: calculations
  • id: ID_Soll_BWS_akt friendly_name: Haus_Warmwasser_Soll group: parameters
  • id: ID_WEB_Temperatur_TVL friendly_name: Haus_Vorlauf group: calculations
  • id: ID_WEB_Temperatur_TRL friendly_name: Haus_Ruecklauf group: calculations
  • id: ID_WEB_Temperatur_TBW friendly_name: Haus_Warmwasser_Ist group: calculations
  • id: ID_Ba_Hz_akt friendly_name: Haus_Heating_Circuit group: parameters
  • id: ID_Ba_Bw_akt friendly_name: Haus_Warmwasser_Circuit group: parameters
  • id: ID_WEB_WP_BZ_akt friendly_name: Haus_Current_State group: calculations
Kh3nsu commented 2 years ago

image

Bouni commented 2 years ago

This simply means that your version of the firmware reports more data back than this plugin currently is aware of. I think wee should change the way of how the plugin handles unknown parameters to prevent filling up the logs ...

Ornias1993 commented 2 years ago

same problem on an alpha innotec. A shame really :(

Bouni commented 2 years ago

The latest release should prevent the filling of the logs as well as automatically add unknown Calculations/Parameters/Visibilities as Unknown_[Calculation|Parameter|Visibility]_<number>.

I cannot test this as I have no additional unknown parameters, so please let me know if this works for you guys!

Kh3nsu commented 2 years ago

I cannot test this as I have no additional unknown parameters, so please let me know if this works for you guys!

Sorry for the late respone! It is working, at least I'm not getting any log entries anymore about unkown parameters etc.

Bouni commented 2 years ago

Nice, thanks for the feedback!