Open Takacsk76 opened 2 months ago
Thank you very much! after a couple of months your post gave me light! I'm also struggling with decoding the JSON in month_consumption and daily_consumption but with no success. AFAIK the last position in the buffer is the current state but I had no success implementing it on the external converter.
Thank you very much! after a couple of months your post gave me light! I'm also struggling with decoding the JSON in month_consumption and daily_consumption but with no success. AFAIK the last position in the buffer is the current state but I had no success implementing it on the external converter.
I have not yet installed the device in its final location, but it is expected to be ready this week. I didn't know what to do with the JSON data yet, because there is nothing to compare it to. In my opinion, the data could be statistics for the last 7 days and the last 7 months, but this is just a guess (but why only 7 months?).
Is there something already available to add manually ?
As far as I know, there isn't.
I have just acquired a 214C and have just managed to get it paired (the supplied manual described using a Hall Effect button with a magnet - it doesn't exist - you have to long-press when the date is shown) I can see the device OK in Tuya, but unsupported in Z2M. Not yet plumbed in. But hopefully I can contribute or at least test anything others find.
Hi, I received a video from the seller for zigbee pairing:
User Manual===https://drive.google.com/file/d/1BZ7b_sgXukM0FRVaEws1VgDZbckWVEoa/view?usp=sharing
213E===https://drive.google.com/file/d/1q-v2mhXkvjOclElcICHZBHT3yqfJ9d_G/view?usp=sharing
214C===https://drive.google.com/file/d/1gM6k_ndeKYNl9mXyKixQ_uLA6TiDvyAa/view?usp=sharing
Ah thanks, now I have the full manual - after question to the supplier they had sent me just the two relevant pages. The manual in the box is totally different. Your info will certainly help anyone else who discovers this. But that's really outside of this thread on Z2M !
Very welcome. I would also be happy to help implement the integration into Z2M, but no such request has been received so far.
I just need to figure out how to calculate the battery percentage. I'm trying, but I can't.
Link
https://www.aliexpress.com/item/1005007308058989.html?spm=a2g0o.order_list.order_list_main.5.79851802N0tQyH
Other: https://www.tuyaexpo.com/product/1105384
What I learned
Factory name of the device: Zigbee阀控超声波水表-vdevo In English: Zigbee valve controlled ultrasonic water meter-vdevo
Data points in the Tuya app:
Database entry
{"id":56,"type":"EndDevice","ieeeAddr":"0xa4c1389cbaf936cd","nwkAddr":807,"manufId":4417,"manufName":"_TZE200_zlwr0raf","powerSource":"Battery","modelId":"TS0601","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":81,"inClusterList":[4,5,61184,0],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"65503":"��|.i��|.i��|.i\u0004�|.f\u0005�|.\u0012","65506":56,"65508":0,"stackVersion":0,"dateCode":"","appVersion":72,"modelId":"TS0601","manufacturerName":"_TZE200_zlwr0raf","powerSource":3,"zclVersion":3,"hwVersion":1}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":72,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{},"lastSeen":1726666275707}
Zigbee2MQTT version
1.40.1
Comments (starting point)
I tried to make the configuration based on another type: https://github.com/Koenkk/zigbee2mqtt/issues/21255
ZHA has exactly this configuration, but it should be transferred to Z2M: https://github.com/zigpy/zha-device-handlers/issues/3301
Tuya development
Output from the script in tuya_dev:
Results:
I don't really understand how Zigbee and Tuya clusters work.
External definition
What does/doesn't work with the external definition?
What works with external definition:
What doesn't work with the external definition:
Template binary sensors
Processing of "Warning" statuses "state": "{{ '{:013b}'.format(state_attr('sensor.water_meter_warning', 'warning') | int)[-1] == '1' }}", [-1]: the sequence number of the bit
HA device data:
Request:
///If anyone could help me create a working config file I would greatly appreciate it. I'm just trying, but I have no scientific basis. Thanks/// I managed to put something together