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


  • 0

Flowmeter using Smart implant


Flavio Lins Bahia

Question

I need a help to read a flowmeter signal and show the Liters usage on a scene to send me the information of when I should change the water filters

I manage to install an relay on IN1 of smart implant but don't know how to make HC3 read this information

 

Below are the circuit that I made and I have the clean signal on IN1

Can you walkthrough me to create a variable and a scene to read this information? 

Please login or register to see this image.

/monthly_2022_04/image.png.58f312aca63c7ec14436780dcbdcf849.png" />

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Hey there Flavio,

 

Here are some pointers:

The flow meter measures flow by sending pulses from 8Hz to 300Hz.  I wouldn't send the signal via transistor and relay, as the relay will waste power and may not switch fast enough.  Also, there is no voltage mismatch that you need a relay to overcome.

The Smart Implant can measure voltage.

So, you need to convert the frequency into a voltage.  You can buy a prebuilt circuit off eBay for this purpose, for ~$20.

 

Please login or register to see this image.

 

Then, connect the converter between flow meter and smart implant IN1.

 

Use your controller to read the voltage on IN1 every minute

Write some LUA code that converts the voltage into litres. You may need to do some calibration experiments.

Set up a variable called "TotalLitres" , and every minute add the water usage for that minute to the total

 

Check the variable as part of your code, and when it equals the filter change value, do something like flash a light.

Then work outa way to rest the variable once you change the filter.

 

Hope this helps!!

 

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
Answer this question...

×   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...