Toon App: Water

Forum about forum-provided applications on Toon

Moderators: marcelr, TheHogNL, Toonz

Arnout2000
Member
Member
Posts: 111
Joined: Sun Oct 04, 2020 8:11 pm

Re: Toon App: Water

Post 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.
oepi-loepi
Advanced Member
Advanced Member
Posts: 636
Joined: Sat Feb 09, 2019 7:18 pm

Re: Toon App: Water

Post 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.
RoelToonz
Starting Member
Starting Member
Posts: 7
Joined: Thu Apr 04, 2019 9:43 am

Re: Toon App: Water

Post 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
oepi-loepi
Advanced Member
Advanced Member
Posts: 636
Joined: Sat Feb 09, 2019 7:18 pm

Re: Toon App: Water

Post 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
Daniel
Member
Member
Posts: 70
Joined: Fri Mar 15, 2019 4:50 pm

Re: Toon App: Water

Post 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.
Attachments
image0.jpeg
image0.jpeg (81.73 KiB) Viewed 2973 times
IMG_1548.jpg
IMG_1548.jpg (64.06 KiB) Viewed 2973 times
Arnout2000
Member
Member
Posts: 111
Joined: Sun Oct 04, 2020 8:11 pm

Re: Toon App: Water

Post 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?
oepi-loepi
Advanced Member
Advanced Member
Posts: 636
Joined: Sat Feb 09, 2019 7:18 pm

Re: Toon App: Water

Post 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..
Arnout2000
Member
Member
Posts: 111
Joined: Sun Oct 04, 2020 8:11 pm

Re: Toon App: Water

Post 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.
oepi-loepi
Advanced Member
Advanced Member
Posts: 636
Joined: Sat Feb 09, 2019 7:18 pm

Re: Toon App: Water

Post 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.
Arnout2000
Member
Member
Posts: 111
Joined: Sun Oct 04, 2020 8:11 pm

Re: Toon App: Water

Post 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....
oepi-loepi
Advanced Member
Advanced Member
Posts: 636
Joined: Sat Feb 09, 2019 7:18 pm

Re: Toon App: Water

Post 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.
Arnout2000
Member
Member
Posts: 111
Joined: Sun Oct 04, 2020 8:11 pm

Re: Toon App: Water

Post 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
oepi-loepi
Advanced Member
Advanced Member
Posts: 636
Joined: Sat Feb 09, 2019 7:18 pm

Re: Toon App: Water

Post by oepi-loepi »

So try again after a few days.... it is self learning
oepi-loepi
Advanced Member
Advanced Member
Posts: 636
Joined: Sat Feb 09, 2019 7:18 pm

Re: Toon App: Water

Post 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)
Arnout2000
Member
Member
Posts: 111
Joined: Sun Oct 04, 2020 8:11 pm

Re: Toon App: Water

Post by Arnout2000 »

Nice to see that I can even update the ESP firmware from my iPad...
Post Reply

Return to “Toon Apps”