2011-01-09

NGE101 – Norgo wireless energy meter (part 5)

This time, I will take a quick look at the long frames captured from the NGE101. Just like the short frames, they consist of 3 parts; a 20 bit preamble/header, the payload and last, a 15 bit checksum.

preamble/header      payload                              checksum
11111010100011001001 110010111110011111010000000000000000 110100111110010
11111010100011001001 000101111110011111010000000000000000 000111100001010
11111010100011001001 001111111110011111010000000000000000 100111000101011
11111010100011001001 000010000001011111010000000000000000 111000001111000
11111010100011001001 010001000001011111010000000000000000 001001000101100
11111010100011001001 110011000001011111010000000000000000 101011000011000

The payload is an ever increasing value, and when converted to decimal, they are:
000101111110011111010000000000000000 = 780264
001111111110011111010000000000000000 = 780284
000010000001011111010000000000000000 = 780304
010001000001011111010000000000000000 = 780322
110011000001011111010000000000000000 = 780339

The values are the number of times the LED has flashed on my smart meter since I installed the NGE.
Since these frames are send exactly 86 seconds apart, it's easy to calculate the average power usage between two of the samples:
((780284-780264 flashes) / 86.0 s * 3600 s/h)/(1000 flashes/kWh) = 0.837 kW

Here, where I live, we pay around 2 kr/kWh, so if I sustain this usage for a whole day, I would end up paying:
0.837 kW  * 24 h * 2 kr/kWh = 40.19 kr.

Next time, I will take a look at the package headers of both the short and long frames.

No comments:

Post a Comment