-
Notifications
You must be signed in to change notification settings - Fork 4
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
Error setting up integration #8
Comments
Seems like the disconnect is caused by: And it seems like it fails to parse because: The '632525252525W' value is not a valid date it expects. This should already be fixed in dsmr_parser that this is handled, see ndokter/dsmr_parser@edf535f Can you check "/usr/local/lib/python3.11/site-packages/dsmr_parser/value_types.py" if it contains that commit? |
No, it does not. 🤔
|
That's not correct! Are you using the latest version of this integration? Cause this HACS integration depends on dsmr-parser=1.2.3: https://github.com/dupondje/homeassistant-dsmr/blob/main/custom_components/dsmr/manifest.json#L10 |
Home-Assistant should update the version to the one required in the dsmr integration. |
But the file still doesn't seem to contain the correct code. File "/usr/local/lib/python3.11/site-packages/dsmr_parser/value_types.py", line 7, in timestamp While the strptime call should be on line 8 on 1.2.3 |
Yeah, you're correct. The files don't have the correct code in them... I'll leave it for what it is and just wait for the new parser to be included in the container. |
Couldn't leave it alone 🤷♂️ But now it is working in HAOS.
I've been playing around with them (updating the content, renaming them) and after a system reboot of HAOS it just worked, restarting Home Assistant wasn't enough though. Now I need to see if I get it also working in the HA container. |
same for docker containers. |
The defaut DSMR integration works just fine, but the moment I install this custom integration the P1 port seems to be unreachable (and it isn't).
HA version: 2023.6.3, running as docker container
P1 is connected via ser2net module (https://www.zuidwijk.com/product/p1-reader-ethernet/)
Once I configure the HACS integration the connection is lost and cannot be restored for some reason, at the same time connecting via PuTTY is working fine though.
There are also some rather weird errors in the logs:
The telegram message:
Mind you:
There is only an electricity meter and a water meter installed, there is no gas meter connected
The text was updated successfully, but these errors were encountered: