Toon App: Water

Forum about forum-provided applications on Toon

Moderators: marcelr, TheHogNL, Toonz

oepi-loepi
Advanced Member
Advanced Member
Posts: 628
Joined: Sat Feb 09, 2019 7:18 pm

Re: Toon App: Water

Post by oepi-loepi »

PeJeWe wrote:I have a water meter connected to my raspberry, is it possible to import this data from domoticz (json) ? to display it on my toon?
I am working on that version. It will be double on the toon side. Esp8266. OR domoticz input. I expect to have the new version available this weekend. But plse be aware that the pi—>domoticz—> toon path is a taking time. Best is to use the wemos option which sends data to toon AND Domoticz and has a web interface.
Last edited by oepi-loepi on Mon Feb 08, 2021 10:53 pm, edited 2 times in total.
Jasper
Member
Member
Posts: 85
Joined: Wed Jun 05, 2019 11:29 pm

Re: Toon App: Water

Post by Jasper »

I'll have to check tomorrow afternoon because it doesn't update OTA.

Let you know asap.
Arnout2000
Member
Member
Posts: 111
Joined: Sun Oct 04, 2020 8:11 pm

Re: Toon App: Water

Post by Arnout2000 »

What a nice idea! Will order the stuff from Ali. Nice project!
Ron_nl
Member
Member
Posts: 78
Joined: Tue Mar 26, 2019 3:20 pm
Location: Friesland

Re: Toon App: Water

Post by Ron_nl »

Nice project!
I do have 1 question, how do you position you the sensor?
Like the black circle right on top of the wheel, or off centered like the yellow circle?
Image

Ron.
Jasper
Member
Member
Posts: 85
Joined: Wed Jun 05, 2019 11:29 pm

Re: Toon App: Water

Post by Jasper »

Off center because the sensor is almost same size as the wheel/needle and if centered it will always see that larger part of the wheel/needle.

Mine is edge of the sensor on center of the needle axis.
Ron_nl
Member
Member
Posts: 78
Joined: Tue Mar 26, 2019 3:20 pm
Location: Friesland

Re: Toon App: Water

Post by Ron_nl »

Kinda what I thought, but wanted to be shure.

Thanks.

Ron.
Jasper
Member
Member
Posts: 85
Joined: Wed Jun 05, 2019 11:29 pm

Re: Toon App: Water

Post by Jasper »

Flashed new firmware and set my meter value, Now Toon says "Today -1083.93m3"
So guess it saves the first value direct on start, Maybe let the user add value on setup with wifi setup?
Jasper
Member
Member
Posts: 85
Joined: Wed Jun 05, 2019 11:29 pm

Re: Toon App: Water

Post by Jasper »

in the json get devices I dont see water jet, Though Toon now does show water usage, Very nice.

Code: Select all

{"dev_settings_device": {"uuid": "d213df3c-c5dd-4e68-99b7-9128eb1648f8", "name": "settings_device", "internalAddress": "settings_device", "type": "settings_device"}, 
"dev_4": {"uuid": "fab0a091-cad1-455b-8bc6-189803bd1b5d", "name": "Meetmodule", "internalAddress": "4", "type": "HAE_METER_v3", "supportsCrc": "1", "ccList": "5e 86 72 32 56 5a 59 85 73 7a 60 8e 22 70 8b 3c 3d 3e", "supportedCC": "5e 86 72 32 56 5a 59 85 73 7a 60 8e 22 70 8b 3c 3d 3e", "nodeFlags": [], "IsConnected": "1", "HealthValue": "1", "DeviceName": "Meetmodule", "CurrentSensorStatus": "UNKNOWN"}, 
"dev_4.1": {"uuid": "726e218e-c4e8-4ef6-b17f-b5c75ad85b96", "name": "HAE_METER_v3_1", "internalAddress": "4.1", "type": "HAE_METER_v3_1", "supportsCrc": "0", "ccList": "5e 59 85 8e 3c 3d 3e", "supportedCC": "5e 59 85 8e 3c 3d 3e", "nodeFlags": [], "CurrentSensorStatus": "OPERATIONAL", "CurrentGasFlow": "NaN", "CurrentGasQuantity": "5062203.00", "DeviceName": "HAE_METER_v3_1"}, 
"dev_4.2": {"uuid": "b7ed81a7-f1f8-4a70-b138-20e046717e1c", "name": "HAE_METER_v3_2", "internalAddress": "4.2", "type": "HAE_METER_v3_2", "supportsCrc": "0", "ccList": "5e 59 85 8e 3c 3d 3e", "supportedCC": "5e 59 85 8e 3c 3d 3e", "nodeFlags": [], "CurrentSensorStatus": "UNKNOWN", "DeviceName": "HAE_METER_v3_2", "CurrentElectricityFlow": "NaN", "CurrentElectricityQuantity": "NaN"}, 
"dev_4.3": {"uuid": "ffc93231-11be-4214-8d59-18c36d33ae23", "name": "HAE_METER_v3_3", "internalAddress": "4.3", "type": "HAE_METER_v3_3", "supportsCrc": "0", "ccList": "5e 59 85 8e 3c 3d 3e", "supportedCC": "5e 59 85 8e 3c 3d 3e", "nodeFlags": [], "CurrentSensorStatus": "OPERATIONAL", "DeviceName": "HAE_METER_v3_3", "CurrentElectricityFlow": "13.00", "CurrentElectricityQuantity": "35621.00"}, 
"dev_4.4": {"uuid": "98b4b94d-0096-4dfd-bf38-0d462bce9bea", "name": "HAE_METER_v3_4", "internalAddress": "4.4", "type": "HAE_METER_v3_4", "supportsCrc": "0", "ccList": "5e 59 85 8e 3c 3d 3e", "supportedCC": "5e 59 85 8e 3c 3d 3e", "nodeFlags": [], "CurrentSensorStatus": "OPERATIONAL", "DeviceName": "HAE_METER_v3_4", "CurrentElectricityFlow": "580.00", "CurrentElectricityQuantity": "8331527.00"}, 
"dev_4.5": {"uuid": "e1347ce6-fd45-46ec-90eb-d800adcf4a51", "name": "HAE_METER_v3_5", "internalAddress": "4.5", "type": "HAE_METER_v3_5", "supportsCrc": "0", "ccList": "5e 59 85 8e 3c 3d 3e", "supportedCC": "5e 59 85 8e 3c 3d 3e", "nodeFlags": [], "CurrentSensorStatus": "UNKNOWN", "DeviceName": "HAE_METER_v3_5", "CurrentElectricityFlow": "NaN", "CurrentElectricityQuantity": "5980624.00"}, 
"dev_4.6": {"uuid": "c38221bf-3d41-459a-b951-946bf7b57663", "name": "HAE_METER_v3_6", "internalAddress": "4.6", "type": "HAE_METER_v3_6", "supportsCrc": "0", "ccList": "5e 59 85 8e 3c 3d 3e", "supportedCC": "5e 59 85 8e 3c 3d 3e", "nodeFlags": [], "CurrentSensorStatus": "UNKNOWN", "DeviceName": "HAE_METER_v3_6", "CurrentElectricityFlow": "NaN", "CurrentElectricityQuantity": "9302913.00"}, 
"dev_4.7": {"uuid": "6739da2b-d011-4527-b5fe-5936c12ef371", "name": "HAE_METER_v3_7", "internalAddress": "4.7", "type": "HAE_METER_v3_7", "supportsCrc": "0", "ccList": "5e 59 85 8e 3c 3d 3e", "supportedCC": "5e 59 85 8e 3c 3d 3e", "nodeFlags": [], "CurrentSensorStatus": "UNKNOWN", "DeviceName": "HAE_METER_v3_7", "CurrentElectricityFlow": "NaN", "CurrentElectricityQuantity": "2475936.00"}, 
"dev_4.8": {"uuid": "55e8f469-3c77-4fb3-9ae6-ef92fe9d4310", "name": "HAE_METER_v3_8", "internalAddress": "4.8", "type": "HAE_METER_v3_8", "supportsCrc": "0", "ccList": "5e 59 85 8e 3c 3d 3e", "supportedCC": "5e 59 85 8e 3c 3d 3e", "nodeFlags": [], "CurrentSensorStatus": "UNKNOWN", "DeviceName": "HAE_METER_v3_8", "CurrentHeatQuantity": "NaN"}}
oepi-loepi
Advanced Member
Advanced Member
Posts: 628
Joined: Sat Feb 09, 2019 7:18 pm

Re: Toon App: Water

Post by oepi-loepi »

No, you won't see a device since there is no device....... In the next version you will also be able to see the Value of the water in Euro's.
Jasper
Member
Member
Posts: 85
Joined: Wed Jun 05, 2019 11:29 pm

Re: Toon App: Water

Post by Jasper »

Would be great, how did you get it to show up in domoticz? I'd like to see if I can get it to show up in home assistant.
oepi-loepi
Advanced Member
Advanced Member
Posts: 628
Joined: Sat Feb 09, 2019 7:18 pm

Re: Toon App: Water

Post by oepi-loepi »

Jasper wrote:Would be great, how did you get it to show up in domoticz? I'd like to see if I can get it to show up in home assistant.
If you have the esp up and running, you can goto /ipofesp/water.html. Can you use that json to read into ha?
Jasper
Member
Member
Posts: 85
Joined: Wed Jun 05, 2019 11:29 pm

Re: Toon App: Water

Post by Jasper »

Not sure though I'll ask if other more skilled people know.
oepi-loepi
Advanced Member
Advanced Member
Posts: 628
Joined: Sat Feb 09, 2019 7:18 pm

Re: Toon App: Water

Post by oepi-loepi »

Jasper wrote:Not sure though I'll ask if other more skilled people know.
I have read about this but maybe someone on the forum can help?

sensor:
- platform: rest
resource: http://ip.jsontest.com
name: External IP
value_template: '{{ value_json.ip }}'

The json to be read is like this: {"waterflow":"0","waterquantity":"1037659"}
Tebogo
Starting Member
Starting Member
Posts: 42
Joined: Wed Jan 20, 2021 10:12 am

Re: Toon App: Water

Post by Tebogo »

I manage to get as far as:

1. Update your Toon
2. Flash a Wemos D1 Mini with the .bin (see link below)
3. Install the app from the toonstore
4. Start the Wemos and select wifi Autoconnect and goto 192.168.4.1

After this I can see in my DHCP server that is got a Ip-adress but is down.
What could be wrong?

I tried 2x on a Wemos D1 Mini and 1x on a ESP8266. Both same symptoms.

Thanks in advance..
oepi-loepi
Advanced Member
Advanced Member
Posts: 628
Joined: Sat Feb 09, 2019 7:18 pm

Re: Toon App: Water

Post by oepi-loepi »

Tebogo wrote:I manage to get as far as:

1. Update your Toon
2. Flash a Wemos D1 Mini with the .bin (see link below)
3. Install the app from the toonstore
4. Start the Wemos and select wifi Autoconnect and goto 192.168.4.1

After this I can see in my DHCP server that is got a Ip-adress but is down.
What could be wrong?

I tried 2x on a Wemos D1 Mini and 1x on a ESP8266. Both same symptoms.

Thanks in advance..
Power up one of the Wemos. Reset with the little button while powered on. Take your phone or tablet and connect to the AutoConnectAP wifi network. It should get you to a setup portal in a few seconds.

Select a wifi network and set your normal wifi credentials like username and password, fixed IP and network mask and gateway adress and save. Wemos will be restarted and connect with a fixed IP.

Goto the ip adress in a browser and you will see the toonWater main page.
Post Reply

Return to “Toon Apps”