-
Notifications
You must be signed in to change notification settings - Fork 13
Description
A fix that I believe was introduced in commit 3855695 to (en/dis)able the onbard LED seems to be conflicting with USB CC2530 / CC2591 devices that use the CP2102 UART to USB chip. I don't believe these devices have LED's mapped to the same pins as the other CC devices.
See below debug logs:
2020-08-14 09:07:48 2020-08-14 09:07:48 WARNING (MainThread) [zigpy_cc.api] Waiter timeout: <Waiter matcher=<Matcher type=CommandType.SRSP subsystem=Subsystem.UTIL command=ledControl payload={}> future=<Future cancelled> timeout=6000 sequence=None> 2020-08-14 09:07:42 2020-08-14 09:07:42 DEBUG (MainThread) [zigpy_cc.api] --> SREQ UTIL ledControl tsn: None {'ledid': 3, 'mode': <LedMode.Off: 0>} 2020-08-14 09:06:48 2020-08-14 09:06:48 WARNING (MainThread) [zigpy_cc.api] Waiter timeout: <Waiter matcher=<Matcher type=CommandType.SRSP subsystem=Subsystem.UTIL command=ledControl payload={}> future=<Future cancelled> timeout=6000 sequence=None> 2020-08-14 09:06:48 2020-08-14 09:06:48 WARNING (MainThread) [zigpy_cc.api] Waiter timeout: <Waiter matcher=<Matcher type=CommandType.SRSP subsystem=Subsystem.UTIL command=ledControl payload={}> future=<Future cancelled> timeout=6000 sequence=None> 2020-08-14 09:06:48 2020-08-14 09:06:48 WARNING (MainThread) [zigpy_cc.api] Waiter timeout: <Waiter matcher=<Matcher type=CommandType.SRSP subsystem=Subsystem.UTIL command=ledControl payload={}> future=<Future cancelled> timeout=6000 sequence=None> 2020-08-14 09:06:42 2020-08-14 09:06:42 DEBUG (MainThread) [zigpy_cc.api] --> SREQ UTIL ledControl tsn: None {'ledid': 3, 'mode': <LedMode.On: 1>} 2020-08-14 09:06:42 2020-08-14 09:06:42 DEBUG (MainThread) [zigpy_cc.api] --> SREQ UTIL ledControl tsn: None {'ledid': 3, 'mode': <LedMode.On: 1>} 2020-08-14 09:06:42 2020-08-14 09:06:42 DEBUG (MainThread) [zigpy_cc.api] --> SREQ UTIL ledControl tsn: None {'ledid': 3, 'mode': <LedMode.On: 1>} 2020-08-14 09:01:31 2020-08-14 09:01:31 WARNING (MainThread) [zigpy_cc.api] Waiter timeout: <Waiter matcher=<Matcher type=CommandType.SRSP subsystem=Subsystem.UTIL command=ledControl payload={}> future=<Future pending cb=[_release_waiter(<Future finished result=None>)() at /usr/local/lib/python3.8/asyncio/tasks.py:429]> timeout=6000 sequence=None> 2020-08-14 09:01:24 2020-08-14 09:01:24 DEBUG (MainThread) [zigpy_cc.api] --> SREQ UTIL ledControl tsn: None {'ledid': 3, 'mode': <LedMode.Off: 0>}