MySensors Pulse Project

Moderator: leecollings

Post Reply
hnogueira
Posts: 25
Joined: Saturday 28 November 2015 12:10
Target OS: Windows
Domoticz version:
Contact:

MySensors Pulse Project

Post by hnogueira »

Hi:

After almost (or more!!) than a year trying to make my Pulse project to work finally I made it.
Some tips bellow to help if somebody wants to envolve on the same.

This a water meter installed outside my house, in a place with high humidity.

My first issue was the power source. because there's no power near the meter, my first choice were batteries. Bad choice! The power usage is too high, so the batteries were dead in a couple of days.
Solution: use sleep mode. Another bad choice: Domoticz didn't like that and values were not accurate.

Second problem was the humidity on the arduino board. It was not easy to eliminate all humidity and connection problems were constant.
Solution: move arduino inside home, leave sensor near meter and have a long cable from arduino to the sensor.
Batteries were also removed and sleep mode was disabled.

With all apparently working there was still some inconsistent readings. I found that reflection was not enough so a "tunel" was added to the read led in order to "focus" the reflection signal.
On this last attempted a "cover" was also implemented with a bottle cap in order to secure the sensor and made it easily removed and easily fixed.

Attached some photos.
IMG_6406.jpg
IMG_6406.jpg (241.04 KiB) Viewed 2319 times
IMG_6407.jpg
IMG_6407.jpg (256.3 KiB) Viewed 2319 times
Attachments
IMG_6401.jpg
IMG_6401.jpg (199.68 KiB) Viewed 2319 times
JohanSchaap
Posts: 3
Joined: Wednesday 15 July 2020 9:24
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: MySensors Pulse Project

Post by JohanSchaap »

Dear Lee,

First of all, my compliments for this project.

I also want to monitor my water meter through an Arduino (nano with Ethernet shield) with Domoticz (Raspberry Pi 3b).
So my configuration is very similar to yours.

Unfortunately I can not program, an IP address in a script can still be adjusted ;-)

Therefore my question is whether you have a step by step manual available for me or possibly your arduino scetch and Domoticz script.

Below my (desired) configuration. I have already connected the proximity switch to the Arduino, this works well.
What I would like is that Domoticz knows the initial meter reading and keeps track of the consumption from that position after receiving a pulse.

Hopefully you can and will help me.

Thanks in advance.
Johan Schaap (the Netherlands)
Attachments
Watermeter.JPG
Watermeter.JPG (21.53 KiB) Viewed 2232 times
hnogueira
Posts: 25
Joined: Saturday 28 November 2015 12:10
Target OS: Windows
Domoticz version:
Contact:

Re: MySensors Pulse Project

Post by hnogueira »

Hello Johan:

I used de standar MySensor project, just did some fine tuning on the multipliers. I'l also usind radio connetion betewen the two arduino, not ethernet. Why do you need ethernet?

Hnogueira
User avatar
waltervl
Posts: 5396
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: MySensors Pulse Project

Post by waltervl »

Johan, were is your domoticz server in this scheme?
I would expect: Proximity switch --> Arduino+Eth shield --> Domoticz server (RPi?)

When using the eth shield you can send the data direct to Domoticz like in viewtopic.php?t=12934

You could also use something like https://forum.mysensors.org/topic/7122/ ... sor-values
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
JohanSchaap
Posts: 3
Joined: Wednesday 15 July 2020 9:24
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: MySensors Pulse Project

Post by JohanSchaap »

hnogueira wrote: Wednesday 26 May 2021 15:37 Hello Johan:

I used de standar MySensor project, just did some fine tuning on the multipliers. I'l also usind radio connetion betewen the two arduino, not ethernet. Why do you need ethernet?

Hnogueira
Thanks for your response.
The reason for my ethernet connection instead of Wifi is that I find it more stable. I also have ethernet available at all locations.
JohanSchaap
Posts: 3
Joined: Wednesday 15 July 2020 9:24
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: MySensors Pulse Project

Post by JohanSchaap »

waltervl wrote: Wednesday 26 May 2021 22:33 Johan, were is your domoticz server in this scheme?
I would expect: Proximity switch --> Arduino+Eth shield --> Domoticz server (RPi?)

When using the eth shield you can send the data direct to Domoticz like in viewtopic.php?t=12934

You could also use something like https://forum.mysensors.org/topic/7122/ ... sor-values
Thanks for your response.
You are right, a drawing error ;-) The right block must of course be Domoticz!

I will look at the pages you specify.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests