has anyone been successfull in reading data from a Sagemcom T210-D meter? Im trying to connect through a serial connection (P1 Port). My Austrian energy provider (located in Styria - called E-Netze) provided me a "Global Unicast Encryption Key (GUEK)" and a Global Authentication Key (GAK).
I'm trying to connect with follwing settings:
Device Settings:
Manufacturer: Sagemcom Energy & Telecom
Interface: HDLC
Authentication: None
Client Address: 10
Media: Serial
Secured Connections:
Block Cipher Key: Global Unicast Encryption Key (GUEK)
Authentication Key: Global Authentication Key (GAK)
I'm not getting any response from my meter. Under linux (with hexdump) every 3 to 5 seconds some data gets transmitted.
Your meter is sending push messages where is correct data. If you don't need anything else you can decrypt the data quite easily if your data is starting with 0x7E. If it starts with 0x7E data is sent in HDLC frames. Download GXDLMSDirector. Then select "Tools" and "DLMS Translator". Then select "Ciphering" tab and set Block Cipher and Authentication Keys. Then select "PDU" tab and paste the received hex string to the upper window. Press PDU to XML button and you can see data that you have received.
Paste received push message here if you have problems.
If you can see the data you need to select what programming language you want to use and download the library from here: https://github.com/gurux
You can see DLMS Push Listener Example for c# in here:
Your Block cipher key is wrong. There are two options.
1. You have the wrong Global Unicast Encryption key. You need to check this from the metering company.
2. Meter is using a different key for Broadcast messages. Do you have Global Broadcast encryption key?
If you don't, contact the metering company.
Hi,
here is the process to decrypt the message from Sagemcom T210-D with Gurux DLMS translator.
1) In Chipering section add the following:
- Security suite: Suite0
-Security: AuthenticationEncryption (if you have both Cipher and Auth keys, otherwise chose accordingly)
2) Go to PDU section and paste raw data (it starts with "db") and click the magnification icon
In the decoded text you should get <SystemTitle Value="someValue" /> and <CipheredService Value=....>
3) Go back to Chipering section and paste SystemTitle Value to Server System title
4) Go back to PDU and click the magnification icon once again. Now you should see section <!-- Decrypt data: ....>
Hi,
Hi,
Your meter is sending push messages where is correct data. If you don't need anything else you can decrypt the data quite easily if your data is starting with 0x7E. If it starts with 0x7E data is sent in HDLC frames. Download GXDLMSDirector. Then select "Tools" and "DLMS Translator". Then select "Ciphering" tab and set Block Cipher and Authentication Keys. Then select "PDU" tab and paste the received hex string to the upper window. Press PDU to XML button and you can see data that you have received.
Paste received push message here if you have problems.
If you can see the data you need to select what programming language you want to use and download the library from here:
https://github.com/gurux
You can see DLMS Push Listener Example for c# in here:
https://github.com/Gurux/Gurux.DLMS.Net/tree/master/Gurux.DLMS.Push.Lis…
BR,
Mikko
Hello Mikko,
Hello Mikko,
thanks for your fast reply. I pasted the serial data and now get the following output (PDU to XML):
<!--
IDIS system title:
Manufacturer Code: SAG
Function type:
Serial number: 131214
-->
<GeneralGloCiphering>
<SystemTitle Value="534147350002008E" />
<CipheredService Value="300002778C2883D52AE0A163CB1F3595C3C69B387E31AE6C10364F205A046F252CABB3EBBD185C4046E000423D1571863E5CC87FC2A0C8CBD4EC32D3A7755B11D783BEB42BD430C6A41E133AC881EF48A54809BFFEF78502D8701D1A5CE12010096165AA717BF4A066B5A2AF86575200355A5CA337427B0084E76C4ADF3222CC890EF10D163A180E06B7F7812AFD0212635A4E66CEBD522FD5482DB7069F446F340459B71C6DF9E947805C442BC918D7A5977F6EC8B1C80DB704847E0791291784685478F094F2055EFF56D137BB0759819EF44A8D1AF15CB222B65D2E2E1652A7088BE47FBBB764AD9DACF43FE426A556CF884420A3CFB9A599E2351E85973656FFBA45FB2D5A68EDEAAA1156E7594DD93ECDDEA5D6CAFBA4483EE7EFD5648FDB23904A0FDF0C991634A07801FAE4FEB18C4506A34FD010C03FD492AB9F72648198B2DAC13320706666DE29980C4FEA113958F013FD5B725D33E74901F15B85E7F4B1D090FC9AE0E145D7CC36BFE3A0446AB592D41BA6FDEE5F3470801071D761F12C697449AA8B2E2CC7D79ACB6DD180FB5DA60E03C61A4AD3B9D07BB94D7B6BFD27C543F1BDBDDABB7A9B0975BB22AD586A8F20F81488D32CAA25B1A21773C0DCC54CADE16E8D223249E4D4412B7336888504484AECE5ACD59283D1B1C70BA4EAC36B2EE72BC76AB2FEA3FD58A5B095A7" />
</GeneralGloCiphering>
Manufacturer, Serial number and System Title can be read. How do I decrypt the other data?
Thanks,
Mike
Hi,
Hi,
Your Block cipher key is wrong. There are two options.
1. You have the wrong Global Unicast Encryption key. You need to check this from the metering company.
2. Meter is using a different key for Broadcast messages. Do you have Global Broadcast encryption key?
If you don't, contact the metering company.
BR,
Mikko
Hi Mikko,
Hi Mikko,
I will check this with my provider. Maybe they sent me the wrong keys.
Thanks a lot,
Mike
Hi
Hi
I am having the same problem at the moment. I cannot decrypt the message. Did you get another key from your provider?
Hi, here is the process to…
Hi,
here is the process to decrypt the message from Sagemcom T210-D with Gurux DLMS translator.
1) In Chipering section add the following:
- Security suite: Suite0
-Security: AuthenticationEncryption (if you have both Cipher and Auth keys, otherwise chose accordingly)
2) Go to PDU section and paste raw data (it starts with "db") and click the magnification icon
In the decoded text you should get <SystemTitle Value="someValue" /> and <CipheredService Value=....>
3) Go back to Chipering section and paste SystemTitle Value to Server System title
4) Go back to PDU and click the magnification icon once again. Now you should see section <!-- Decrypt data: ....>
5) Copy the hex message and paste it to https://www.rapidtables.com/convert/number/hex-to-ascii.html or some other hex to ascii converter
6) Now you should see the OBIS codes and measurements