Skip to main content
Home
for DLMS smart meters

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
  • Gurux Club
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Forums
  3. Profile Generic

Profile Generic

Forum Rules

Before commenting read Forum rules

Don't comment the topic if you have a new question.

You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.

Profile picture for user kevin jose minj
By kevin jose minj, 5 January, 2023
Forums
General discussion

When I am reading the events it is not possible to read one by one objects it is throwing some invalid block number error.what is the issue?Here us the output

-------- Reading ObjectType.PROFILE_GENERIC 0.0.99.98.3.255 Ch. 0 Event log #4
Entries: 35/50
12/28/22 14:23:31 | 152
12/28/22 14:18:54 | 158
12/28/22 14:18:44 | 158
12/28/22 14:17:54 | 158
12/28/22 14:17:51 | 158
12/28/22 14:17:47 | 158
12/28/22 10:07:41 | 158
12/28/22 10:07:02 | 158
12/27/22 09:41:31 | 152
12/26/22 12:17:11 | 153
12/26/22 12:08:43 | 153
12/26/22 12:04:13 | 152
12/26/22 12:02:44 | 152
12/26/22 10:34:29 | 152
12/26/22 10:33:25 | 153
12/26/22 10:32:29 | 153
12/26/22 10:30:37 | 152
12/26/22 10:30:27 | 153
12/26/22 10:07:03 | 153
12/26/22 10:03:29 | 153
12/26/22 10:02:32 | 153
12/26/22 10:01:53 | 153
12/26/22 10:01:34 | 152
12/23/22 14:48:27 | 153
12/23/22 14:43:04 | 153
-------- Reading ObjectType.PROFILE_GENERIC 0.0.99.98.0.255 Ch. 0 Event log #1
Entries: 0/50
-------- Reading ObjectType.PROFILE_GENERIC 0.0.99.98.1.255 Ch. 0 Event log #2
Entries: 2/50
-------- Reading ObjectType.PROFILE_GENERIC 0.0.99.98.2.255 Ch. 0 Event log #3
Entries: 20/20
RX: 12:33:30 7E A0 3E 61 03 96 45 43 E6 E7 00 D4 30 30 00 00 00 13 2B 99 34 BB 65 9F EC 37 BA 6C 90 89 9E C7 39 DD 44 22 CD 2F 77 A0 A4 01 A7 3C 33 72 D9
92 E8 BB CF 1F CC B8 61 75 9B B9 96 71 10 F9 17 7E
Error! Failed to read last day: Invalid Block number. It is 4 and it should be 1.
-------- Reading ObjectType.PROFILE_GENERIC 0.0.99.98.4.255 Ch. 0 Event log #5
RX: 12:33:30 7E A0 2E 61 03 B8 98 48 E6 E7 00 D4 20 30 00 00 00 14 2C 7E A7 2F EA 4A E1 77 55 8B 58 32 DA 50 47 D9 DE 02 0F FB 68 50 10 6C D2 69 AE 3E 19
7E
Invalid Block number. It is 5 and it should be 1

Profile picture for user Kurumi

Kurumi

8 months 3 weeks ago

Hi,

Hi,

There is an error with the meter. The block number should be set to one when rows are read and that is not done. You need to ask if there is a firmware update available for the meter where this is fixed.

BR,
Mikko

Profile picture for user kevin jose minj

kevin jose minj

8 months 3 weeks ago

In reply to Hi, by Kurumi

How to read last 2 days value

How to read last 2 days value using python?which function I have to use?

Profile picture for user Kurumi

Kurumi

8 months 2 weeks ago

Hi,

Hi,

You need to use readRowsByRange. Read this:
https://www.gurux.fi/Gurux.DLMS.Objects.GXDLMSProfileGeneric

The example code is here:

https://github.com/Gurux/Gurux.DLMS.Python/blob/258a6f18233b83512f021b6…

BR,
Mikko

  • Log in or register to post comments
  • Create new account
  • Reset your password

Hire Us!

Latest Releases

Fri, 09/22/2023 - 19:50
gurux.dlms.c 20230922.1
Mon, 09/18/2023 - 13:51
Gurux.DLMS.AMI4 4.0.2309.1801
Fri, 09/15/2023 - 12:00
gurux.dlms.c 20230915.1
Tue, 09/12/2023 - 11:10
Gurux.DLMS.AMI4 4.0.2309.1201
Fri, 09/08/2023 - 10:59
gurux.dlms.c 20230908.1

Open bugs

gurux.dlms.c
3
gurux.dlms.cpp
3
gurux.dlms.delphi
1

New forum topics

  • problem with date and time in ION
  • Permament rejected
  • DLMS- GMAC: SNRM, AARQ, AARE is responding but not able to decrypt the Authentication key received from the meter
  • List complete policy security configuration basic (configuration security))
  • Save Association view in database
More

Who's new

  • azcah
  • Robertciz
  • Ilushikqtg
  • Margaretyhs
  • Mariohag
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin