Welcome, Guest
Username: Password: Remember me

TOPIC: Sensor serials and sensor ranking

Sensor serials and sensor ranking 3 years 8 months ago #104

  • dhj1965
  • dhj1965's Avatar
  • Offline
  • New Member
  • Posts: 5
  • Thank you received: 2
Hi,

I'm a bit confused :unsure:

I have added two sensors to the OS network on sunday, using the feeder software.

When I look at the "my Sensors" on the OS webpage, they are listed as "-1408237544" and "-1408237543". But when I look at the "10-serial.conf" they are listed as "2886729752" and "2886720753"

The "my Sensors" section is showing "-1408237543"/"2886720753" as the 67th for the total qty of messages for the 13/02. But the sensor ranking is showing "90143" as 67th with a much lower msg quantity.

why do I see different serials for my nodes (negative/postive number) and why is the ranking showing different serials on the ranks listed for my sensors?

Is it a bug ? Or a feature ? Or am I just confused with all that numbers :woohoo: ?

best...
dhj.
The administrator has disabled public write access.
The following user(s) said Thank You: schaefer

Sensor serials and sensor ranking 3 years 8 months ago #106

  • schaefer
  • schaefer's Avatar
  • Offline
  • Administrator
  • Posts: 80
  • Thank you received: 34
Hi dhj,

this is a known issue and will be fixed at some point. The reason is that we set the 32-th bit of the serial number (32 bit integer) to 1 if it is a feeder. Our web server interprets the number as a signed 32-bit integer, while the feeder on the device interprets it as a 32 bit unsigned integer. So it's actually the same (binary) number, just two different interpretations.

This will be harmonized soon.

The rankings are indeed a bit mixed up at the moment. We'll fix this as soon as possible :-) Thanks for reporting!

Matthias
The administrator has disabled public write access.

Sensor serials and sensor ranking 3 years 8 months ago #107

  • dhj1965
  • dhj1965's Avatar
  • Offline
  • New Member
  • Posts: 5
  • Thank you received: 2
Hi Matthias,

thanks for the explanation.

I thought of an signed/unsigned issue earlier, but I obviously made a big mistake in my calculations which made me think of a bug...

best...
Detlev
The administrator has disabled public write access.

Sensor serials and sensor ranking 3 years 8 months ago #108

  • schaefer
  • schaefer's Avatar
  • Offline
  • Administrator
  • Posts: 80
  • Thank you received: 34
The relationship is 2886720753 - 2^32 = 2886720753 - 4294967296 = -1408246543
The administrator has disabled public write access.

Sensor serials and sensor ranking 3 years 8 months ago #109

  • dhj1965
  • dhj1965's Avatar
  • Offline
  • New Member
  • Posts: 5
  • Thank you received: 2
thanks :) now I see my mistake, it was a quite stupid one :woohoo:
The administrator has disabled public write access.
Powered by Kunena Forum
This website uses cookies to offer you the best experience of our services. By using this website you agree to our privacy policy!