+4
Under review

Wireless pulse counter

David Norman 10 years ago updated by Niclas Forslund 10 years ago 6
When will you add support for the new energy meter (wireless pulse counter) from foogadgets?
Under review
I'm having problems getting the unit I received from FooGadgets to work. I'll be able to look at it further next week. If I'm unable to get the unit working then I'll have to send it back for a replacement. It's difficult to add support for the device when I can not test it properly myself.
Thank you for the feedback! Best regards David 
I use FooGadgets WPC and it is working fine.
The WPC is working just fine with Tellmon.net.

What David Norman is asking about is when the NEW protocol (that is also used in the WPC) will be working in Tellmon.net.

The reason why he asks is because the graphs from his WPC does not make sense, and he suspects a compatibility problem. He have an energy meter that blinks 10000imp/kWh and thus he puts the number 10 in when configuring the WPC in Tellmon.net. After a chat session it seems like the problem is actually that the graph show the wrong scale.

Here is the raw data from the WPC sensorID 70. 1 period = 4096 detected pulses,



A rough calculation can be made by splitting the graph in two parts.
On the left side in this graph, one can see that in a snippet of the graph there have passed about 5 periods during 4 hours => 5periods * 4096pulses / 4h = 5100 registered pulses per hour in average.
This corresponds to 5100/10000kWh=0.51kWh energy consumption per hour from 11 to about 6 o'clock in the morning.
At 6p'clock the energy consumption seem to increase. Then it passes about 6 periods during 2 hours => about 12000 pulses/hour => 1.2kWh per hour from 6 to 11 o'clock.
The summarised consumption during this 24 hours is then 19 * 0.51kWh + 5 * 1,2kWh = 15,7kWh for the last 24 hours. According to David this is a very likely power consumption in his house.

So in the graph generated from tellmon.net we should expect the following:
From 11 to 6 o'clock a consumption of about 0.5kWh per hour. From about 6 to 11 o'clock the energy consumption should increase to about 1-1.2kWh per hour.

So lets have a look in the graph generated by Tellmon.net for a electric meter giving 10000imp/kWh,



Here we can see that the scale to the left is off by a factor of 100. In the graph 50kW should instead be 0.5kW.

I am pretty sure that the reason for this is because the calculations are wrong. Instead of dividing by 10, Tellmon is multiplying by 10.

People having the most common energy meter with 1000imp/kWh, will not notice this problem, since a multiplication with 1 gives the same result as division by 1.

Pål: You need to look into your equations and make sure you divide by 10 and not multiply by 10.
Regarding the non-working WPC-unit: From the data you sent me (14/6) I suspect that when you tried it with a remote controller, the surrounding light was too bright. Retest with the remote and WPC in a dark room or similar setup.

Long post, but I hope that it has become clearer.
Ok. I've updated tellmon with initial support for the new WPC device. I have yet to implement the ability to add "current" readings for the device to match your actual energy meter. Please have a look and test.
The WPC works just fine. It is reporting data as it should.

The calculations of the energy and power from the new protocol is still wrong.
The calculations of the energy and power for the old protocol is OK as long as a electric meter is used that emits 1000imp/kWh.

Än electric meter with 10000imp/kWh is still off by a factor of 100.