Toon App: Water
Moderators: marcelr, TheHogNL, Toonz
-
- Member
- Posts: 115
- Joined: Sun Oct 04, 2020 8:11 pm
Re: Toon App: Water
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.
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.
-
- Advanced Member
- Posts: 681
- Joined: Sat Feb 09, 2019 7:18 pm
Re: Toon App: Water
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.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?
Edit: in toonstore now.
Re: Toon App: Water
Jasper wrote:Did you setup the right address for the router and sub domain?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
I toke a un used ip adres ( 192.168.1.107 ) the other 2 lines i left unchanged
-
- Advanced Member
- Posts: 681
- Joined: Sat Feb 09, 2019 7:18 pm
Re: Toon App: Water
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.0RoelToonz wrote:
I toke a un used ip adres ( 192.168.1.107 ) the other 2 lines i left unchanged
Re: Toon App: Water
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.
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 (81.73 KiB) Viewed 3907 times
-
- IMG_1548.jpg (64.06 KiB) Viewed 3907 times
-
- Member
- Posts: 115
- Joined: Sun Oct 04, 2020 8:11 pm
Re: Toon App: Water
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?
@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?
-
- Advanced Member
- Posts: 681
- Joined: Sat Feb 09, 2019 7:18 pm
Re: Toon App: Water
So what is the contents of your file /mnt/data/tsc/appData/water_totalValue.txt ?? It should contain the water counter of yesterday..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?
-
- Member
- Posts: 115
- Joined: Sun Oct 04, 2020 8:11 pm
Re: Toon App: Water
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.
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.
-
- Advanced Member
- Posts: 681
- Joined: Sat Feb 09, 2019 7:18 pm
Re: Toon App: Water
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 toonArnout2000 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.
The daily data is written at midnight and loaded when toon restarts. Daily consumption is calculated from currentcounter - yesterdaycounter.
-
- Member
- Posts: 115
- Joined: Sun Oct 04, 2020 8:11 pm
Re: Toon App: Water
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....
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....
-
- Advanced Member
- Posts: 681
- Joined: Sat Feb 09, 2019 7:18 pm
Re: Toon App: Water
Yes, only the first day of use.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....
-
- Member
- Posts: 115
- Joined: Sun Oct 04, 2020 8:11 pm
Re: Toon App: Water
Contents of file: "water_lastFiveDays.txt" is 0,0,0,0,0oepi-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..
File data is 8-3-2021 00:04:49
File "water_totalValue.txt" contains the correct metervalue for Sunday end of day
-
- Advanced Member
- Posts: 681
- Joined: Sat Feb 09, 2019 7:18 pm
Re: Toon App: Water
So try again after a few days.... it is self learning
-
- Advanced Member
- Posts: 681
- Joined: Sat Feb 09, 2019 7:18 pm
Re: Toon App: Water
New Version 1.1.10 of esp files. Minor change in pulse handling.
ESP part can be found here:
esp-part (Wemos)
ESP part can be found here:
esp-part (Wemos)
-
- Member
- Posts: 115
- Joined: Sun Oct 04, 2020 8:11 pm
Re: Toon App: Water
Nice to see that I can even update the ESP firmware from my iPad...