Koenkk / zigbee2mqtt

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

[New device support]: linptech K9Z(TY) 2404019-0175 #23958

Open ovsch6 opened 2 months ago

ovsch6 commented 2 months ago

Link

https://aliexpress.ru/item/1005005469765581.html?spm=a2g2w.orderdetail.0.0.37fc4aa63lENeH&sku_id=12000033211493629

Database entry

payload '{"data":{"id":"0x00000000c5155ba0","source":"\n\nconst definition = {\n zigbeeModel: ['GreenPower_2'],\n model: 'GreenPower_2',\n vendor: '',\n description: 'Automatically generated definition',\n extend: [],\n meta: {},\n};\n\nmodule.exports = definition;"},"status":"ok","transaction":"bxiem-3"}'

Zigbee2MQTT version

1.40.1

Comments

onst definition = { zigbeeModel: ['GreenPower_2'], model: 'GreenPower_2', vendor: '', description: 'Automatically generated definition', extend: [], meta: {}, };

module.exports = definition;

External definition

2024-09-13 21:17:22z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/response/permit_join', payload '{"data":{"time":254,"value":true},"status":"ok","transaction":"2gvc4-1"}'
Info 2024-09-13 21:17:24zh:controller:greenpower: Received commissioning from '35824'
Info 2024-09-13 21:17:25z2m: Device '0x000000002a818bf0' joined
Info 2024-09-13 21:17:25z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":{"friendly_name":"0x000000002a818bf0"},"type":"device_connected"}'
Info 2024-09-13 21:17:25z2m: Successfully interviewed '0x000000002a818bf0', device has successfully been paired
Warning 2024-09-13 21:17:25z2m: Device '0x000000002a818bf0' with Zigbee model 'GreenPower_2' and manufacturer name 'undefined' is NOT supported, please follow https://www.zigbee2mqtt.io/advanced/support-new-devices/01_support_new_devices.html
Info 2024-09-13 21:17:25z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"interview_successful","meta":{"friendly_name":"0x000000002a818bf0","supported":false},"type":"pairing"}'
Info 2024-09-13 21:17:25z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x000000002a818bf0","ieee_address":"0x000000002a818bf0"},"type":"device_joined"}'
Info 2024-09-13 21:17:25z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":null,"friendly_name":"0x000000002a818bf0","ieee_address":"0x000000002a818bf0","status":"successful","supported":null},"type":"device_interview"}'

What does/doesn't work with the external definition?

DONT SUPPORT)

Koenkk commented 2 months ago

Do you see anything in the debug log when triggering actions?

See this on how to enable debug logging.

ovsch6 commented 2 months ago

Info 2024-09-19 19:53:49zh:controller:greenpower: Received commissioning from '20510' Info 2024-09-19 19:53:49z2m: Device '0x00000000ca8e501e' joined Info 2024-09-19 19:53:49z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":{"friendly_name":"0x00000000ca8e501e"},"type":"device_connected"}' Info 2024-09-19 19:53:49z2m: Successfully interviewed '0x00000000ca8e501e', device has successfully been paired Warning 2024-09-19 19:53:49z2m: Device '0x00000000ca8e501e' with Zigbee model 'GreenPower_2' and manufacturer name 'undefined' is NOT supported, please follow https://www.zigbee2mqtt.io/advanced/support-new-devices/01_support_new_devices.html Info 2024-09-19 19:53:49z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"interview_successful","meta":{"friendly_name":"0x00000000ca8e501e","supported":false},"type":"pairing"}' Info 2024-09-19 19:53:49z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x00000000ca8e501e","ieee_address":"0x00000000ca8e501e"},"type":"device_joined"}' Info 2024-09-19 19:53:49z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":null,"friendly_name":"0x00000000ca8e501e","ieee_address":"0x00000000ca8e501e","status":"successful","supported":null},"type":"device_interview"}' Info 2024-09-19 19:53:54z2m: Successfully changed options Info 2024-09-19 19:53:54z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/response/options', payload '{"data":{"restart_required":false},"status":"ok","transaction":"50fzc-4"}' Info 2024-09-19 19:54:07z2m: Successfully changed options Info 2024-09-19 19:54:08z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/response/options', payload '{"data":{"restart_required":false},"status":"ok","transaction":"50fzc-5"}' Info 2024-09-19 19:54:22zh:controller:greenpower: Received commissioning from '278' Info 2024-09-19 19:54:23z2m: Device '0x000000008dc90116' joined Info 2024-09-19 19:54:23z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":{"friendly_name":"0x000000008dc90116"},"type":"device_connected"}' Info 2024-09-19 19:54:23z2m: Successfully interviewed '0x000000008dc90116', device has successfully been paired Warning 2024-09-19 19:54:23z2m: Device '0x000000008dc90116' with Zigbee model 'GreenPower_2' and manufacturer name 'undefined' is NOT supported, please follow https://www.zigbee2mqtt.io/advanced/support-new-devices/01_support_new_devices.html Info 2024-09-19 19:54:23z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"interview_successful","meta":{"friendly_name":"0x000000008dc90116","supported":false},"type":"pairing"}' Info 2024-09-19 19:54:23z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x000000008dc90116","ieee_address":"0x000000008dc90116"},"type":"device_joined"}' Info 2024-09-19 19:54:23z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":null,"friendly_name":"0x000000008dc90116","ieee_address":"0x000000008dc90116","status":"successful","supported":null},"type":"device_interview"}' Info 2024-09-19 19:54:32z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/репитер', payload '{"linkquality":90}'

Koenkk commented 2 months ago

If it keeps sending the commissioning command (Received commissioning from) you probably need to confirm the channel by pressing a certain key combination on the device, consult the manual for this.