JosefJantzen / MMM-AlexaControl

Control your MagicMirror with Alexa
MIT License
45 stars 10 forks source link

cec-client works in cli but not in app #36

Closed mobious25 closed 3 years ago

mobious25 commented 3 years ago

I tried your command to test the cec-client "echo \'standby 0.0.0.0\' | cec-client -s -d 1" and it didn't bring back anything. However, I believe the command is invalid. I tried "echo 'standby 0.0.0.0' | cec-client -s -d 1 and my TV turned off. Once I confirmed cec-client works, I set vcgencmd: "cec-client" in the config.js file and rebooted. Then, I had Alexa discover my devices. Alexa found the device however, when I try to turn on/off the tv nothing happens.

mobious25 commented 3 years ago

Fixed sorta. I was using the Magic Mirror OS install initially. I switched to the latest Raspbian build and manually installed Magic Mirror. I was able to get cec-client to work with Alexa.