Page 11 of 29
Re: Toon App: Water
Posted: Sun Mar 07, 2021 1:36 pm
by Arnout2000
The day usage will reset after resetting the Toon.
No I mean that when entering the current watermeter value in Toon without points or commas it ends up as a completely different value in ESP.
Entering the same digits directly in ESP does the work for me.
Re: Toon App: Water
Posted: Sun Mar 07, 2021 1:46 pm
by oepi-loepi
Arnout2000 wrote:Installation complete. Works like a charm.
I only had to enter the current value of the watermeter in the ESP interface. If I enter the value on the Toon the value becomes weird. Is that a know bug?
I have found this little bug. It has been solved in version 1.1.6... waiting for approvals to get it visible in the toonstore.
Edit: in toonstore now.
Re: Toon App: Water
Posted: Sun Mar 07, 2021 2:10 pm
by RoelToonz
Jasper wrote:RoelToonz wrote:Hello
I have flashed the wemos like the subscribtion, i can connect it with the phone set up my wifi but than at point 7 i cant klik on the link so i set a free static ip adres and confirmed it, but i cant find the wemos ip adres in my network so i think i wil not connect to my network. Please help
Did you setup the right address for the router and sub domain?
I toke a un used ip adres ( 192.168.1.107 ) the other 2 lines i left unchanged
Re: Toon App: Water
Posted: Sun Mar 07, 2021 3:25 pm
by oepi-loepi
RoelToonz wrote:
I toke a un used ip adres ( 192.168.1.107 ) the other 2 lines i left unchanged
So thirst line shoud be 192.168.1.107, second line 192.168.1.1 i guess (adress of router) and third should be 255.255.255.0
Re: Toon App: Water
Posted: Mon Mar 08, 2021 10:25 am
by Daniel
I drilled a hole in the lid of the water meter.
Sometimes the Toon watermeter shuttles between 4 and 8 liters, It is just not yet parallel to the water meter.
For now i am happy with it.
Re: Toon App: Water
Posted: Mon Mar 08, 2021 10:32 am
by Arnout2000
That’s also a nice solution Daniel!
@oepie-loepi: I noticed that the used daily volume is lost when the Toon resets. Is it possible to maintain the daily volume in a next version?
Re: Toon App: Water
Posted: Mon Mar 08, 2021 2:37 pm
by oepi-loepi
Arnout2000 wrote:That’s also a nice solution Daniel!
@oepie-loepi: I noticed that the used daily volume is lost when the Toon resets. Is it possible to maintain the daily volume in a next version?
So what is the contents of your file /mnt/data/tsc/appData/water_totalValue.txt ?? It should contain the water counter of yesterday..
Re: Toon App: Water
Posted: Mon Mar 08, 2021 3:14 pm
by Arnout2000
oei, to be honest I haven't accessed Toon at file level yet. Its on my to do list to find out how. I probably need to set up a "Putty connection" to it?
If you can direct me to an instruction page that would be nice.
The reason I was asking is because yesterday, I had already some daily consumption. After trying to set the actual value in the Water App (previous version with the bug), Toon resets and then the Daily Volume was reset to 0 again.
Re: Toon App: Water
Posted: Mon Mar 08, 2021 3:47 pm
by oepi-loepi
Arnout2000 wrote:oei, to be honest I haven't accessed Toon at file level yet. Its on my to do list to find out how. I probably need to set up a "Putty connection" to it?
If you can direct me to an instruction page that would be nice.
The reason I was asking is because yesterday, I had already some daily consumption. After trying to set the actual value in the Water App (previous version with the bug), Toon resets and then the Daily Volume was reset to 0 again.
It is quite simple to acces the files. Just download winSCP and set protocol to SCP, port to 22, adress to the ip adres of your toon and username to root and username to toon
The daily data is written at midnight and loaded when toon restarts. Daily consumption is calculated from currentcounter - yesterdaycounter.
Re: Toon App: Water
Posted: Mon Mar 08, 2021 3:51 pm
by Arnout2000
Sure . Will do that tonight. Winscp is familiair to me for accessing my Pi when I was running Domoticz on it.
If the value is written at the end of the day then it seems logical that the 'today' value disappears if Toon resets during the day....
Re: Toon App: Water
Posted: Mon Mar 08, 2021 4:23 pm
by oepi-loepi
Arnout2000 wrote:Sure . Will do that tonight. Winscp is familiair to me for accessing my Pi when I was running Domoticz on it.
If the value is written at the end of the day then it seems logical that the 'today' value disappears if Toon resets during the day....
Yes, only the first day of use.
Re: Toon App: Water
Posted: Mon Mar 08, 2021 7:19 pm
by Arnout2000
oepi-loepi wrote:
So what is the contents of your file /mnt/data/tsc/appData/water_totalValue.txt ?? It should contain the water counter of yesterday..
Contents of file: "water_lastFiveDays.txt" is 0,0,0,0,0
File data is 8-3-2021 00:04:49
File "water_totalValue.txt" contains the correct metervalue for Sunday end of day
Re: Toon App: Water
Posted: Mon Mar 08, 2021 9:28 pm
by oepi-loepi
So try again after a few days.... it is self learning
Re: Toon App: Water
Posted: Tue Mar 09, 2021 1:50 pm
by oepi-loepi
New Version 1.1.10 of esp files. Minor change in pulse handling.
ESP part can be found here:
esp-part (Wemos)
Re: Toon App: Water
Posted: Tue Mar 09, 2021 10:24 pm
by Arnout2000
Nice to see that I can even update the ESP firmware from my iPad...