Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[New device support]: UIOT device pairing exits abnormally #25868

Open
linrol opened this issue Jan 17, 2025 · 0 comments
Open

[New device support]: UIOT device pairing exits abnormally #25868

linrol opened this issue Jan 17, 2025 · 0 comments
Labels
new device support New device support request

Comments

@linrol
Copy link

linrol commented Jan 17, 2025

Link

https://www.unisiot.com/en/web/products.html

Database entry

{"data":{"friendly_name":"0x00158d000780e0cc","ieee_address":"0x00158d000780e0cc"},"type":"device_leave"}

Zigbee2MQTT version

2.0.0

Comments

2025-01-17T13:05:21.360907498Z [2025-01-17 21:05:21] info: z2m: Zigbee: allowing new devices to join.
2025-01-17T13:05:21.587191746Z [2025-01-17 21:05:21] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/response/permit_join', payload '{"data":{"time":254},"status":"ok","transaction":"5g9v4-1"}'
2025-01-17T13:05:35.712716129Z [2025-01-17 21:05:35] info: zh:controller: Interview for '0x00158d000780e0cc' started
2025-01-17T13:05:35.715314411Z [2025-01-17 21:05:35] info: z2m: Device '0x00158d000780e0cc' joined
2025-01-17T13:05:35.719461601Z [2025-01-17 21:05:35] info: z2m: Starting interview of '0x00158d000780e0cc'
2025-01-17T13:05:35.721973440Z [2025-01-17 21:05:35] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x00158d000780e0cc","ieee_address":"0x00158d000780e0cc"},"type":"device_joined"}'
2025-01-17T13:05:35.723672549Z [2025-01-17 21:05:35] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x00158d000780e0cc","ieee_address":"0x00158d000780e0cc","status":"started"},"type":"device_interview"}'
2025-01-17T13:05:35.795580421Z [2025-01-17 21:05:35] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x00158d000780e0cc","ieee_address":"0x00158d000780e0cc"},"type":"device_announce"}'
2025-01-17T13:05:35.861240129Z [2025-01-17 21:05:35] info: zh:controller:device: Device '0x00158d000780e0cc' is only compliant to revision 'pre-21' of the ZigBee specification (current revision: 23).
2025-01-17T13:05:36.373751364Z [2025-01-17 21:05:36] info: zh:controller: Succesfully interviewed '0x00158d000780e0cc'
2025-01-17T13:05:36.691554944Z [2025-01-17 21:05:36] info: z2m: Successfully interviewed '0x00158d000780e0cc', device has successfully been paired
2025-01-17T13:05:36.692355490Z [2025-01-17 21:05:36] warning: z2m: Device '0x00158d000780e0cc' with Zigbee model 'UIOT-TOUCHUAN[00,00]' and manufacturer name 'UIOT' is NOT supported, please follow https://www.zigbee2mqtt.io/advanced/support-new-devices/01_support_new_devices.html
2025-01-17T13:05:36.694997013Z [2025-01-17 21:05:36] info: z2m: Configuring '0x00158d000780e0cc'
2025-01-17T13:05:36.697599147Z [2025-01-17 21:05:36] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":{"description":"Automatically generated definition","exposes":[{"features":[{"access":7,"description":"On/off state of this light","label":"State","name":"state","property":"state","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"},{"access":7,"description":"Brightness of this light","label":"Brightness","name":"brightness","property":"brightness","type":"numeric","value_max":254,"value_min":0},{"access":7,"description":"Color temperature of this light","label":"Color temp","name":"color_temp","presets":[{"description":"Coolest temperature supported","name":"coolest","value":150},{"description":"Cool temperature (250 mireds / 4000 Kelvin)","name":"cool","value":250},{"description":"Neutral temperature (370 mireds / 2700 Kelvin)","name":"neutral","value":370},{"description":"Warm temperature (454 mireds / 2200 Kelvin)","name":"warm","value":454},{"description":"Warmest temperature supported","name":"warmest","value":500}],"property":"color_temp","type":"numeric","unit":"mired","value_max":500,"value_min":150},{"access":7,"description":"Color temperature after cold power on of this light","label":"Color temp startup","name":"color_temp_startup","presets":[{"description":"Coolest temperature supported","name":"coolest","value":150},{"description":"Cool temperature (250 mireds / 4000 Kelvin)","name":"cool","value":250},{"description":"Neutral temperature (370 mireds / 2700 Kelvin)","name":"neutral","value":370},{"description":"Warm temperature (454 mireds / 2200 Kelvin)","name":"warm","value":454},{"description":"Warmest temperature supported","name":"warmest","value":500},{"description":"Restore previous color_temp on cold power on","name":"previous","value":65535}],"property":"color_temp_startup","type":"numeric","unit":"mired","value_max":500,"value_min":150},{"access":7,"description":"Color of this light in the CIE 1931 color space (x/y)","features":[{"access":7,"label":"X","name":"x","property":"x","type":"numeric"},{"access":7,"label":"Y","name":"y","property":"y","type":"numeric"}],"label":"Color (X/Y)","name":"color_xy","property":"color","type":"composite"},{"access":7,"description":"Color of this light expressed as hue/saturation","features":[{"access":7,"label":"Hue","name":"hue","property":"hue","type":"numeric"},{"access":7,"label":"Saturation","name":"saturation","property":"saturation","type":"numeric"}],"label":"Color (HS)","name":"color_hs","property":"color","type":"composite"}],"type":"light"},{"access":2,"description":"Triggers an effect on the light (e.g. make light blink for a few seconds)","label":"Effect","name":"effect","property":"effect","type":"enum","values":["blink","breathe","okay","channel_change","finish_effect","stop_effect","colorloop","stop_colorloop"]},{"access":7,"category":"config","description":"Controls the behavior when the device is powered on after power loss","label":"Power-on behavior","name":"power_on_behavior","property":"power_on_behavior","type":"enum","values":["off","on","toggle","previous"]},{"access":1,"category":"diagnostic","description":"Triggered action (e.g. a button click)","label":"Action","name":"action","property":"action","type":"enum","values":["on","off","toggle","brightness_move_to_level","brightness_move_up","brightness_move_down","brightness_step_up","brightness_step_down","brightness_stop","color_temperature_move_stop","color_temperature_move_up","color_temperature_move_down","color_temperature_step_up","color_temperature_step_down","enhanced_move_to_hue_and_saturation","move_to_hue_and_saturation","color_hue_step_up","color_hue_step_down","color_saturation_step_up","color_saturation_step_down","color_loop_set","color_temperature_move","color_move","hue_move","hue_stop","move_to_saturation","move_to_hue"]},{"access":1,"category":"diagnostic","description":"Link quality (signal strength)","label":"Linkquality","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"UIOT-TOUCHUAN[00,00]","options":[{"access":2,"description":"Controls the transition time (in seconds) of on/off, brightness, color temperature (if applicable) and color (if applicable) changes. Defaults to 0 (no transition).","label":"Transition","name":"transition","property":"transition","type":"numeric","value_min":0},{"access":2,"description":"When enabled colors will be synced, e.g. if the light supports both color x/y and color temperature a conversion from color x/y to color temperature will be done when setting the x/y color (default true).","label":"Color sync","name":"color_sync","property":"color_sync","type":"binary","value_off":false,"value_on":true},{"access":2,"description":"State actions will also be published as 'action' when true (default false).","label":"State action","name":"state_action","property":"state_action","type":"binary","value_off":false,"value_on":true},{"access":2,"description":"Simulate a brightness value. If this device provides a brightness_move_up or brightness_move_down action it is possible to specify the update interval and delta. The action_brightness_delta indicates the delta for each interval.","features":[{"access":2,"description":"Delta per interval, 20 by default","label":"Delta","name":"delta","property":"delta","type":"numeric","value_min":0},{"access":2,"description":"Interval duration","label":"Interval","name":"interval","property":"interval","type":"numeric","unit":"ms","value_min":0}],"label":"Simulated brightness","name":"simulated_brightness","property":"simulated_brightness","type":"composite"}],"supports_ota":false,"vendor":"UIOT"},"friendly_name":"0x00158d000780e0cc","ieee_address":"0x00158d000780e0cc","status":"successful","supported":false},"type":"device_interview"}'
2025-01-17T13:05:44.598903522Z [2025-01-17 21:05:44] warning: z2m: Device '0x00158d000780e0cc' left the network
2025-01-17T13:05:44.646446864Z [2025-01-17 21:05:44] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x00158d000780e0cc","ieee_address":"0x00158d000780e0cc"},"type":"device_leave"}'
2025-01-17T13:05:47.457378879Z [2025-01-17 21:05:47] error: z2m: Failed to configure '0x00158d000780e0cc', attempt 1 (Error: Bind 0x00158d000780e0cc/1 genOnOff from '0x00124b0030c30b63/1' failed (AREQ - ZDO - bindRsp after 10000ms)
2025-01-17T13:05:47.457425156Z at Object.start (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/utils/waitress.ts:59:23)
2025-01-17T13:05:47.457431915Z at func (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:423:47)
2025-01-17T13:05:47.457437564Z at Queue.execute (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/utils/queue.ts:36:20)
2025-01-17T13:05:47.457442304Z at ZStackAdapter.sendZdoInternal (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:428:43)
2025-01-17T13:05:47.457447212Z at ZStackAdapter.sendZdo (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:305:16)
2025-01-17T13:05:47.457451934Z at Endpoint.bind (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:562:30)
2025-01-17T13:05:47.457456471Z at configure (/app/node_modules/.pnpm/[email protected]/node_modules/src/lib/modernExtend.ts:228:17)
2025-01-17T13:05:47.457460878Z at Object.configure (/app/node_modules/.pnpm/[email protected]/node_modules/src/index.ts:257:21)
2025-01-17T13:05:47.457465304Z at Configure.configure (/app/lib/extension/configure.ts:124:13)
2025-01-17T13:05:47.457469359Z at EventEmitter.wrappedCallback (/app/lib/eventBus.ts:204:17))
2025-01-17T13:06:24.094643848Z TypeError: Cannot read properties of undefined (reading 'manufacturerID')
2025-01-17T13:06:24.094708755Z at Array.extenderOnOffLight (/app/node_modules/.pnpm/[email protected]/node_modules/src/lib/generateDefinition.ts:314:33)
2025-01-17T13:06:24.094715866Z at addGenerators (/app/node_modules/.pnpm/[email protected]/node_modules/src/lib/generateDefinition.ts:124:34)
2025-01-17T13:06:24.094721217Z at generateDefinition (/app/node_modules/.pnpm/[email protected]/node_modules/src/lib/generateDefinition.ts:128:9)
2025-01-17T13:06:24.094726254Z at findDefinition (/app/node_modules/.pnpm/[email protected]/node_modules/src/index.ts:473:35)
2025-01-17T13:06:24.094731069Z at Object.findByDevice (/app/node_modules/.pnpm/[email protected]/node_modules/src/index.ts:441:22)
2025-01-17T13:06:24.094735773Z at Device.resolveDefinition (/app/lib/model/device.ts:52:31)
2025-01-17T13:06:24.094746106Z at Controller. (/app/lib/zigbee.ts:116:13)

External definition

no

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

no

@linrol linrol added the new device support New device support request label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new device support New device support request
Projects
None yet
Development

No branches or pull requests

1 participant