Page 1 of 1

Cyble Sensor V2 ITRON

Posted: 07 Feb 2022, 16:31
by xmenne
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.

Re: Cyble Sensor V2 ITRON

Posted: 07 Feb 2022, 21:16
by TD-er
What picture?

Re: Cyble Sensor V2 ITRON

Posted: 25 Feb 2022, 11:03
by xmenne
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

Re: Cyble Sensor V2 ITRON

Posted: 25 Feb 2022, 11:12
by xmenne
Electronic part for ESP CONNECTION
Schema.png
Schema.png (285.64 KiB) Viewed 8024 times
ESPEasy Devices configuration
20220225_111535.jpg
20220225_111535.jpg (1.63 MiB) Viewed 8023 times
20220225_111510.jpg
20220225_111510.jpg (2.34 MiB) Viewed 8023 times
20220225_111451.jpg
20220225_111451.jpg (2.3 MiB) Viewed 8023 times
20220225_111437.jpg
20220225_111437.jpg (2.88 MiB) Viewed 8023 times
20220225_111420.jpg
20220225_111420.jpg (2.37 MiB) Viewed 8023 times
20220225_111408.jpg
20220225_111408.jpg (2.29 MiB) Viewed 8023 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

Re: Cyble Sensor V2 ITRON

Posted: 23 Aug 2022, 12:15
by sawo
@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