Page 7 of 15

Re: Toon App: Water

PostPosted: Thu Feb 18, 2021 6:34 pm
by oepi-loepi
Bedankt voor de terugkoppelingen. MQTT is idd mogelijk maar in dit geval met REST GET werkt het net even handiger en vraag net iets minder geheugen. Voor Wemos geen probleem maar ik ben ook nog met wat anders bezig. Volgt later....

De waterstand kan straks ook weer in toon bij de volgende versie worden ingevoerd. Ook op de wemos met een aparte knop en invoerveld. Daarnaast ook mogelijkheid om te updaten via een webinterface en mogelijkheid om een pin te selecteren. Ook mDNS is dan een mogelijkheid (local dns zoals esp-toonwater.local)

De reset is mss wat groot maar op app wel netjes. Zal in een volgende versie eraan denken.

UPDATE: de nieuwe .bin files staan erop

zonder Domoticz support:
zonder domotic supprt

met Domoticz support
met domoticz support


toon1 is de versie zonder optie voor domoticz, versie toon2 is de versie met de optie voor domoticz.

Deze update zal nog echt gedaan moeten worden met een kabeltje...eerste keer wel eerst even de blanco 4MB flashen om het geheugen even te wissen (github.com/oepi-loepi/water_ESP_part/re ... nk_4MB.bin).

UPDATE: versie 1.1.4 van de toonWater app is in goedkeurfase. In deze versie is het weer mogelijk nieuwe meterstanden ook in de toon op te geven.

Re: Toon App: Water

PostPosted: Fri Feb 19, 2021 12:19 pm
by Tebogo
oepi-loepi wrote:New Version: 1.1.2

-Added possibilty to use Domoticz as sensor. It is possible but not advisable since this option is much slower than direct as with the Wemos


Question: on Toon the waterflow and the watermeter booth reacts direct on water use. In Domoticz also when longtime water use.
But when just a few liters water use in Domoticz the waterflow is updated verg quickly (<10s). But the watermeter does not respond, but more after aan hour.

Why not push update to Domoticz both sensors every 10 seconds, or diretly when waterflow is mesaured? And/or use MQTT?

Thank you!

Re: Toon App: Water

PostPosted: Fri Feb 19, 2021 12:43 pm
by oepi-loepi
I do send the quantity to Domoticz every 10 liters so not every pulse and send the flow every 30 seconds. In the next update i will lower the pulses from 10 to 5.

zonder Domoticz support:
zonder domotic supprt

met Domoticz support
met domoticz support

Re: Toon App: Water

PostPosted: Sat Feb 20, 2021 12:44 pm
by Tebogo
oepi-loepi wrote:I do send the quantity to Domoticz every 10 liters so not every pulse and send the flow every 30 seconds. In the next update i will lower the pulses from 10 to 5.

zonder Domoticz support:
zonder domotic supprt

met Domoticz support
met domoticz support


Wat een verbeteringen in 1.1.4, TOP!!

Handig misschien ook om versie ToonWater te laten zien op de homepage?

Verder complimenten!!!

Re: Toon App: Water

PostPosted: Sat Feb 20, 2021 2:55 pm
by oepi-loepi
Goede tip. Ik zal het meenemen in een volgende update.

Re: Toon App: Water

PostPosted: Sun Feb 21, 2021 12:44 pm
by Tebogo
Another suggestion:
On the Toon when you select for e.g. "Water-verbruik nu" you get the config screen.
This is not the case with the default Toon "Electra nu", "Gas vandaag" and with your Solar Panel app "Zonnepanelen Nu". You always get in to the graphs.
Can you do this also for ToonWater?

Thank you!

Re: Toon App: Water

PostPosted: Mon Feb 22, 2021 12:35 am
by rleunk
Thnx oepi-loepi, works greats in combination with my domoticz, it now fully replaced my s0 adapter which i had for reading water usage in domoticz. With your app i now have water usage on my Toon and available in domoticz

Re: Toon App: Water

PostPosted: Mon Feb 22, 2021 4:27 pm
by jerver
Hi Oepieloepie,

Looks good. Thx for your work.
Does your code also work with the analog sensor delivered with the Toon as posted by @westpat?
Are thoses pulses registered in the same way as the proximity sensor and are these in the same frequency?

I could have looked for myself but the source is not available on git.

Thx and regards.

Re: Toon App: Water

PostPosted: Mon Feb 22, 2021 5:28 pm
by oepi-loepi
jerver wrote:Hi Oepieloepie,

Looks good. Thx for your work.
Does your code also work with the analog sensor delivered with the Toon as posted by @westpat?
Are thoses pulses registered in the same way as the proximity sensor and are these in the same frequency?

I could have looked for myself but the source is not available on git.

Thx and regards.


For the optical sensor the pulse has to be divided in 2. Also the position of the optical sensor is very important and needs to be very accurate. If you like i can send you an updated .bin file for the optical sensor (or make the optical .bin available on the github).

Re: Toon App: Water

PostPosted: Mon Feb 22, 2021 7:54 pm
by jerver
oepi-loepi wrote:
For the optical sensor the pulse has to be divided in 2. Also the position of the optical sensor is very important and needs to be very accurate. If you like i can send you an updated .bin file for the optical sensor (or make the optical .bin available on the github).


That will be great. Thx! When the .bin is available I will do some experimenting with the optical sensor and post the result.

Re: Toon App: Water

PostPosted: Mon Feb 22, 2021 10:53 pm
by oepi-loepi
jerver wrote:That will be great. Thx! When the .bin is available I will do some experimenting with the optical sensor and post the result.


See version 1.1.16:

github.com/oepi-loepi/water_ESP_part/re ... 1_mini.bin

Version without domoticz support is not needed anymore (just disable in the setup menu).

version 1.1.16:
- pulsedivider to be set in setup menu for use of optical sensor (divide by 2)
- flow more than 120 l/min is set as false reading and not showing

Re: Toon App: Water

PostPosted: Mon Feb 22, 2021 11:28 pm
by rolinck
I just updated the new firmware. Al seems to work fine.

Thank you for all the effort you put into this. Keep up the good work.

Re: Toon App: Water

PostPosted: Wed Feb 24, 2021 9:57 pm
by Tebogo
version 1.1.16:
- pulsedivider to be set in setup menu for use of optical sensor (divide by 2)
- flow more than 120 l/min is set as false reading and not showing


Thanks again!!

3 things I found on Toon.
1: ToonWater gives a negative value for the cost. As if I deliverd water :lol:
2: Where do I set the price of a m^3 water?
3: Possible to give watermeter when you click on Meterstand in the Graph?

Thanks!

Re: Toon App: Water

PostPosted: Wed Feb 24, 2021 11:29 pm
by oepi-loepi
Tebogo wrote:

3 things I found on Toon.
1: ToonWater gives a negative value for the cost. As if I deliverd water :lol:
2: Where do I set the price of a m^3 water?
3: Possible to give watermeter when you click on Meterstand in the Graph?

Thanks!


1. Yes, people deliver water. However, to be honest: yellow water is not water.. do not drink. Please theck the cost values in 2.
2. Price is set in /mnt/data/qmf/config/config_happ_pwrusage.xml, look for water / billinginfo
3. The grap is standard toon so this is not possible. You can set the reading in the setup menu. The value will be send to Wemos and saved into wemos.

Re: Toon App: Water

PostPosted: Thu Feb 25, 2021 11:21 am
by rolinck
Happily using the water app for a couple of days now. But I’m having some issues with false readings. I assume when the npn sensor is closing / stops near it triggering point it is producing some false pulses.

My question is. Is it possible to implement a delay (debounce time) after a pulse? For my scenario a 1 or 2 second delay would be fine. But maybe is is nicer to have this adjustable.