Open alamodein opened 6 years ago
I have a update. I found the cause of the issue. As its on MagicMirror, I set the Platform as magicmirror. When I changed to raspberrypi, LED start working
Could someone help if to figure out to use both MMM-AlexaPi and LEDs
I'm having this same issue. Any news for how to get this working with MagicMirror, AlexaPi and LEDs?
Hello, Totally don't know if it's going to work but try replacing this line: https://github.com/alexa-pi/AlexaPi/blob/83f71d458dc832cac0f9b0d3807d6d2359d52c8e/src/alexapi/device_platforms/magicmirrorplatform.py#L25 With:
class MagicmirrorPlatform(RaspberrypiPlatform):
Or
class MagicmirrorPlatform(RPiLikePlatform):
(and use magicmirror platform)
I have the same issue here. MagicMirror/AlexaPi on RPi3, have platform set as "magicmirror" (can't change to raspberrypi, coz it breaks AlexaPi) so can't get the LEDs to light up when I talk to Alexa. I have confirmed by Python script that GPIO25 does light up the LEDs.
Any ideas?
Thank you for reporting an issue with AlexaPi.
Make sure you are running the latest version of AlexaPi, and look through issues before submitting.
Check out our Wiki, and make sure to look at Debugging, and Audio debugging in particular before filing an issue.
In order to help troubleshooting, be sure to include the following information:
Output of the audio debugging script.
Your OS (including version) where you are running AlexaPi: Raspbian Strech Linux raspberrypi 4.14.70-v7+
Your hardware platform and model you are running on: Raspberry Pi 3B+
Python release (
python2 --version
): Python 2.7.13Description of problem: Please help on issue with GPIO, AlexaPi doesnt activate GPIO 24 or 25 for Playback or record feedback, I dont see LED coming ON. LED is working fine on GPIO 24 or 25 if I use a small python script to turn LED ON and OFF, However thru AlexaPi is not reacting for Playback or Recording. I have verified on config.yaml, GPIO PINS are 24 and 25 for Playback and Recording. Checked changing the GPIO PIN number too. Am I missing something?
Expected: LED to reach for Playback and Recording
Problem-relevant
config.yaml
entries: platforms:common config for all platforms (if they support the options)
can be overriden in the the respective platform sections
common:
chip:
GPIO Pin with button connected
raspberrypi:
GPIO Pin with button connected