Toon App: Water
Moderators: marcelr, TheHogNL, Toonz
Re: Toon App: Water
Thank you for this great app! I have been waiting for this.
I use the analog gas sensor from Toon to read the water usage and produce JSON output with Node-red on a Raspberry Pi.
but here is my problem, I am unable to get into the configscreen to set the IP address and initial reading.
Every water tile I click brings me to the graph screen.
How do get into the configscreen?
I use the analog gas sensor from Toon to read the water usage and produce JSON output with Node-red on a Raspberry Pi.
but here is my problem, I am unable to get into the configscreen to set the IP address and initial reading.
Every water tile I click brings me to the graph screen.
How do get into the configscreen?
Toon: pn=6500-1400-2001, sw=5.39.7
Ketelmodule: pn=6500-1200-4801, fw=37
Meetmodule: pn=6500-1102-0401, sw=35/37
Ketelmodule: pn=6500-1200-4801, fw=37
Meetmodule: pn=6500-1102-0401, sw=35/37
-
- Member
- Posts: 112
- Joined: Sun Oct 04, 2020 8:11 pm
Re: Toon App: Water
Ali is very slow in sending the parts. Days after ordering still not sent. I am impatient.
The Wemos is easy to find in NL, but does anyone have a link to a Webshop who can deliver the sensor?
The Wemos is easy to find in NL, but does anyone have a link to a Webshop who can deliver the sensor?
-
- Advanced Member
- Posts: 665
- Joined: Sat Feb 09, 2019 7:18 pm
Re: Toon App: Water
Not cheap. But a user is also testing with the optical sensor which came with toon: viewtopic.php?f=99&t=13090&start=30#p97119Arnout2000 wrote:Ali is very slow in sending the parts. Days after ordering still not sent. I am impatient.
The Wemos is easy to find in NL, but does anyone have a link to a Webshop who can deliver the sensor?
Re: Toon App: Water
Maybe because you are ordering during Chinese New Year, they don't work much during their holidays.Arnout2000 wrote:Ali is very slow in sending the parts. Days after ordering still not sent. I am impatient.
The Wemos is easy to find in NL, but does anyone have a link to a Webshop who can deliver the sensor?
Re: Toon App: Water
https://www.benselectronics.nl/inductie ... 7sQAvD_BwE
Wel eens iets gekocht daar, persoonlijk denk ik dat heel veel gewoon van AliExpress komt. Kan het mis hebben maar kijk zelf maar even op z'n website rond.
Wel eens iets gekocht daar, persoonlijk denk ik dat heel veel gewoon van AliExpress komt. Kan het mis hebben maar kijk zelf maar even op z'n website rond.
-
- Advanced Member
- Posts: 665
- Joined: Sat Feb 09, 2019 7:18 pm
Re: Toon App: Water
Goed gevonden echter helaas niet de 5 vdc versie. Kan wel maar dan heb je een externe voeding voor de sensor nodig.Jasper wrote:https://www.benselectronics.nl/inductie ... 7sQAvD_BwE
Wel eens iets gekocht daar, persoonlijk denk ik dat heel veel gewoon van AliExpress komt. Kan het mis hebben maar kijk zelf maar even op z'n website rond.
Re: Toon App: Water
Ik heb precies dezelfde, ook 6v en werkt prima op 5v
-
- Advanced Member
- Posts: 665
- Joined: Sat Feb 09, 2019 7:18 pm
Re: Toon App: Water
Ok, bij mij niet maar prima. Dan had ik mss een defecte..Als je toch moet wachten op ali dan zou ik toch de 5 vdc zoals in de link adviseren. Gewoon voor de zekerheid.Jasper wrote:Ik heb precies dezelfde, ook 6v en werkt prima op 5v
Re: Toon App: Water
Kan ook net het vermogen van de adapter zijn natuurlijk.
Beter wachten dan op een supported versie.
Beter wachten dan op een supported versie.
Re: Toon App: Water
Figured it out and feeling a bit stupid about it!westpat wrote:Thank you for this great app! I have been waiting for this.
I use the analog gas sensor from Toon to read the water usage and produce JSON output with Node-red on a Raspberry Pi.
but here is my problem, I am unable to get into the configscreen to set the IP address and initial reading.
Every water tile I click brings me to the graph screen.
How do get into the configscreen?
When adding the water tiles for "Nu" and "Vandaag", choose the ones from the "Algemeen" section and not the ones from the "Water" section.
The optical gas sensor that came with Toon, now has been given a new life as a watermeter reader!
Toon: pn=6500-1400-2001, sw=5.39.7
Ketelmodule: pn=6500-1200-4801, fw=37
Meetmodule: pn=6500-1102-0401, sw=35/37
Ketelmodule: pn=6500-1200-4801, fw=37
Meetmodule: pn=6500-1102-0401, sw=35/37
-
- Member
- Posts: 112
- Joined: Sun Oct 04, 2020 8:11 pm
Re: Toon App: Water
Good point! Hadn’t thought of that.Jasper wrote:Maybe because you are ordering during Chinese New Year, they don't work much during their holidays.Arnout2000 wrote:Ali is very slow in sending the parts. Days after ordering still not sent. I am impatient.
The Wemos is easy to find in NL, but does anyone have a link to a Webshop who can deliver the sensor?
-
- Advanced Member
- Posts: 665
- Joined: Sat Feb 09, 2019 7:18 pm
Re: Toon App: Water
Great, i will search for such sensor tomorrow and will check. Could you plae send met some pictures and a description how you connected the sensor?westpat wrote:
The optical gas sensor that came with Toon, now has been given a new life as a watermeter reader!
Re: Toon App: Water
@oepi loepie On you Toon I see in "grafiek stroom gas water" But my Toon does not show the water in the graph screen.
Firmware is 5.39.7
Firmware is 5.39.7
Re: Toon App: Water
Short version of using a Toon optical (gas)sensor to read your watermeter.
The full description and flow source can be found here: flows.nodered.org
Place de optical sensor on the water meter (I have a sensus 620 from Vitens):
It does take some tinkering to get it positioned right, but the way it is positioned in above picture works for me.
The 3.5 mm jack electrical assignment:
I used a 3.5 mm female jack connector and soldered some Dupont jumper wires onto it, with the colors in the picture.
Then just plug the original white wire that came with the sensor in the sensor and the female jack.
Connect jumper wires to the Pi:
Using Dupont jumper wires might not be the best kind of wires to use, since they are very thin and are susceptible to electrical interference causing false readings.
Now I use Node-red to receive and convert the information from the sensor, but that's just how I do it.
In Node-red add a pi gpiod node and configure like below:
Make sure you set the resistor to Pull-up and give enough Debounce time.
Change the host to whatever IP address your Pi is running at or use the rpi-gpio in node if the pins are local to Node-red.
This will give you a 1 or 0 as output from the node everytime the metal part on the wheel in the meter passes along the optical sensor.
The sensor will generate a pulse when going from red plastic to metal and vice versa.
This means that 2 pulses equal 1 liter of water, so remember to divide the number of pulses by 2 to get water consumption in liters.
I also incorporated the P1 data into my Node-red flow, which I need to convert to DSMR 2.2 to feed my Meetmodule.
And since we have all the data at hand, why not output it over a TCP connection and MQTT as well.
This is what my flow looks like:
I don't think this forum is the right place to go into detail about this flow, but this is what happens:
Like for example Domoticz:
Or my Node-red Dashboard:
That's all folks!
The full description and flow source can be found here: flows.nodered.org
Place de optical sensor on the water meter (I have a sensus 620 from Vitens):
It does take some tinkering to get it positioned right, but the way it is positioned in above picture works for me.
The 3.5 mm jack electrical assignment:
I used a 3.5 mm female jack connector and soldered some Dupont jumper wires onto it, with the colors in the picture.
Then just plug the original white wire that came with the sensor in the sensor and the female jack.
Connect jumper wires to the Pi:
Using Dupont jumper wires might not be the best kind of wires to use, since they are very thin and are susceptible to electrical interference causing false readings.
Now I use Node-red to receive and convert the information from the sensor, but that's just how I do it.
In Node-red add a pi gpiod node and configure like below:
Make sure you set the resistor to Pull-up and give enough Debounce time.
Change the host to whatever IP address your Pi is running at or use the rpi-gpio in node if the pins are local to Node-red.
This will give you a 1 or 0 as output from the node everytime the metal part on the wheel in the meter passes along the optical sensor.
The sensor will generate a pulse when going from red plastic to metal and vice versa.
This means that 2 pulses equal 1 liter of water, so remember to divide the number of pulses by 2 to get water consumption in liters.
I also incorporated the P1 data into my Node-red flow, which I need to convert to DSMR 2.2 to feed my Meetmodule.
And since we have all the data at hand, why not output it over a TCP connection and MQTT as well.
This is what my flow looks like:
I don't think this forum is the right place to go into detail about this flow, but this is what happens:
- The PIN 7 feeds the counterGlobal with pulses and these are added up to the meter total and stored in memory
- From that total the previous reading from 15 seconds ago is subtracted, giving us the usage in liters
- This usage is multiplied by 4 to get a flowrate of liters per minute, which is also stored in memory
- Whenever the http in node receives a request, the stored values are returned as a JSON string: {"waterflow":"0","waterquantity":"438730"}
Like for example Domoticz:
Or my Node-red Dashboard:
That's all folks!
Last edited by westpat on Tue Feb 16, 2021 4:42 pm, edited 1 time in total.
Toon: pn=6500-1400-2001, sw=5.39.7
Ketelmodule: pn=6500-1200-4801, fw=37
Meetmodule: pn=6500-1102-0401, sw=35/37
Ketelmodule: pn=6500-1200-4801, fw=37
Meetmodule: pn=6500-1102-0401, sw=35/37
-
- Advanced Member
- Posts: 665
- Joined: Sat Feb 09, 2019 7:18 pm
Re: Toon App: Water
Did you do the app install, set the ip adress an did you click save on the configuration screen? The toon should restart and after that the tiles in. The water tab become visible. Select the grap with the 3 vertical bars and click that tile.Daniel wrote:@oepi loepie On you Toon I see in "grafiek stroom gas water" But my Toon does not show the water in the graph screen.
Firmware is 5.39.7