hello, I would like to know if with this library I could do the date and time synchronization process of a landis gyr e650/e550 meter or if someone could help me to carry out this process.
I barely understand the protocol and the library but I haven't advanced much.
In general, you need to establish the connection using low or high authentication. Then you update the time and write it (attribute #2).
Landis+Gyr e650 is a special case. It doesn't support time zone and you need to set "Ignore Time Zone".
I believe that the easiest is if you try to update the clock with GXDLMSDirector first.
Hi, with Low "Data collector" it connects correctly.
Could it be some problem with the password or that Landis Gyr only supports the .MAP110's own authentication? (that is, the other mechanisms are disabled)
Low "Data collector" is the same as Low. Landis+Gyr is using custom way to count High authentication, but that should be supported in GXDLMSDirector. Can you connect using High authentication for your meter with Map 110 and add hex string here so I can check the bytes.
I also need your high-level password to verify it.
With the .MAP110 I connect through level 2 "Utility Field Service" with the password "1234567" and select "coded password" (as it appears in this image https://imgur.com/grusdxm)
The log generated by the process of "synchronizing the date and time" is this:
It looks like your meter is using High authentication and not HighSha1 with High Utility Field Service.
I believe that this is something that varies between Landis+Gyr meter models.
Try this:
Select High as authentication level.
Change client address from 0x12 to 0x30.
Set a password and try to connect.
Hi,
Hi,
In general, you need to establish the connection using low or high authentication. Then you update the time and write it (attribute #2).
Landis+Gyr e650 is a special case. It doesn't support time zone and you need to set "Ignore Time Zone".
I believe that the easiest is if you try to update the clock with GXDLMSDirector first.
https://www.gurux.fi/Gurux.DLMS.Objects.GXDLMSClock
BR,
Mikko
Hello, thanks for the answer.
Hello, thanks for the answer.
When trying to connect with the DLMSDirector with Low it shows error "Connection is permanently rejected. Authentication failure".
But with the program ".MAP110" if you can connect.
Hi,
Hi,
One of your settings is wrong. What authentication level do you try to use? What are your settings in Map110?
BR,
Mikko
Hi, thanks:
Hi, thanks:
GXDLMSDirector, with Low or High access level, with 00000000 or 1234567 coded password no work: https://imgur.com/k2bX5ye
.MAP 110 config, works: https://imgur.com/grusdxm
Would any GXDLSMDirector configuration emulate the .MAP110connection? Or what would I miss?
Hi,
Hi,
One of your settings is invalid. Try to change Low to "Data collector" and connect.
BR,
Mikko
Hi, with Low "Data collector"
Hi, with Low "Data collector" it connects correctly.
Could it be some problem with the password or that Landis Gyr only supports the .MAP110's own authentication? (that is, the other mechanisms are disabled)
Hi,
Hi,
Low "Data collector" is the same as Low. Landis+Gyr is using custom way to count High authentication, but that should be supported in GXDLMSDirector. Can you connect using High authentication for your meter with Map 110 and add hex string here so I can check the bytes.
I also need your high-level password to verify it.
BR,
Mikko
Hi thank you for your
Hi thank you for your collaboration.
With the .MAP110 I connect through level 2 "Utility Field Service" with the password "1234567" and select "coded password" (as it appears in this image https://imgur.com/grusdxm)
The log generated by the process of "synchronizing the date and time" is this:
717783859ms - DLMS Open
717783859ms - DLMS set State: OPENING
717783875ms - DLMS Init ShortName CommandHandler
717783875ms - LLC Open
717783875ms - HDLC Open
717783890ms - HDLC wait 200 ms
717784093ms - HDLC StartOpenEvent is set
717784109ms - HDLC set State: OPENING
717784109ms - HDLC StartDelay 25
717784109ms - HDLC S-> SNRM-Frame SrcAdr=48 DestAdr=1 SendFrSize=248 RecFrSize=248 Poll=True FrameValid=False
717784140ms - HDLC S-> 7EA01E036193AB7D8180120501F80601F807040000000108040000000155B67E
717784140ms - HDLC Start Frame Transfer
717784187ms - HDLC Frame transferred
717784218ms - HDLC StartDelay 25
717784218ms - HDLC R<- 7EA01E610373B57C8180120501F806013E070400000001080400000001480E7E
717784234ms - HDLC R<- UA-Frame SrcAdr=1 DestAdr=48 SendFrSize=248 RecFrSize=62 Poll=True FrameValid=True
717784234ms - HDLC Frame received
717784234ms - HDLC Frame received
717784234ms - HDLC set State: OPEN
717784234ms - LLC End Open
717784234ms - DLMS set State: AUTHENTICATION
717784234ms - DLMS S-> COSEM AARQ (with ACSE Requirements)
717784281ms - DLMS dlms SendReceive
717784281ms - DLMS S-> 603180020780A1090607608574050801028A0207808B0760857405080202AC028000BE0F040D01000000065F04001C1B200000
717784281ms - LLC SendReceive
717784281ms - LLC Send: E6E600603180020780A1090607608574050801028A0207808B0760857405080202AC028000BE0F040D01000000065F04001C1B200000
717784281ms - LLC S-> E6E600603180020780A1090607608574050801028A0207808B0760857405080202AC028000BE0F040D01000000065F04001C1B200000
717784281ms - HDLC HDLC DATA EXCHANGE
717784281ms - HDLC StartSendEvent is set
717784281ms - HDLC set State: SEND
717784281ms - HDLC S-> I-Frame SrcAdr=48 DestAdr=1 RecSeqNr=0 SendSeqNr=0 Segmentation=False Poll=True FrameValid=False
717784281ms - HDLC S-> 7EA03F036110D058E6E600603180020780A1090607608574050801028A0207808B0760857405080202AC028000BE0F040D01000000065F04001C1B200000384A7E
717784281ms - HDLC Start Frame Transfer
717784359ms - HDLC Frame transferred
717784453ms - HDLC StartDelay 25
717784453ms - HDLC R<- 7EA04F61033087C5E6E7006141A109060760857405080102A203020100A305A10302010E88020780890760857405080202AA0A80083036344430313433BE0F040D0800065F04001802201388FA0028427E
717784453ms - HDLC R<- I-Frame SrcAdr=1 DestAdr=48 RecSeqNr=1 SendSeqNr=0 Segmentation=False Poll=True FrameValid=True
717784453ms - HDLC Frame received
717784453ms - HDLC Frame received
717784453ms - HDLC set State: OPEN
717784453ms - LLC R<- E6E7006141A109060760857405080102A203020100A305A10302010E88020780890760857405080202AA0A80083036344430313433BE0F040D0800065F04001802201388FA00
717784453ms - LLC DataTyp: Response
717784453ms - LLC End SendReceive
717784453ms - DLMS R<- 6141A109060760857405080102A203020100A305A10302010E88020780890760857405080202AA0A80083036344430313433BE0F040D0800065F04001802201388FA00
717784468ms - DLMS check ACSE-Response Values
717784468ms - DLMS set State: HLS_AUTHENTICATION
717784484ms - DLMS dlms SendReceive
717784484ms - DLMS S-> 060102FA580109083136374435374233
717784484ms - LLC SendReceive
717784484ms - LLC Send: E6E600060102FA580109083136374435374233
717784484ms - LLC S-> E6E600060102FA580109083136374435374233
717784484ms - HDLC HDLC DATA EXCHANGE
717784484ms - HDLC StartSendEvent is set
717784484ms - HDLC set State: SEND
717784484ms - HDLC S-> I-Frame SrcAdr=48 DestAdr=1 RecSeqNr=1 SendSeqNr=1 Segmentation=False Poll=True FrameValid=False
717784484ms - HDLC S-> 7EA01C0361325EF0E6E600060102FA580109083136374435374233EB0F7E
717784484ms - HDLC Start Frame Transfer
717784515ms - HDLC Frame transferred
717784546ms - HDLC StartDelay 25
717784546ms - HDLC R<- 7EA00F6103522493E6E7000D010007E47E
717784546ms - HDLC R<- I-Frame SrcAdr=1 DestAdr=48 RecSeqNr=2 SendSeqNr=1 Segmentation=False Poll=True FrameValid=True
717784546ms - HDLC Frame received
717784546ms - HDLC Frame received
717784546ms - HDLC set State: OPEN
717784546ms - LLC R<- E6E7000D0100
717784546ms - LLC DataTyp: Response
717784546ms - LLC End SendReceive
717784546ms - DLMS R<- 0D0100
717784546ms - DLMS HLS-Authentication succeeded
717784546ms - DLMS set State: OPEN
717784609ms - COSEM Add Type=Read Obj=0xFD08 Sel=0 Data:null
717784609ms - COSEM Add Type=Read Obj=0xFF08 Sel=0 Data:null
717784609ms - COSEM Execute ShortName Commands
717784609ms - DLMS set State: SENDRECEIVE
717784625ms - COSEM Read: 0xFD08, 0xFF08,
717784625ms - DLMS dlms SendReceive
717784625ms - DLMS S-> 050202FD0802FF08
717784625ms - LLC SendReceive
717784625ms - LLC Send: E6E600050202FD0802FF08
717784625ms - LLC S-> E6E600050202FD0802FF08
717784625ms - HDLC HDLC DATA EXCHANGE
717784625ms - HDLC StartSendEvent is set
717784625ms - HDLC set State: SEND
717784625ms - HDLC S-> I-Frame SrcAdr=48 DestAdr=1 RecSeqNr=2 SendSeqNr=2 Segmentation=False Poll=True FrameValid=False
717784625ms - HDLC S-> 7EA014036154B613E6E600050202FD0802FF0854587E
717784625ms - HDLC Start Frame Transfer
717784640ms - HDLC Frame transferred
717784703ms - HDLC StartDelay 25
717784703ms - HDLC R<- 7EA0276103749BBDE6E7000C020009104C475A39373734343738300000000000000A03503035B4DE7E
717784703ms - HDLC R<- I-Frame SrcAdr=1 DestAdr=48 RecSeqNr=3 SendSeqNr=2 Segmentation=False Poll=True FrameValid=True
717784703ms - HDLC Frame received
717784703ms - HDLC Frame received
717784703ms - HDLC set State: OPEN
717784703ms - LLC R<- E6E7000C020009104C475A39373734343738300000000000000A03503035
717784703ms - LLC DataTyp: Response
717784703ms - LLC End SendReceive
717784703ms - DLMS R<- 0C020009104C475A39373734343738300000000000000A03503035
717784703ms - DLMS set State: OPEN
717784734ms - COSEM Clear Command List(s)
717785078ms - COSEM Add Type=Read Obj=0x3848 Sel=0 Data:null
717785078ms - COSEM Execute ShortName Commands
717785078ms - DLMS set State: SENDRECEIVE
717785078ms - COSEM Read: 0x3848,
717785093ms - DLMS dlms SendReceive
717785093ms - DLMS S-> 0501023848
717785093ms - LLC SendReceive
717785093ms - LLC Send: E6E6000501023848
717785093ms - LLC S-> E6E6000501023848
717785093ms - HDLC HDLC DATA EXCHANGE
717785093ms - HDLC StartSendEvent is set
717785093ms - HDLC set State: SEND
717785093ms - HDLC S-> I-Frame SrcAdr=48 DestAdr=1 RecSeqNr=3 SendSeqNr=3 Segmentation=False Poll=True FrameValid=False
717785093ms - HDLC S-> 7EA011036176F17FE6E600050102384806257E
717785093ms - HDLC Start Frame Transfer
717785109ms - HDLC Frame transferred
717785187ms - HDLC StartDelay 25
717785187ms - HDLC R<- 7EA03B610396122DE6E7000C01000A2A502E4D343043505453436D444F2E303230372E4C3031535674736674494C72624746686C637661533634D45C7E
717785187ms - HDLC R<- I-Frame SrcAdr=1 DestAdr=48 RecSeqNr=4 SendSeqNr=3 Segmentation=False Poll=True FrameValid=True
717785187ms - HDLC Frame received
717785187ms - HDLC Frame received
717785187ms - HDLC set State: OPEN
717785187ms - LLC R<- E6E7000C01000A2A502E4D343043505453436D444F2E303230372E4C3031535674736674494C72624746686C637661533634
717785187ms - LLC DataTyp: Response
717785187ms - LLC End SendReceive
717785187ms - DLMS R<- 0C01000A2A502E4D343043505453436D444F2E303230372E4C3031535674736674494C72624746686C637661533634
717785187ms - DLMS set State: OPEN
717785187ms - COSEM Clear Command List(s)
717787218ms - COSEM Add Type=Write Obj=0x2BC8 Sel=0 Data:090CFF00FFFFFFFFFFFFFF8000FF
717787218ms - COSEM Execute ShortName Commands
717787218ms - DLMS set State: SENDRECEIVE
717787218ms - DLMS dlms SendReceive
717787218ms - DLMS S-> 0601022BC801090C07E6030802100530008000FF
717787218ms - LLC SendReceive
717787218ms - LLC Send: E6E6000601022BC801090C07E6030802100530008000FF
717787218ms - LLC S-> E6E6000601022BC801090C07E6030802100530008000FF
717787218ms - HDLC HDLC DATA EXCHANGE
717787218ms - HDLC StartSendEvent is set
717787218ms - HDLC set State: SEND
717787218ms - HDLC S-> I-Frame SrcAdr=48 DestAdr=1 RecSeqNr=4 SendSeqNr=4 Segmentation=False Poll=True FrameValid=False
717787218ms - HDLC S-> 7EA020036198C821E6E6000601022BC801090C07E6030802100530008000FF41877E
717787218ms - HDLC Start Frame Transfer
717787265ms - HDLC Frame transferred
717787281ms - HDLC StartDelay 25
717787281ms - HDLC R<- 7EA00F6103B870DBE6E7000D010007E47E
717787281ms - HDLC R<- I-Frame SrcAdr=1 DestAdr=48 RecSeqNr=5 SendSeqNr=4 Segmentation=False Poll=True FrameValid=True
717787281ms - HDLC Frame received
717787281ms - HDLC Frame received
717787281ms - HDLC set State: OPEN
717787281ms - LLC R<- E6E7000D0100
717787281ms - LLC DataTyp: Response
717787281ms - LLC End SendReceive
717787281ms - DLMS R<- 0D0100
717787281ms - DLMS set State: OPEN
717787296ms - COSEM Clear Command List(s)
717787296ms - DLMS Close
717787296ms - DLMS set State: CLOSING
717787296ms - LLC Close
717787296ms - HDLC Close
717787296ms - HDLC set State: DISCONNECTING
717787296ms - HDLC S-> DISC-Frame SrcAdr=48 DestAdr=1 Poll=True FrameValid=False
717787312ms - HDLC S-> 7EA00703615365817E
717787312ms - HDLC Start Frame Transfer
717787328ms - HDLC Frame transferred
717787375ms - HDLC StartDelay 25
717787375ms - HDLC R<- 7EA01E610373B57C8180120501F806013E070400000001080400000001480E7E
717787375ms - HDLC R<- UA-Frame SrcAdr=1 DestAdr=48 SendFrSize=248 RecFrSize=62 Poll=True FrameValid=True
717787375ms - HDLC Frame received
717787375ms - HDLC Frame received
717787375ms - HDLC set State: CLOSED
717787375ms - LLC End Close
717787375ms - DLMS set State: CLOSED
Hi,
Hi,
Can you connect if you select "High Utility Field Service" as the authentication level in GXDLMSDirector and set the "1234567" as the password?
BR,
Mikko
Hi,
Hi,
No connect sir, I attach images of how I configure it: https://imgur.com/a/EDFNmZ4
Hi,
Hi,
It looks like your meter is using High authentication and not HighSha1 with High Utility Field Service.
I believe that this is something that varies between Landis+Gyr meter models.
Try this:
Select High as authentication level.
Change client address from 0x12 to 0x30.
Set a password and try to connect.
BR,
Mikko