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

[BUG] Older Blynclight not recognized by busylight #73

Closed
JnyJny opened this issue Sep 9, 2021 · 4 comments
Closed

[BUG] Older Blynclight not recognized by busylight #73

JnyJny opened this issue Sep 9, 2021 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@JnyJny
Copy link
Owner

JnyJny commented Sep 9, 2021

@hewasajumperboy wrote:

Hey,

I'm trying to use my (probably older) light with this project. It works in the previous, depreciated blynclight repo and looking at embrava/blynclight.py the vendor id for my light doesn't show up in the list. Output from my pi below:

pi@nightlight:~ $ busylight on
Light '0' not in the range of 0..-1
pi@nightlight:~ $ dmesg | tail
[ 7218.521658] Voltage normalised (0x00000000)
[ 9518.695285] usb 1-1.2: USB disconnect, device number 4
[17252.456676] usb 1-1.3: USB disconnect, device number 6
[17254.285218] usb 1-1.3: new low-speed USB device number 7 using dwc_otg
[17254.429614] usb 1-1.3: New USB device found, idVendor=0e53, idProduct=2516, bcdDevice= 1.00
[17254.429637] usb 1-1.3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[17254.429652] usb 1-1.3: Product: Blynclight
[17254.436605] hid-generic 0003:0E53:2516.000A: hiddev96,hidraw0: USB HID v1.10 Device [Blynclight] on usb-3f980000.usb-1.3/input0
@JnyJny JnyJny added the bug Something isn't working label Sep 9, 2021
@JnyJny JnyJny self-assigned this Sep 9, 2021
@JnyJny
Copy link
Owner Author

JnyJny commented Sep 9, 2021

Yup, there's a typo in busylight/lights/embrava/blynclight.py. Look for a patch update shortly.

@JnyJny
Copy link
Owner Author

JnyJny commented Sep 9, 2021

Pushed a468d6a which should fix the problem. Could you verify by installing the latest busylight from pypi ( 0.12.10 )?

@JnyJny
Copy link
Owner Author

JnyJny commented Sep 9, 2021

And to be perfectly candid, I don't think it was a typo so much as I used a byte-swapped version of the vendor identifier. Either way it's a bug and should be fixed now. :)

@JnyJny
Copy link
Owner Author

JnyJny commented Sep 9, 2021

This a dup before I knew you could transfer issues.

@JnyJny JnyJny closed this as completed Sep 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant