Releases: JnyJny/blynclight
Some Bytes Matter Apparently
The BlyncLight object was sloppily writing an 8-byte command word instead of a more correct 9-byte command word. Older Embrava BlyncLights weren't that picky about the error, but newer devices refused to listen until the command word was terminated with 0xFF22 ( confirmed via Wireshark ).
This release fixes issue #10 where this bug was first reported and provides a couple of small updates to documentation and package metadata for discoverability.
Poetry Is Awesome
And not just the Will Shakespeare kind. Switched from using setup.py to poetry to manage package details. The source was reorganized a little bit to accommodate the change; src/blynclight had the src portion of the path elided. Additionally, four of the scripts in contrib were moved into the package ( blynclight/scripts/... ) and given click command-line interfaces. These four are now installed when the package is installed:
- blync: basic access to light attributes
- fli : flash lights impressively
- rainbow: smoothly transition color in a rainbow pattern
- throbber: varies color intensity over time
Docs are still a little sketchy for the command-line interfaces, expect updates over time.
Testing Extensively Tested
This release sees some bug fixes in HidDevice open-related corner cases uncovered while updating pytests.
MacOS Hates PyUSB
PyUSB became a non-viable solution for USB device write access after I installed macOS Mojave (10.14), so I've re-written the blynclight module to use HIDAPI (again). This version has been tested on Mojave 10.14.4 and not much else.
0.3.1
This release transitions from the Human Interface Device API for accessing USB devices to the PyUSB module. Neither HDIAPI or PyUSB are developed actively, however PyUSB has released with a year of this writing and ships a viable module for Linux and macOS. I've submitted a PR to the HIDAPI python project to enable it's use on macOS, however I don't have much hope of having the PR accepted (or even looked at).