Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


Energy metering by pulse count


ygi

Recommended Posts

hi,

 

i am browsing several forums in order to find an answer, as i don't find any, here is my post.

 

i have servral electrical and water devices that generate pulses on consumption. this is called S0

for instance, the electrical modules generate 1000 pulses by kwh, and the water meter generates 1 pulse by 0,25 l

i would like to know if it exists a zwave counter that listen to these pulse, or if we can use the fgbs321 with lua code to listen to the pulses, but i don't know if zwave can be quick enought to react to several pulses per second.

 

how would you do that ?

 

thank you

 

yves

 

Link to comment
Share on other sites

I do not have knowledge of any Z-wave device (however I might be wrong) that would be capable of reading such short pulses. Do these devices have some visual indicator of the usage? Then check out Northq modules. Otherwise I would advise DIY solutions, like Arduino with Ethernet shield for example.

Link to comment
Share on other sites

The NorthQ reader is indeed available for both energy and gas, not sure if it is available for water. These count pulses of for instance 100.000 pulses per kwh.

Please login or register to see this link.

Link to comment
Share on other sites

  • 3 weeks later...

I have the NorthQ NQ-9021 and it is supported by HC2, works fine. However, only basic functions are supported, yet. For now there are no apparent way to include the sensor in the eg Energy Panel which off course would be of great value if implemented.

Link to comment
Share on other sites

  • 3 months later...

The NorthQ reader is indeed available for both energy and gas, not sure if it is available for water. These count pulses of for instance 100.000 pulses per kwh.

Please login or register to see this link.

 

Do you have a VD you can share for the NorthQ readers?

Regards

Link to comment
Share on other sites

  • 2 weeks later...

Hello!

Sorry, I have not been into here for a while and I have apparently not seen the forum notification. Anyway, here is the VD:

 

local meterID=156

function getIcon(watt)
  if(watt > 8000) then return 149
  elseif(watt >= 7000) then return 148
  elseif(watt >= 7000) then return 147
  elseif(watt >= 6000) then return 150
  elseif(watt >= 5000) then return 146
  elseif(watt >= 4000) then return 145
  elseif(watt >= 3000) then return 144
  elseif(watt >= 2000) then return 143
  elseif(watt >= 1000) then return 142
  elseif(watt >= 500) then return 141
  else return 141 end
end
 
function round(num, idp)
  local mult = 10^(idp or 0)
  return math.floor(num * mult + 0.5) / mult
end
 
 
--Main start
 
e1=fibaro:getValue(meterID, "value")
t1=os.time()
etot=round(261009 + e1*0.01)
 
while e1==fibaro:getValue(meterID, "value") do end
 
e2=fibaro:getValue(meterID, "value")
t2=os.time()
 
td=t2-t1
ed=(e2-e1)*3.6
p=round(10000*ed/td)
 
 
fibaro:call(149, "setProperty", "ui.Label1.value", p.." W")
fibaro:call(149, "setProperty", "ui.Label2.value", etot.." kWh")
fibaro:call(149, "setProperty", "currentIcon", getIcon(p))
Link to comment
Share on other sites

  • 7 years later...

2738 days since the last post ... a good day to ask for an update ... is there any news wrt reading the impulse output from an electricity meter? Any new devices or more clever solutions? Did not find something at the first glance, and the link above is also no longer existing.

 

 

Edit: Just found

Please login or register to see this link.

here from 2021 ... will check if it helps already ...

 

Edit 2: No, it does not really help. I saw that the Smart Implant was mentioned there and was wondering how that could work. But it obviously does not. At least not for electricity where you have too many pulses per second for high loads. And anyways, you would still need a sensor which get the actual pulses from the meter LED.

 

So the question is still open ;)

Edited by krza
  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...