-
Notifications
You must be signed in to change notification settings - Fork 23
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
Unknown tag 0x100003E in response to EMS_REQ_GET_MANUAL_CHARGE #109
Comments
Uhm, the tag is not present in the rscp library of the portal website, at least the version that is loaded for my system... |
@fsantini same here, nevertheless we seem to get it out in the wild. The core parser code in pye3dc then fails on this. Apparently this came in with the latest firmware, which I did not get yet (2024_06 or something like that, see the referenced bugs). Maybe adding some kind of catch which handles such cases gracefully would be an idea? In the meantime, I'll disable the above call in the HA integration to get it working again. |
@fsantini how can i provide this kind of java file for my system with the latest FW 2023_06 ? |
@fsantini Thanks. The result is good or bad, depends. The files are the same. |
@fsantini same here, and in the new portal (my.e3dc.com) I can't even identify something like this, everything's hidden behind the backend here. I've had a thought: What about hardening the code against unknown tags? If we can't parse them, instead throwing an exception, we instead add the result with its hex code or something like this, effectively mimicking the tag, so that we don't crash? That would give us more resilience at least, also allowing easier reverse-engineering, if necessary. If you like the idea, would you need help in implementing something like this? |
@torbennehmer and @fsantini Maybe E3DC can provide us with further information, I opened a ticket there and now received a query from E3DC:
Can you give me the answer that I can then forward to E3DC? |
@kobelka We are querying TAG_EMS_REQ_GET_MANUAL_CHARGE (0x0100008E) and try to parse the response against the list of known tags (the RSCP-tags-official excel file one can download). |
@fsantini I have an idea what this tag could mean, when looking at the new portal, there is an information when you can again initiate manual charging, maybe this is the new tag? |
Hi @fsantini, |
Hi @fsantini , thanks for merging #117. Would it be possible that you push out a new release with this fix? I'm currently upgrading a number of dependencies, including HA itself, for the HA integration and would like to pull in that fix as well at that opportunity. |
Hi @fsantini,
with the most recent firmware upgrade of the E3DCs, the API for EMS_REQ_GET_MANUAL_CHARGE seems to have changed.
Seen in
In my case this is triggered by this code snippet:
Resulting in this Stacktrace:
The workaround of @kobelka in #108 will hide the problem, however it doesn't really solve it. I can't reverse engineer that at the moment as my E3DC is still using the old firmware.
I'm not sure, what the best approach would be at the moment for pye3dc. For HACS-E3DC, i'll disable the piece of code for the moment as a hotfix, as its around manual charging, we'll probably can live with that for the moment.
The text was updated successfully, but these errors were encountered: