Zigbee Watermeter

Moderator: leecollings

Post Reply
zozo
Posts: 5
Joined: Saturday 15 April 2023 18:52
Target OS: Windows
Domoticz version:
Contact:

Zigbee Watermeter

Post by zozo »

Hello all,

(Sorry in advance for my english...)

I've realised this topic with an zigbee CC2530 and an inductive sensor : delete ** for the link :
https://community.**home-assistant.**io/t/diy-inductive-zigbee-water-meter/304402

Custom firmware on the CC2530 is working well and the device is schwa in Domoticz with MQTTAutodiscovery.

But, the device is a switch in domoticz. On/Off in working, but this is not the purpose.

The topic above, is for Home Assistant, and HA configuration is not for domoticz, so i want :

- Watercounter of the day, month, year.. LITER or M3
- Waterflow (L/MIN)
- Watercounter index M3

Can you help me ?
I think it's an event to create...
User avatar
waltervl
Posts: 5907
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Zigbee Watermeter

Post by waltervl »

Zigbee2MQTT created a (pulse) switch. If the Zigbe2MQTT Autodiscover would make it discovered as an S0 pulse meter in Domoticz you can read it directly into Domoticz. Only have to set the Domoticz meter device to Water. https://www.domoticz.com/wiki/S0Meter
I do not know if a S0 device is supported in Domoticz from Autodiscover.

Else you indeed have to write an event script triggered by the switch and calculate/update the water devices. I did not find such a script already on the forum and in the wiki as most solutions do the calculation in the intermediate device (EspEasy, Arduino, RPi GPIO) and send it as API call to Domoticz. Perhaps you will find some ideas in the following topic:
viewtopic.php?t=17123
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest