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

LED Warning On CC2530 / CC2591 USB Devices #66

Open
danieledwardgeorgehitchcock opened this issue Aug 14, 2020 · 0 comments
Open

LED Warning On CC2530 / CC2591 USB Devices #66

danieledwardgeorgehitchcock opened this issue Aug 14, 2020 · 0 comments

Comments

@danieledwardgeorgehitchcock
Copy link

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>}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant