how to copy data from watermeter to waterflow  [Solved]

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Gravityz
Posts: 583
Joined: Wednesday 16 December 2015 19:13
Target OS: NAS (Synology & others)
Domoticz version: 2022.2
Location: Netherlands
Contact:

Re: how to copy data from watermeter to waterflow

Post by Gravityz »

Hello,

i am using a nodemcu unit buy a wemos-d1-mini will work as well
it is running ESPeasy software
as a sensor i am using a LJ12-A3 proximity sensor which picks up magnetic disturbance
proximity-aansluiting.JPG
proximity-aansluiting.JPG (122.83 KiB) Viewed 661 times
proximity-aansluiting.JPG
proximity-aansluiting.JPG (122.83 KiB) Viewed 661 times
this thread will help you
i did not use a voltage converter but i used an optocoupler

https://www.twoenter.nl/blog/smarthome/ ... -domoticz/
Attachments
nodemcu.jpg
nodemcu.jpg (185.93 KiB) Viewed 661 times
Gravityz
Posts: 583
Joined: Wednesday 16 December 2015 19:13
Target OS: NAS (Synology & others)
Domoticz version: 2022.2
Location: Netherlands
Contact:

Re: how to copy data from watermeter to waterflow

Post by Gravityz »

i am using a nodemcu unit but a wemos d1 mini will work as well

input NodeMCU and Wemos D1 mini both have 3.3 inputs
sensoren work correctly on 5V

attach sensor to 5V but inputs through a pullup resistor to 3.3V
proximity-aansluiting.JPG
proximity-aansluiting.JPG (122.83 KiB) Viewed 661 times
proximity-aansluiting.JPG
proximity-aansluiting.JPG (122.83 KiB) Viewed 661 times
Attachments
nodemcu.jpg
nodemcu.jpg (185.93 KiB) Viewed 661 times
Number8
Posts: 374
Joined: Friday 23 May 2014 7:55
Target OS: Linux
Domoticz version: 2022.1
Location: Saint Pierre de Jards
Contact:

Re: how to copy data from watermeter to waterflow

Post by Number8 »

Thank you so much for the detailed information.
Debian buster on NUC and three RPi with buster.
Gravityz
Posts: 583
Joined: Wednesday 16 December 2015 19:13
Target OS: NAS (Synology & others)
Domoticz version: 2022.2
Location: Netherlands
Contact:

Re: how to copy data from watermeter to waterflow

Post by Gravityz »

your welcome.
to be more specific, i checked and i have the sensor hooked up to D5(not D13)
Number8
Posts: 374
Joined: Friday 23 May 2014 7:55
Target OS: Linux
Domoticz version: 2022.1
Location: Saint Pierre de Jards
Contact:

Re: how to copy data from watermeter to waterflow

Post by Number8 »

Gravityz wrote: Thursday 28 January 2021 18:20 the same goes for waterflow.
it turns out the esp pulsecounter sends out a time between pulse in ms. i use this number to calculate the exact flow and send this value over to domoticz.
Just another question: does the time value sent by esp pulsecounter is specific to espeasy? I'm wondering whether I could use Tasmota instead.
Debian buster on NUC and three RPi with buster.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest