Skip to content
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

Support for Logarex D0 Protocol #90

Open
Megachip opened this issue Oct 22, 2021 · 6 comments
Open

Support for Logarex D0 Protocol #90

Megachip opened this issue Oct 22, 2021 · 6 comments

Comments

@Megachip
Copy link

Megachip commented Oct 22, 2021

Documentation

Seems 5S is the only one, which detects the Power Meter

@Megachip
Copy link
Author

Some more Outputs, if required.

@Megachip
Copy link
Author

@Aeroid & @lowdef may you can help? Looks like you implemented the Q3D, which also using D0 Protocol

@Megachip
Copy link
Author

Megachip commented Jan 9, 2023

Error doing job: Exception in callback SerialTransport._read_ready()
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/asyncio/events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/local/lib/python3.10/site-packages/serial_asyncio/__init__.py", line 120, in _read_ready
    self._protocol.data_received(data)
  File "/usr/local/lib/python3.10/site-packages/dsmr_parser/clients/rfxtrx_protocol.py", line 55, in data_received
    subtype = data[2]
IndexError: index out of range

@Megachip
Copy link
Author

Megachip commented Jan 17, 2024

Beschreibung der Register

1-0:96.1.0*255(001LOG0065800041) Hersteller unabhängige Identifikationsnummer – Produktionsnummer
1-0:1.8.0*255(000000.0000*kWh) Kumulatives Register der aktiven Energie in kWh T1+T2
1-0:1.8.1*255(000000.0000*kWh) Kumulatives Register der aktiven Energie in kWh T1
1-0:1.8.2*255(000000.0000*kWh) Kumulatives Register der aktiven Energie in kWh T2
1-0:2.8.0*255(000000.0000*kWh) -A Enerige
1-0:16.7.0*255(000000*W) Stromeffektivwert
1-0:32.7.0*255(000.0*V) Spannung L1, Auflösung 0.1 V 
1-0:52.7.0*255(000.0*V) Spannung L2, Auflösung 0.1 V 
1-0:72.7.0*255(228.8*V) Spannung L3, Auflösung 0.1 V 
1-0:31.7.0*255(000.00*A) Strom L1, Auflösung 0.01 A 
1-0:51.7.0*255(000.00*A) Strom L2, Auflösung 0.01 A 
1-0:71.7.0*255(000.00*A) Strom L3, Auflösung 0.01 A 
1-0:81.7.1*255(000*deg) Phasenwinkel UL2 : UL1 
1-0:81.7.2*255(000*deg) Phasenwinkel UL3 : UL1 
1-0:81.7.4*255(000*deg) Phasenwinkel IL1 : UL1 
1-0:81.7.15*255(000*deg) Phasenwinkel IL2 : UL2 
1-0:81.7.26*255(000*deg) Phasenwinkel IL3 : UL3 
1-0:14.7.0*255(50.0*Hz) Netz Frequenz in Hz
1-0:1.8.0*96(00000.0*kWh) Historischer Energieverbrauchswert vom letzten Tag (1d) 
1-0:1.8.0*97(00000.0*kWh) Historischer Energieverbrauchswert der letzten Woche (7d) 
1-0:1.8.0*98(00000.0*kWh) Historischer Energieverbrauchswert des letzten Monats (30d) 
1-0:1.8.0*99(00000.0*kWh) Historischer Energieverbrauchswert des letzten Jahres (365d) 
1-0:1.8.0*100(00000.0*kWh) Historischer Energieverbrauchswert seit letzter Rückstellung
1-0:0.2.0*255(ver.03,432F,20170504) Firmware Version, Firmware Prüfsumme CRC , Datum
1-0:96.90.2*255(F0F6) Prüfsumme - CRC der eingestellten Parameter
1-0:97.97.0*255(00000000) FF - Status Register - Interner Gerätefehler

@Megachip Megachip changed the title Support for Logarex Support for D0 Protocol Oct 29, 2024
@Megachip Megachip changed the title Support for D0 Protocol Support for Logarex D0 Protocol Oct 29, 2024
@Megachip
Copy link
Author

2024-10-29 16:07:23.652 ERROR (MainThread) [dsmr_parser.clients.protocol] failed to parse telegram
File "/usr/local/lib/python3.12/site-packages/dsmr_parser/clients/protocol.py", line 159, in handle_telegram
File "/usr/local/lib/python3.12/site-packages/dsmr_parser/parsers.py", line 83, in parse
File "/usr/local/lib/python3.12/site-packages/dsmr_parser/parsers.py", line 131, in validate_checksum
dsmr_parser.exceptions.ParseError: Failed to perform CRC validation because the telegram is incomplete. The checksum and/or content values are missing.
2024-10-29 16:09:27.667 ERROR (MainThread) [dsmr_parser.clients.protocol] failed to parse telegram
File "/usr/local/lib/python3.12/site-packages/dsmr_parser/clients/protocol.py", line 159, in handle_telegram
File "/usr/local/lib/python3.12/site-packages/dsmr_parser/parsers.py", line 83, in parse
File "/usr/local/lib/python3.12/site-packages/dsmr_parser/parsers.py", line 131, in validate_checksum
dsmr_parser.exceptions.ParseError: Failed to perform CRC validation because the telegram is incomplete. The checksum and/or content values are missing.

@ndokter
Copy link
Owner

ndokter commented Oct 29, 2024

Hi @Megachip i see its complaining about the CRC check. If i check the previous DSMR message here https://community.home-assistant.io/t/edl21-adding-support-for-logarex/343883 then i see that there is no CRC info. So i don't think you should enable CRC checking

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants