core: XB3-24 module stops responding and trace back errors.
Home Assistant release with the issue:
version 0.93.1
Last working Home Assistant release (if known):
Unknown
Operating environment (Hass.io/Docker/Windows/etc.):
Debian 9 in VM instance
Component/platform:
-
XB3-24 Module
-
Waveshare XBee USB Adapter USB Communication Board with Xbee Interface Supports XBee Connectivity or
-
Sparkfun XBee Explorer Dongle
-
Test Light: Cree BA19-08027OMF-12CE26-1C110 Connected 60W Equivalent Soft White (2700K) A19 Dimmable LED Light Bulb
arch x86_64 dev false docker false hassio false os_name Linux python_version 3.7.2 timezone US/Eastern version 0.93.1 virtualenv true
Description of problem:
XB3-24 module auto-discovers when being added to ZHA integration component and it makes what appears the necessary adjustments to the XB3-24 modules.
Test Light: Cree BA19-08027OMF-12CE26-1C110 Connected 60W Equivalent Soft White (2700K) A19 Dimmable LED Light Bulb
Adding Cree test light appears to discover and initially work, turning off/on, dimmable , etc. However, 3-5 minutes later the Cree test light bulb stops responding to any commands and then goes unreachable some time later.
Door/window sensors also go unresponsive and unreachable as well.
Like to add this issue doesn’t occur with the Nortek Security & Control (HUSBZBB-1).
Trying to migrate to XB3-24 pro for the added distance as my house is quite large.
Also, would be of great benefit if all XCTU commands be provided to ensuring the XB3-24 module is correctly set as a Controller.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
N/A - Added /dev/ttyUSB0 | Xbee via adding ZHA component under Integration
Traceback (if applicable):
2019-05-20 07:39:31 WARNING (MainThread) [zigpy.util] Error calling listener.node_descriptor_updated: FOREIGN KEY constraint failed
2019-05-20 07:39:32 WARNING (MainThread) [zigpy.zdo] Unknown ZDO cluster 0x08
2019-05-20 07:39:32 WARNING (MainThread) [zigpy.zdo] [0x75c4:zdo] Unsupported ZDO request 0x0008
2019-05-20 07:39:44 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140021935449536] Error handling message: required key not provided @ data['device_id']. Got None
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/websocket_api/connection.py", line 76, in async_handle
handler(self.hass, self, schema(msg))
File "/srv/homeassistant/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 267, in __call__
return self._compiled([], data)
File "/srv/homeassistant/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 589, in validate_dict
return base_validate(path, iteritems(data), out)
File "/srv/homeassistant/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 427, in validate_mapping
raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: required key not provided @ data['device_id']
Additional information:
Device Add Log File under ZHA
Device 0x75c4 (e2:0d:b9:ff:fe:08:ba:e5) joined the network [0x75c4:zdo] ZDO request 0x0013: [0, 00:00:00:00:00:00:00:00, 0] [0x75c4] Requesting ‘Node Descriptor’ [0x75c4] Requesting ‘Node Descriptor’ [0x75c4] Node Descriptor: <NodeDescriptor byte1=17 byte2=64 mac_capability_flags=142 manufacturer_code=4425 maximum_buffer_size=89 maximum_incoming_transfer_size=61 server_mask=0 maximum_outgoing_transfer_size=61 descriptor_capability_field=0> Error calling listener.node_descriptor_updated: FOREIGN KEY constraint failed [0x75c4] Node Descriptor: <NodeDescriptor byte1=17 byte2=64 mac_capability_flags=142 manufacturer_code=4425 maximum_buffer_size=89 maximum_incoming_transfer_size=61 server_mask=0 maximum_outgoing_transfer_size=61 descriptor_capability_field=0> [0x75c4] Discovering endpoints [0x75c4] Discovered endpoints: [10] [0x75c4:10] Discovering endpoint information [0x75c4:10] Discovered endpoint information: <SimpleDescriptor endpoint=10 profile=49246 device_type=256 device_version=2 input_clusters=[0, 4096, 4, 3, 5, 6, 8] output_clusters=[0, 25]> [0x75c4:10] Manufacturer: CREE [0x75c4:10] Model: Connected A-19 60W Equivalent Considering <class ‘zigpy.quirks.smartthings.SmartthingsMultiPurposeSensor’> Fail because endpoint list mismatch: dict_keys([1]) {10} Considering <class ‘zigpy.quirks.kof.CeilingFan’> Fail because endpoint list mismatch: dict_keys([1]) {10} Considering <class ‘zigpy.quirks.keen.KeenTemperatureHumiditySensor’> Fail because endpoint list mismatch: dict_keys([1]) {10} Considering <class ‘zigpy.quirks.ikea.TradfriPlug’> Fail because endpoint list mismatch: dict_keys([1, 2, 242]) {10} Considering <class ‘zhaquirks.centralite.3130.CentraLite3130’> Fail because endpoint list mismatch: dict_keys([1]) {10} Considering <class ‘zhaquirks.centralite.3300S.CentraLite3300S’> Fail because endpoint list mismatch: dict_keys([1, 2]) {10} Considering <class ‘zhaquirks.centralite.3305S.CentraLite3305S’> Fail because endpoint list mismatch: dict_keys([1, 2]) {10} Considering <class ‘zhaquirks.centralite.3310S.CentraLite3310S’> Fail because endpoint list mismatch: dict_keys([1]) {10} Considering <class ‘zhaquirks.centralite.3315S.CentraLite3315S’> Fail because endpoint list mismatch: dict_keys([1, 2]) {10} Considering <class ‘zhaquirks.centralite.3320.CentraLite3320’> Fail because endpoint list mismatch: dict_keys([1, 2]) {10} Considering <class ‘zhaquirks.centralite.3321S.CentraLite3321S’> Fail because endpoint list mismatch: dict_keys([1, 2]) {10} Considering <class ‘zhaquirks.centralite.ias.CentraLiteIASSensor’> Fail because endpoint list mismatch: dict_keys([1, 2]) {10} Considering <class ‘zhaquirks.centralite.motion.CentraLiteMotionSensor’> Fail because endpoint list mismatch: dict_keys([1, 2]) {10} Considering <class ‘zhaquirks.gledopto.gls007z.GLS007Z’> Fail because endpoint list mismatch: dict_keys([12, 11, 13]) {10} Considering <class ‘zhaquirks.gledopto.soposhgu10.SoposhGU10’> Fail because endpoint list mismatch: dict_keys([11, 13]) {10} Considering <class ‘zhaquirks.hivehome.mot003V0.MOT003’> Fail because endpoint list mismatch: dict_keys([6]) {10} Considering <class ‘zhaquirks.hivehome.mot003V6.MOT003’> Fail because endpoint list mismatch: dict_keys([6]) {10} Considering <class ‘zhaquirks.innr.rs228t.RS228T’> Fail because endpoint list mismatch: dict_keys([1, 242]) {10} Considering <class ‘zhaquirks.netvox.z308e3ed.Z308E3ED’> Fail because endpoint list mismatch: dict_keys([1]) {10} Considering <class ‘zhaquirks.osram.a19rgbw.LIGHTIFYA19RGBW’> Fail because endpoint list mismatch: dict_keys([3]) {10} Considering <class ‘zhaquirks.osram.a19twhite.A19TunableWhite’> Fail because endpoint list mismatch: dict_keys([3]) {10} Considering <class ‘zhaquirks.osram.flexrgbw.FlexRGBW’> Fail because endpoint list mismatch: dict_keys([3]) {10} Considering <class ‘zhaquirks.osram.lightifyx4.LightifyX4’> Fail because endpoint list mismatch: dict_keys([1, 2, 3, 4, 5, 6]) {10} Considering <class ‘zhaquirks.philips.rwl021.PhilipsRWL021’> Fail because endpoint list mismatch: dict_keys([1, 2]) {10} Considering <class ‘zhaquirks.samjin.button.SamjinButton’> Fail because endpoint list mismatch: dict_keys([1]) {10} Considering <class ‘zhaquirks.samjin.button2.SamjinButton’> Fail because endpoint list mismatch: dict_keys([1]) {10} Considering <class ‘zhaquirks.sinope.thermostat.SinopeTechnologiesThermostat’> Fail because endpoint list mismatch: dict_keys([1, 196]) {10} Considering <class ‘zhaquirks.smartthings.motionv4.SmartThingsMotionV4’> Fail because endpoint list mismatch: dict_keys([1]) {10} Considering <class ‘zhaquirks.smartthings.multiv4.SmartThingsMultiV4’> Fail because endpoint list mismatch: dict_keys([1]) {10} Considering <class ‘zhaquirks.smartthings.tag_v4.SmartThingsTagV4’> Fail because endpoint list mismatch: dict_keys([1]) {10} Considering <class ‘zhaquirks.visonic.mct340e.MCT340E’> Fail because endpoint list mismatch: dict_keys([1]) {10} Considering <class ‘zhaquirks.xiaomi.aqara.cube_aqgl01.CubeAQGL01’> Fail because endpoint list mismatch: dict_keys([1, 2, 3]) {10} Considering <class ‘zhaquirks.xiaomi.aqara.magnet_aq2.MagnetAQ2’> Fail because endpoint list mismatch: dict_keys([1]) {10} Considering <class ‘zhaquirks.xiaomi.aqara.motion_aq2.MotionAQ2’> Fail because endpoint list mismatch: dict_keys([1]) {10} Considering <class ‘zhaquirks.xiaomi.aqara.motion_aq2b.MotionAQ2’> Fail because endpoint list mismatch: dict_keys([1]) {10} Considering <class ‘zhaquirks.xiaomi.aqara.remote_b286acn01.RemoteB286ACN01’> Fail because endpoint list mismatch: dict_keys([1, 2, 3]) {10} Considering <class ‘zhaquirks.xiaomi.aqara.sensor_swit.SwitchAQ3V2’> Fail because endpoint list mismatch: dict_keys([1]) {10} Considering <class ‘zhaquirks.xiaomi.aqara.sensor_switch_aq3.SwitchAQ3’> Fail because endpoint list mismatch: dict_keys([1]) {10} Considering <class ‘zhaquirks.xiaomi.aqara.switch_aq2.SwitchAQ2’> Fail because endpoint list mismatch: dict_keys([1]) {10} Considering <class ‘zhaquirks.xiaomi.aqara.vibration_aq1.VibrationAQ1’> Fail because endpoint list mismatch: dict_keys([1, 2]) {10} Considering <class ‘zhaquirks.xiaomi.aqara.weather.Weather’> Fail because endpoint list mismatch: dict_keys([1]) {10} Considering <class ‘zhaquirks.xiaomi.aqara.wleak_aq1.LeakAQ1’> Fail because endpoint list mismatch: dict_keys([1]) {10} Considering <class ‘zhaquirks.xiaomi.mija.motion.Motion’> Fail because endpoint list mismatch: dict_keys([1]) {10} Considering <class ‘zhaquirks.xiaomi.mija.sensor_ht.Weather’> Fail because endpoint list mismatch: dict_keys([1, 2, 3]) {10} Considering <class ‘zhaquirks.xiaomi.mija.sensor_magnet.Magnet’> Fail because endpoint list mismatch: dict_keys([1]) {10} Considering <class ‘zhaquirks.xiaomi.mija.sensor_switch.MijaButton’> Fail because endpoint list mismatch: dict_keys([1]) {10} Considering <class ‘zhaquirks.xiaomi.mija.smoke.MijiaHoneywellSmokeDetectorSensor’> Fail because endpoint list mismatch: dict_keys([1]) {10} CREE Connected A-19 60W Equivalent: started configuration node descriptor: [<Status.SUCCESS: 0>, 30148, <NodeDescriptor byte1=17 byte2=64 mac_capability_flags=142 manufacturer_code=4425 maximum_buffer_size=89 maximum_incoming_transfer_size=61 server_mask=0 maximum_outgoing_transfer_size=61 descriptor_capability_field=0>] CREE Connected A-19 60W Equivalent: channel: zdo-CREE Connected A-19 60W Equivalent_ZDO async_configure stage succeeded 0x75c4:10:0x0000: finished channel configuration 0x75c4:10:0x0008: bound ‘level’ cluster: Status.SUCCESS 0x75c4:10:0x0006: bound ‘on_off’ cluster: Status.SUCCESS initializing channel: basic from_cache: False CREE Connected A-19 60W Equivalent: channel: basic-0x75c4:10:0x0000 async_configure stage succeeded 0x75c4:10:0x1000: finished channel configuration CREE Connected A-19 60W Equivalent: channel: lightlink-0x75c4:10:0x1000 async_configure stage succeeded Unknown ZDO cluster 0x08 [0x75c4:zdo] ZDO request 0x0008: b’\x0c\x07\x00\x00\x00\x00’ [0x75c4:zdo] Unsupported ZDO request 0x0008 [0x75c4:zdo] ZDO request 0x0006: [1805, 0, [], []] 0x75c4:10:0x0008: failed to set reporting for ‘current_level’ attr on ‘level’ cluster: [0x75c4:10:0008]: no reply 0x75c4:10:0x0006: failed to set reporting for ‘on_off’ attr on ‘on_off’ cluster: [0x75c4:10:0006]: no reply 0x75c4:10:0x0008: finished channel configuration CREE Connected A-19 60W Equivalent: channel: level-0x75c4:10:0x0008 async_configure stage succeeded 0x75c4:10:0x0006: finished channel configuration CREE Connected A-19 60W Equivalent: channel: on_off-0x75c4:10:0x0006 async_configure stage succeeded CREE Connected A-19 60W Equivalent: completed configuration CREE Connected A-19 60W Equivalent: stored in registry: ZhaDeviceEntry(name=‘CREE Connected A-19 60W Equivalent’, ieee=‘e2:0d:b9:ff:fe:08:ba:e5’, power_source=1, manufacturer_code=4425, last_seen=1558352372.2548385) CREE Connected A-19 60W Equivalent: started initialization entry loaded from storage: ZhaDeviceEntry(name=‘CREE Connected A-19 60W Equivalent’, ieee=‘e2:0d:b9:ff:fe:08:ba:e5’, power_source=1, manufacturer_code=4425, last_seen=1558352372.2548385) CREE Connected A-19 60W Equivalent: channel: zdo-CREE Connected A-19 60W Equivalent_ZDO async_initialize stage succeeded 0x75c4:10:0x0006 is attempting to update onoff state - from cache: False 0x75c4:10:0x0008: received attribute: 0 update with value: 254 initializing channel: level from_cache: False CREE Connected A-19 60W Equivalent: channel: level-0x75c4:10:0x0008 async_initialize stage succeeded initializing channel: lightlink from_cache: False CREE Connected A-19 60W Equivalent: channel: lightlink-0x75c4:10:0x1000 async_initialize stage succeeded initializing channel: on_off from_cache: False CREE Connected A-19 60W Equivalent: channel: on_off-0x75c4:10:0x0006 async_initialize stage succeeded initializing channel: basic from_cache: False CREE Connected A-19 60W Equivalent: channel: basic-0x75c4:10:0x0000 async_initialize stage succeeded CREE Connected A-19 60W Equivalent: power source: Mains CREE Connected A-19 60W Equivalent: completed initialization
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 19 (9 by maintainers)
@Adminiuga Working on it as we speak. Standby.
To answer your question about USB pass through. Synology VM server. I’ve never had a problem with the production server using HUSBZBB-1 usb stick for last 6-9 months. Even today.
I have a test bed that I’m using. Also, I have shut down my production to ensure its not conflicting with frequencies.
I will go through the whole process starting with enabling ZHA under the integration through the discovery and not being responsive.
Here is what I’m going to turn on: