siclark wrote:After a painful hour of trying to set up the remote control and using alexa-cookie2, and the horrendous documentation I got all the dependencies installed and generated a token, and added into the .sh file (still not clear which folder that should be in python includes or scripts. Not sure if I need email password and/or MFA token in there as well ? Not sure how to do the MFA token
Still not seeming to pick up on the question responses though.
Looking at my notes, is bring back memories of being a bit frustrated with my challenges getting
alexa_remote_control working. Looking at my configuration file, and confirming with my notes, line 100, is all you need.. That's the line that starts; "SET_REFRESH_TOKEN". This is the Refresh Token that is deciphered using alexa-cookie-cli-macos-x64
The dependency that I had a slight problem with was 'jq'.
To install that, I had to install Home Brew. Then I used Homebrew to install jq 1.6 with
brew install jqOn my system, HomeBrew installed it in a different location than
alexa_remote_control expects. So the other change for me was at line 130.
- Code: Select all
# jq binary
# SET_JQ='/usr/bin/jq'
SET_JQ='/opt/homebrew/Cellar/jq/1.6/bin/jq'
The only other thing my notes mention is changing the permission with
'chmod 755'
Place these two (2) files in the Python3-includes folder
voice_monkey.py and
alexa_remote_control.py, Put the
alexa_remote_control.sh in
' /Library/Application Support/Perceptive Automation/Script', because that is where
alexa_remote_control.py is going to look for it.
Hopefully some of what I shared, will help. I'll look into finding a computer to walk thru a clean install of
alexa_remote_control.sh to see if I missed anything in this post.
The guide on setting everything up for prompted Yes or No questions is now on GitHub. It's 44 steps which I have walked thru a couple of times, meaning it feels complete. It assumes you created a Voice Monkey device, which it sounds like you have.
https://github.com/anyone2/IndigoPlugin-Voice-Monkey/blob/main/YESNO_QUESTIONS.mdSimliar guides are there as well for Creating a Device and Creating aTrigger. TRIGGERS.md and Devices.md
Appreciate you jumping into the deep end right away. The good news is, what we're discussing right now, is a one time installation and configuration.