Page 5 of 29

Re: Toon App: Water

Posted: Sat Feb 13, 2021 9:31 am
by Jasper
Same works for me indeed, only thing is that you can't use the default water tiles like mentioned above.

Re: Toon App: Water

Posted: Sat Feb 13, 2021 10:59 am
by Daniel
oepi-loepi wrote:
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
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.
Yes I installed the app, entered the correct ip address and press opslaan, but after entering the correct ip address and save the Toon didnt reboot.
Is see the message 'water instellen en herstarten als nodig... Water featuren stonden reeds aan... instellingen opgeslagen... Nieuwe tellerstand opgeslagen...


Its working now! Just run the update script -f

Re: Toon App: Water

Posted: Sat Feb 13, 2021 11:42 am
by oepi-loepi
Daniel wrote:
oepi-loepi wrote:
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
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.
Yes I installed the app, entered the correct ip address and press opslaan, but after entering the correct ip address and save the Toon didnt reboot.
Is see the message 'water instellen en herstarten als nodig... Water featuren stonden reeds aan... instellingen opgeslagen... Nieuwe tellerstand opgeslagen...


Its working now! Just run the update script -f
So you just forgot step 1: update your toon....

Re: Toon App: Water

Posted: Sat Feb 13, 2021 12:00 pm
by Jasper
A little addition to the manual, or maybe it's in there and I missed it.

The meter value should be added like this "2295454" (without the quotes) and not like I did 2295.454 or 2295,454

Re: Toon App: Water

Posted: Sat Feb 13, 2021 12:29 pm
by Jasper
It was a bit of a struggle for me to get the data into Home Assistant though I have it working , well kind off lol

I found something and still need a bit help is possible.

I can get the meter value now though I need to split it because it reads “2295565 M3” instead I need to have the last 3 digits behind a , (comma) instead.

Copy to clipboard

Code: Select all

sensor:
- platform: rest
  resource: http://192.168.1.130/water.html
  name: Watermeter
  value_template: "{{ value_json.waterquantity }}"
  unit_of_measurement: "M3"
source is like posted above:

Code: Select all

{"waterflow":"0","waterquantity":"2295565"}

Re: Toon App: Water

Posted: Sat Feb 13, 2021 12:56 pm
by oepi-loepi
so you are reading liters instead of m3 (change m3 into l an option?)

Re: Toon App: Water

Posted: Sat Feb 13, 2021 1:53 pm
by Jasper
Would be an option though then it's quite a long number and differences are less visible in my opinion.

I can see if I can do some math in home assistant to get what I want.

Thank you for the service

Re: Toon App: Water

Posted: Sat Feb 13, 2021 2:03 pm
by Jasper
After all it was easier than I thought.

Changed this
value_template: "{{ value_json.waterquantity }}"

To this
value_template: "{{ value_json.waterquantity | float / 1000 }}"

Re: Toon App: Water

Posted: Sat Feb 13, 2021 2:31 pm
by oepi-loepi
Jasper wrote:After all it was easier than I thought.

Changed this
value_template: "{{ value_json.waterquantity }}"

To this
value_template: "{{ value_json.waterquantity | float / 1000 }}"
Great!

Re: Toon App: Water

Posted: Sat Feb 13, 2021 8:40 pm
by oepi-loepi
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
-Change in toon files files dusring configuration so that also Euro's are added. For this, goto config screen and click "opslaan"

Re: Toon App: Water

Posted: Sat Feb 13, 2021 8:53 pm
by Jasper
Thanks, I'll probably try tomorrow

Re: Toon App: Water

Posted: Sun Feb 14, 2021 11:41 am
by Jasper
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
-Change in toon files files dusring configuration so that also Euro's are added. For this, goto config screen and click "opslaan"
Don't see 1.1.2 on github
ToonWater.ino.d1_mini.bin
version 1.1.1
6 days ago

Re: Toon App: Water

Posted: Sun Feb 14, 2021 12:06 pm
by oepi-loepi
It is the Toon app which has changed not the ESP. Update your toon via the ToonStore .

Re: Toon App: Water

Posted: Sun Feb 14, 2021 1:29 pm
by Jasper
Thanks, that probably updated last night already. See it's on the 1.1.2 already.

Re: Toon App: Water

Posted: Sun Feb 14, 2021 11:44 pm
by kabelmanroel
Why not use espeasy or tasmota on the D1 mini?