Open BartRuSec opened 3 months ago
@BartRuSec it may help to find the unknown values https://www.zigbee2mqtt.io/advanced/support-new-devices/03_find_tuya_data_points.html
Thank @mrmaximas for the tip. Before I created my own external converter, I browsed through this and other documentation and looked through the source code for inspiration. I don't have a Tuya gateway and I don't use Tuya Cloud, so I mainly checked what was displayed on the device vs the values from EP and I managed to achieve what was needed and valuable for me (I don't need more information).
@BartRuSec I bought a wired Tuya Gateway for $20 for experiments, including firmware interception, I think it's a small price to pay for the development of this project :)
Link
https://houseiq.pl/pl/p/OXT-licznik-3-fazy-2-kierunkowy-ZigBee-TUYA/1859 https://pl.aliexpress.com/item/1005003481560370.html
Database entry
{"id":10,"type":"Router","ieeeAddr":"0x943469fffec65a4a","nwkAddr":43048,"manufId":4098,"manufName":"_TZE200_bkkmqmyo","powerSource":"Mains (single phase)","modelId":"TS0601","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":81,"inClusterList":[0,4,5,61184],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"65503":"���-i���-i","65506":31,"65508":0,"65534":0,"modelId":"TS0601","manufacturerName":"_TZE200_bkkmqmyo","stackVersion":0,"dateCode":"","zclVersion":3,"appVersion":65,"powerSource":1}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":65,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":-708457359},"lastSeen":1710942569728}
Comments
Now It is wrongly recognized as Hiking DDS238-2 . Following external definition works fine. It would be nice to extend homeassistant.ts with proper device classes:
External definition