-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Couldn't handle 'Informationen.Energiemonitor' #317
Comments
The "Energiemonitor" was changed in Version 3.8.8. I just joined to Github for this issue. src/lux-meta.ts But I have no clue on how or what else :D |
same here :) |
it would be great to be able to log this too... I tried to have a look myself, but just didn't understand how the luxmet.js file needs to be updated... Please help us! really great adapter!! |
Same issue here |
I did some investigation. It seems that with the new update to 3.8.8 the data of the heatpump has a new sublevel after the "energiemonitor" - it splits up in 'Wärmemenge' and 'Eingesetzte Energie'. Therefore the skript reading the values would need to consider this additional level as well. Is there someone who can add this loop of investigation? |
Hey @UncleSamSwiss any chance you can have a look at this? As mentioned above, the values for 'Wärmemenge' are now in a different section, once the Luxtronik got updated to a later version: You can also see this on the Website of the Luxtronik as well: Thank you 👍 |
I looked at the code and I think I found the bug. The problem seems to be in function handleWsMessageAsync in line 383 onwards in main.js. It misinterprets the subSections "Eingesetzte Energie" and "Wärmemenge" as items and doesn't loop through the actual "subitems". I created an additional check for the subsections and its items. It seems to work for me. DISCLAIMER: I take no responsebility whatsoever for my code and any potential damage on your devices! I created the fix primarily for myself and won't maintain it. You can try my fix here: https://github.com/protree/ioBroker.luxtronik2 If I find some spare time I might clean up the code and create a pull request. EDIT: I don't really understand what the function createLuxTreeAsync actually does but it doen't seem to be related to the problem... |
Hi @protree, |
Super, this works out perfectly! Thank you very much! |
Since the update to the firmware version wp2reg-V3.88.0-9015 the values for the "Wärmemenge" und "Eingesetzte Energie" are no longer read:
luxtronik2.0 2023-01-21 10:48:53.092 error Couldn't handle 'Informationen.Energiemonitor' -> 'Wärmemenge': Error: setStateAsync() not supported on section.
luxtronik2.0 2023-01-21 10:48:32.709 error Couldn't handle 'Informationen.Energiemonitor' -> 'Eingesetzte Energie': Error: setStateAsync() not supported on section.
IOBroker:
Version: v6.3.5
Plattform: linux
RAM: 971.6 MB
Node.js: v14.21.1
NPM: 6.14.17
Adapter: luxtronik2 v0.4.2
Heatpump:
Manufacturer: Alpha-Innotec
Product: SWC122H3
Steering: Luxtronik 2.0
Firmware new: wp2reg-V3.88.0-9015
Firmware old: wp2reg-V3.87.1-8454
The text was updated successfully, but these errors were encountered: