I’ve got a few Blinkstick doing nothing and just found out they should be supported by Home Assistant.
I’ve added this to my configuration.yaml:
light:
- platform: blinksticklight
serial: BS001723-3.0
But the Core log shows me this:
2020-07-23 19:53:58 ERROR (MainThread) [homeassistant.components.light] Error while setting up blinksticklight platform for light
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 178, in _async_setup_platform
await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
return fut.result()
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/blinksticklight/light.py", line 43, in setup_platform
add_entities([BlinkStickLight(stick, name)], True)
File "/usr/src/homeassistant/homeassistant/components/blinksticklight/light.py", line 53, in __init__
self._serial = stick.get_serial()
AttributeError: 'NoneType' object has no attribute 'get_serial'
According to the host log my Blinkstick is connected and recognized:
[ 1.827698] usb 2-2.1: new low-speed USB device number 4 using uhci_hcd
[ 2.287802] usb 2-2.1: New USB device found, idVendor=20a0, idProduct=41e5, bcdDevice= 2.01
[ 2.287803] usb 2-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.287804] usb 2-2.1: Product: BlinkStick
[ 2.287805] usb 2-2.1: Manufacturer: Agile Innovative Ltd
[ 2.287806] usb 2-2.1: SerialNumber: BS001723-3.0
[ 2.322909] hid-generic 0003:20A0:41E5.0002: hiddev96,hidraw1: USB HID v1.01 Device [Agile Innovative Ltd BlinkStick] on usb-0000:02:02.0-2.1/input0
There is a comment about adding udev rules, but the blinkstick command is not recognized anywhere and I’m also not sure if and where the udev rules should be added (host, superviser, etc).
Anyone has Blinksticks working on HassOS?