Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
11.8k stars 1.64k forks source link

[New device support]: tuya TS0601_TZE204_xpq2rzhq not supported sensor presence #21744

Open DNASystem opened 6 months ago

DNASystem commented 6 months ago

Link

https://www.amazon.it/dp/B0B3F8892T?psc=1&ref=ppx_yo2ov_dt_b_product_details

Database entry

_TZE204_xpq2rzhq

Comments

Hi, I don't know if this is the right section but I saw that the following sensor "_TZE204_xpq2rzhq" is not shown in the list of presence sensors, how can I add it? it tells me that it is not supported in the device list "tuya" is not shown

 {
     fingerprint: [{modelID: 'TS0601', manufacturerName: '_TZE200_ikvncluo'},
         {modelID: 'TS0601', manufacturerName: '_TZE200_lyetpprm'},
         {modelID: 'TS0601', manufacturerName: '_TZE200_jva8ink8'},
         {modelID: 'TS0601', manufacturerName: '_TZE200_holel4dk'},
         {modelID: 'TS0601', manufacturerName: '_TZE200_xpq2rzhq'},
         {modelID: 'TS0601', manufacturerName: '_TZE200_wukb7rhc'},
         {modelID: 'TS0601', manufacturerName: '_TZE204_xsm7l9xa'},
         {modelID: 'TS0601', manufacturerName: '_TZE204_ztc6ggyl'},
         {modelID: 'TS0601', manufacturerName: '_TZE200_ztc6ggyl'},
         {modelID: 'TS0601', manufacturerName: '_TZE200_sgpeacqp'}],

not supported

External definition

const definition = {
    zigbeeModel: ['TS0601'],
    model: 'TS0601',
    vendor: '_TZE204_xpq2rzhq',
    description: 'Automatically generated definition',
    extend: [],
    meta: {},
};

module.exports = definition;
Koenkk commented 6 months ago

Does it work when stopping z2m, changing the manufacturerName to _TZE200_jva8ink8 in the data/database.db and starting z2m ?

DNASystem commented 6 months ago

sorry I didn't understand how to make it work

DNASystem commented 6 months ago

I'm running z2m with home assistant addon where I find the folder where the database file is located, I have the z2m folder in home assistant there database but I don't think that's the file

Koenkk commented 6 months ago

You may be able to find it with the file browser addon

DNASystem commented 6 months ago

hi, I also checked with file browser, I can't find the main zigbee2mqtt files where I can add this sensor, is there a possibility of adding it in an update?

Koenkk commented 6 months ago

It should be in the /share/zigbee2mqtt folder

DNASystem commented 6 months ago

hi, I saw in the folder you indicated but it is empty, I can't find the container and supervisor folder in HA_OS, is there a guide on how to reach the file installed in the device folder?

Koenkk commented 6 months ago

I've added it now, can you check if it works?

Changes will be available in the dev branch in a few hours from now.

DNASystem commented 6 months ago

hi, sorry again, I saw that it was inserted in the converter but I'm not very familiar with how do I update zigbee2mqtt, I tried to replace the files but it's not recognized anyway, is there an installation method? for the HA_OS addon I don't see a new version of the addon yet, can you explain to me how I update so I can see if it works? thanks and sorry again

Koenkk commented 6 months ago

I think its best to wait for the next update on 1 April

github-actions[bot] commented 4 days ago

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 30 days