RestAddress: http://localhost:64881
Database type: SQLite
Connecting: Data Source=:memory:
Creating tables.
Service started: http://localhost:64881
warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3]
Failed to determine the https port for redirect.
The meter is connecting and reading fine in DLMSDirector, when added to DLMS.AMI and its attributes are attached to a scheduler, the scheduler is executed on time but I have "Fail" reading the meter as follows:
fail: Gurux.DLMS.AMI.Reader.ReaderService[0]
Failed to receive reply from the device in given time.
Even if the "Read" is success (No Fail Message), the value is shown as "0" which is not the actual value, and no database records for any values (dbo.GXValue Table).
GXDLMSDirector doesn't show an error for the failed read at the moment and value is zero. I'll add this to the worklist so an error is shown in GXDLMSDirector.
Get the latest version from Gurux.DLMS.AMI. It will show send and received bytes in the console as default. Can you post a trace here so I can check what is the problem?
I got the latest version of DLMS.AMI, below is the trace log:
RestAddress: http://localhost:64881
Database type: MSSQL
Connecting: Server=localhost\SQLEXPRESS;Database=AR;User=sa;Password=Pass;
Creating tables.
Service started: http://localhost:64881
Reader trace level is Verbose
Listener trace level is Verbose
warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3]
Failed to determine the https port for redirect.
warn: Gurux.DLMS.AMI.Scheduler.GXSchedulerService[0]
Timed Background Service is working.
warn: Gurux.DLMS.AMI.Scheduler.GXSchedulerService[0]
Timed Background Service is working.
warn: Gurux.DLMS.AMI.Scheduler.GXSchedulerService[0]
Timed Background Service is working.
warn: Gurux.DLMS.AMI.Scheduler.GXSchedulerService[0]
Timed Background Service is working.
Send SNRM request.7E A0 08 34 DB 07 93 C0 5E 7E
TX: 11:16:01 7E A0 08 34 DB 07 93 C0 5E 7E
warn: Gurux.DLMS.AMI.Scheduler.GXSchedulerService[0]
Timed Background Service is working.
TX: 11:17:01 7E A0 08 34 DB 07 93 C0 5E 7E
warnTX: 11:18:01 7E A0 08 34 DB 07 93 C0 5E 7E
: Gurux.DLMS.AMI.Scheduler.GXSchedulerService[0]
Timed Background Service is working.
warn: Gurux.DLMS.AMI.Scheduler.GXSchedulerService[0]
Timed Background Service is working.
fail: Gurux.DLMS.AMI.Reader.ReaderService[0]
Failed to receive reply from the device in given time.
Send SNRM request.7E A0 08 34 DB 07 93 C0 5E 7E
TX: 11:19:01 7E A0 08 34 DB 07 93 C0 5E 7E
warn: Gurux.DLMS.AMI.Scheduler.GXSchedulerService[0]
Timed Background Service is working.
TX: 11:20:01 7E A0 08 34 DB 07 93 C0 5E 7E
The meter is not answering at all. Can you add GXDLMSDirecor trace? The first command is enough. so I can check what settings you are using. Are you using the serial port? If you are, what is your baud-rate?
Hi,
Hi,
What object did you try to read? What value you get is you try to read it with GXLMSDirector?
BR,
Mikko
The value is for:
The value is for:
OBIS: "1.0.1.8.0.255"
Description: Ch. 0 Sum Li Active energy (QI+QIV) Time integral 1 Rate 0 (0 is total)
The value read using DLMSDirector is: 1129394 Wh
Hi,
Hi,
GXDLMSDirector doesn't show an error for the failed read at the moment and value is zero. I'll add this to the worklist so an error is shown in GXDLMSDirector.
Get the latest version from Gurux.DLMS.AMI. It will show send and received bytes in the console as default. Can you post a trace here so I can check what is the problem?
BR,
Mikko
I got the latest version of
I got the latest version of DLMS.AMI, below is the trace log:
RestAddress: http://localhost:64881
Database type: MSSQL
Connecting: Server=localhost\SQLEXPRESS;Database=AR;User=sa;Password=Pass;
Creating tables.
Service started: http://localhost:64881
Reader trace level is Verbose
Listener trace level is Verbose
warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3]
Failed to determine the https port for redirect.
warn: Gurux.DLMS.AMI.Scheduler.GXSchedulerService[0]
Timed Background Service is working.
warn: Gurux.DLMS.AMI.Scheduler.GXSchedulerService[0]
Timed Background Service is working.
warn: Gurux.DLMS.AMI.Scheduler.GXSchedulerService[0]
Timed Background Service is working.
warn: Gurux.DLMS.AMI.Scheduler.GXSchedulerService[0]
Timed Background Service is working.
Send SNRM request.7E A0 08 34 DB 07 93 C0 5E 7E
TX: 11:16:01 7E A0 08 34 DB 07 93 C0 5E 7E
warn: Gurux.DLMS.AMI.Scheduler.GXSchedulerService[0]
Timed Background Service is working.
TX: 11:17:01 7E A0 08 34 DB 07 93 C0 5E 7E
warnTX: 11:18:01 7E A0 08 34 DB 07 93 C0 5E 7E
: Gurux.DLMS.AMI.Scheduler.GXSchedulerService[0]
Timed Background Service is working.
warn: Gurux.DLMS.AMI.Scheduler.GXSchedulerService[0]
Timed Background Service is working.
fail: Gurux.DLMS.AMI.Reader.ReaderService[0]
Failed to receive reply from the device in given time.
Send SNRM request.7E A0 08 34 DB 07 93 C0 5E 7E
TX: 11:19:01 7E A0 08 34 DB 07 93 C0 5E 7E
warn: Gurux.DLMS.AMI.Scheduler.GXSchedulerService[0]
Timed Background Service is working.
TX: 11:20:01 7E A0 08 34 DB 07 93 C0 5E 7E
Hi,
Hi,
The meter is not answering at all. Can you add GXDLMSDirecor trace? The first command is enough. so I can check what settings you are using. Are you using the serial port? If you are, what is your baud-rate?
BR,
Mikko
This is the trace:
This is the trace:
10:34:26 Send SNRM request.
TX: 7E A0 0A 00 02 34 DB 07 93 13 72 7E
10:34:26
RX: 7E A0 23 07 00 02 34 DB 73 6B 0F 81 80 14 05 02 02 11 06 02 02 11 07 04 00 00 00 01 08 04 00 00 00 01 FC A8 7E
10:34:26 Send AARQ request.
TX: 7E A0 47 00 02 34 DB 07 10 C9 2D E6 E6 00 60 36 A1 09 06 07 60 85 74 05 08 01 01 8A 02 07 80 8B 07 60 85 74 05 08 02 01 AC 0A 80 08 38 37 36 35 34 33 32 31 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 00 1E 1D FF FF 8B 1E 7E
10:34:26
RX: 7E A0 3A 07 00 02 34 DB 30 04 8B E6 E7 00 61 29 A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 00 A3 05 A1 03 02 01 00 BE 10 04 0E 08 00 06 5F 1F 04 00 00 10 1D 02 00 00 07 D8 D4 7E
I am using Serial Port over
I am using Serial Port over Ethernet:
Meter RS485 > Serial Server (Serial to Ethernet) > IP:Port
Checked the "Serial Port over Ethernet" option.
Hi,
Hi,
Get the latest version from Gurux.DLMS.AMI. This is fixed.
BR,
Mikko