Cyble Sensor V2 ITRON

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
xmenne
Normal user
Posts: 22
Joined: 17 Jul 2019, 17:38
Location: Saint Ouen sur Loire France

Cyble Sensor V2 ITRON

#1 Post by xmenne » 07 Feb 2022, 16:31

Hello team and all,
One of my goal with ESPEasy was to measure/ detect water leak in my house.
I bought this Cyble Sensor that goes on top of the water counter and send short pulse for every liter consumption.

My question is generic. And is for the ones who have played with this sensor.
How can I test this sensor without pluging it on top of Water Counter ?

See picture for reference of this sensor.

Many thanks in advance.
Attachments
20220207_161939.jpg
20220207_161939.jpg (2.86 MiB) Viewed 8257 times
Last edited by xmenne on 08 Feb 2022, 09:36, edited 1 time in total.
Signed XMenne from France

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Cyble Sensor V2 ITRON

#2 Post by TD-er » 07 Feb 2022, 21:16

What picture?

xmenne
Normal user
Posts: 22
Joined: 17 Jul 2019, 17:38
Location: Saint Ouen sur Loire France

Re: Cyble Sensor V2 ITRON

#3 Post by xmenne » 25 Feb 2022, 11:03

I habe been successfull to test this sensor.
I bought a DC geared motor, 3 VDC (RS online) 2 rpm → 3700 rpm and I attached a piece of metal on the shaft.
See picture attached for details.
Attention : You have to turn anticlockwise when looking at the back of the sensor. The sensor has an internal memory that countback reverse flow in the counter.
Attention : the white push button on the sensor has to be pressed as if the sensor was on top of water counter
Attachments
Capture d’écran 2022-02-25 110219.png
Capture d’écran 2022-02-25 110219.png (401.76 KiB) Viewed 7951 times
Signed XMenne from France

xmenne
Normal user
Posts: 22
Joined: 17 Jul 2019, 17:38
Location: Saint Ouen sur Loire France

Re: Cyble Sensor V2 ITRON

#4 Post by xmenne » 25 Feb 2022, 11:12

Electronic part for ESP CONNECTION
Schema.png
Schema.png (285.64 KiB) Viewed 7949 times
ESPEasy Devices configuration
20220225_111535.jpg
20220225_111535.jpg (1.63 MiB) Viewed 7948 times
20220225_111510.jpg
20220225_111510.jpg (2.34 MiB) Viewed 7948 times
20220225_111451.jpg
20220225_111451.jpg (2.3 MiB) Viewed 7948 times
20220225_111437.jpg
20220225_111437.jpg (2.88 MiB) Viewed 7948 times
20220225_111420.jpg
20220225_111420.jpg (2.37 MiB) Viewed 7948 times
20220225_111408.jpg
20220225_111408.jpg (2.29 MiB) Viewed 7948 times
And the rules set up:
Rules SET1
// Increment de C1 lorsque il y a du débit et
//affiche le debit sur base d'une emission toutes les 60Sec
On Pulse#Count>0 do
TaskValueSet 3,3,[Dummy3#C1]+1 // indicateur C1 qui Incremente quand debit
TaskValueSet 1,1,60000/[Pulse#Time] // Calcul du debit
endon
// Durée T (10mn a priori) durant laquelle on va incrémenter C2
On Clock#Time=All,**:*0 do // toutes les 10 min , do (faudra le faire toutes les heures)
// Nombre de période C2 de durée T pendant lesquelles il n'y a pas eu de débit
if [Dummy3#C1]=0 // When no Pulse is detected
TaskValueSet 5,1,[Dummy5#C2]+1 // Incremente C2 quand il y a pas de débit
TaskValueSet 1,1,0 //On met le débit à Zero si pas de pulse pendant 10min
if [Dummy3#MaxdesC2]<=[Dummy5#C2] // Si lemax n'est pas atteint
TaskValueSet 3,2,[Dummy5#C2] // On COMMENCE LE calcul DE la valeur Max de C2 sur 24h
endif
else
TaskValueSet 5,1,0 // si C1>0 alors le compteur C2 repasse à 0
endif
publish %sysname%/Heure=%systime%
publish %sysname%/C1=[Dummy3#C1]
publish %sysname%/C2=[Dummy5#C2]
publish %sysname%/MaxdesC2=[Dummy3#MaxdesC2]
TaskValueSet 3,3,0 //toutes les T minutes on remet le compteur C1 à zero
endon
On Clock#Time=All,00:00 do // a minuit chaque jour
TaskValueSet 3,1,[Dummy5#C2] // on enregistre la valeurmax sur MaxdesC2en24h
TaskValueSet 3,2,0 // et on reset à 0 pourla nouvellejournée.
endon

666666666666666666666666666666666666666666666666666666666666666
Rules SET2
// on remet tout à zero en cas de reboot ESP
On System#Boot do
TaskValueSet 3,1,0 // Reset the C1 counter to 0
TaskValueSet 5,1,0 // Reset the C2 counter to 0
TaskValueSet 3,2,0 // Reset MaxdesC2 à 0
TimerSet,1,30 // Set Timer 1 for the next event in 30 seconds
endon
// Led rouge clignote pour verifier que le systeme fonctionne bien ou que nous
// appuyons sur le bouton de test
on Led_rouge#count>0 do
Pulse,13,1,500
endon
666666666666666666666666666666666666666666666666666666666666666
End
Signed XMenne from France

sawo
Normal user
Posts: 36
Joined: 26 Mar 2020, 12:20

Re: Cyble Sensor V2 ITRON

#5 Post by sawo » 23 Aug 2022, 12:15

@xmenne

I am also planing to use the cable V2 sensor for my gasmeter.
on which GPIO port did you connect the sensor on the wemos?

thx
sawo

Post Reply

Who is online

Users browsing this forum: No registered users and 15 guests