So finally have been able to integrate the led lights :) Got the code working just now. However, will need sometime to make a proper module out of it. Tried out with johnnyfive and node-pixel with some luck…but it was hyperion/boblight that did the magic for me.
Of course, the trigger comes from Alexa/Echo rather than a PIR sensor.
Read the statement by Michael Teeuw here.
Posts
-
RE: LED Backlight for mirror - PIR to control them
-
RE: LED Backlight for mirror - PIR to control them
Hello there,
I too want to try out this project. I have a WS2812B (60 leds/meter) that I have used for creating a Hyperion configuration. I am planning to use the same. You will probably have to use an external power supply. Seems like a 5 meter strip of 60leds/meter will need ~10-15 Amp current at 5 Volts which obviously Pi cannot sustain. Also I found using an Arduino provides more control than the Pi but that is me. Will try to get something started in a week’s time and update on the progress.
Please do let me know if you too have started on something. -
RE: Yet Another Voice Module (Sphinx + Alexa)
@whyjustin: I have integrated your module into other modules. However, am seeing the following problems:
-
Saying “mirror mirror” doesn’t trigger Alexa. Do the AVS sample apps need to be started alongside?I tried that but your module was exiting with an exception:
Unable to run Listen in Sphinx Java Client:Error: Error running instance method
java.lang.NullPointerException
at com.amazon.alexa.avs.AudioCapture.startCapture(AudioCapture.java:74)
at com.amazon.alexa.avs.AudioCapture.getAudioInputStream(AudioCapture.java:56)
at com.whyjustin.magicmirror.sphinx.SphinxMirrorRecognizer.startRecognition(SphinxMirrorReroot@raspberrypi:/home/pi/MagicMirror/MagicMirror-master/modules/magic-mirror-voice -
There are few errors:
Error with Alexa Companion Service: { [Error: Not Found] status: 404 }
Please let me know where am I going wrong.
-