Page 2 of 29

Re: Toon App: Water

Posted: Mon Feb 08, 2021 9:10 pm
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.

Re: Toon App: Water

Posted: Mon Feb 08, 2021 9:14 pm
by Jasper
I'll have to check tomorrow afternoon because it doesn't update OTA.

Let you know asap.

Re: Toon App: Water

Posted: Mon Feb 08, 2021 10:02 pm
by Arnout2000
What a nice idea! Will order the stuff from Ali. Nice project!

Re: Toon App: Water

Posted: Tue Feb 09, 2021 12:04 pm
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.

Re: Toon App: Water

Posted: Tue Feb 09, 2021 12:30 pm
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.

Re: Toon App: Water

Posted: Tue Feb 09, 2021 1:10 pm
by Ron_nl
Kinda what I thought, but wanted to be shure.

Thanks.

Ron.

Re: Toon App: Water

Posted: Tue Feb 09, 2021 4:23 pm
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?

Re: Toon App: Water

Posted: Tue Feb 09, 2021 5:50 pm
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"}}

Re: Toon App: Water

Posted: Tue Feb 09, 2021 10:15 pm
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.

Re: Toon App: Water

Posted: Tue Feb 09, 2021 11:01 pm
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.

Re: Toon App: Water

Posted: Tue Feb 09, 2021 11:41 pm
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?

Re: Toon App: Water

Posted: Wed Feb 10, 2021 5:44 am
by Jasper
Not sure though I'll ask if other more skilled people know.

Re: Toon App: Water

Posted: Wed Feb 10, 2021 8:54 am
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"}

Re: Toon App: Water

Posted: Wed Feb 10, 2021 3:31 pm
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..

Re: Toon App: Water

Posted: Wed Feb 10, 2021 3:50 pm
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.