Developer: | Anyone's Plugins |
Category: | Notification & Messaging |
Github: | Github Repo |
Assistance: | Get help! |
Plugin ID: | com.anyone.indigoplugin.voice-monkey |
Latest release: | v2022.1.3 released on April 22, 2023 |
Release downloaded: | 0 times |
Requires: | Indigo v2022.1.0 or higher |
(Check the Releases tab below for older releases that may have different requirements) | |
Download latest release |
This plugin is for the Indigo Domotics home automation platform and allows you to control your Alexa devices from within Indigo. It works with the Voice Monkey - Smart Home + Routine Triggers + TTS Alexa Skill which has the ability to perform text-to-speech, play preset sounds, and execute Alexa routines on an Alexa Smart device such as an Echo or Echo Dot.
All of these are "Pro" features of the Voice Monkey - Smart Home + Routine Triggers + TTS Alexa Skill except for the ability to Trigger an Alexa Routine.
The "Pro" features, by the way, are $6 USD per year. With the non-Pro feature (singular), you are limited to, if you want to call it a limit, triggering Alexa routines.
Visit https://voicemonkey.io/start to learn more.
The support forum for this plugin is located here: https://forums.indigodomo.com/viewforum.php?f=157
Trigger a Routine Action Create/Edit Window
Text to Speech Action Create/Edit Window
Ask a Yes/No Question Action Create/Edit Window
Follow the instructions detailed here https://voicemonkey.io/start:
Step-by-Step Guide with screenshots
If you are using the above guides to only configure a virtual trigger, below is an example URL demonstrating how to activate a trigger named 'Routine Trigger One' from a web browser. The monkey name, which is shown at the end of the URL as 'routine-trigger-one', should be the lowercase version of the trigger name found on the Voice Monkey website. Ensure that there are dashes inserted between the words in the monkey name. This URL can be used to test your virtual trigger and ensure that it is functioning as expected.
Example URL:
https://api.voicemonkey.io/trigger?access_token=ACCESS_TOKEN&secret_token=SECRET_TOKEN&monkey=routine-trigger-one
Step-by-Step Guide with screenshots
After creating a device, no additional configuration is need to perform Text-To-Speech, Play a Sound, Play a Audio File or Play a Background Audio File
To perform a function:
Select:
Then:
To use this capability, follow these steps:
Step-by-Step Guide with screenshots
To perform this function:
Select:
Then:
Place the file named 'voice_monkey.py' in your Python3-Includes folder.
The full path is '/Library/Application Support/Perceptive Automation/Python3-includes'
import voice_monkey
# indigo.devices[651183378] # "Loft Echo"
indigo.device.beep(651183378)
voice_monkey.routine(monkeyId='routine-trigger-one', deviceId=651183378)
voice_monkey.play_sound(soundName=the_sound, deviceId=651183378)
dogs_barking = 'https://dl.dropboxusercontent.com/s/dqk73c2cduxjg6k/one_dog_barking_audacity.mp3?dl=1'
voice_monkey.play_audio(audioFileUrl=dogs_barking, deviceId=651183378)
say_this = ('I am not sure why you would want to talk over dogs barking. <break time="5s"/>But you could if you really wanted to but again, I am not really sure why you would do this.<break time="7s"/>')
dogs_barking = 'https://dl.dropboxusercontent.com/s/dqk73c2cduxjg6k/one_dog_barking_audacity.mp3?dl=1'
voice_monkey.play_background_audio(
text=say_this, audioFileUrl=dogs_barking, deviceId=651183378)
ask_this 'Is this plugin working out for you?'
voice_monkey.yes_or_no(question=ask_this,
executeWhenYes=800994550,
executeWhenNo=None,
deviceId=651183378)
voice_monkey.speak(text='Yes, it is working extremely well.', deviceId=651183378)
The Voice Monkey plugin is also compatible with 'alexa_remote_control', which provides additional control over Amazon Alexa devices.
For more information and installation instructions for 'alexa_remote_control', please visit the following page: https://github.com/thorsten-gehrig/alexa-remote-control. Note that the installation and configuration of 'alexa_remote_control' is optional - the Voice Monkey capabilities mentioned earlier will work without it.
Please use version v0.20d of the project file, available here. This version is compatible with macOS and contains all the features of the project. Note that version v0.20e, released on 2022-06-29, is not compatible with macOS and does not offer any additional features compared to v0.20d.
After configuring alexa_remote_control, which you can test using available commands from the macOS command line, only a few more steps are needed.
Place the alexa_remote_control.py file included in this reposisitory, into the Python3-Includes folder.
The full path is '/Library/Application Support/Perceptive Automation/Python3-includes'
After you placed the files in the folders shown above:
In the Indigo log, the plugin "should" now indicate the alexa_remote_control module was imported.
Starting plugin "Voice Monkey 2022.1.0" (pid 25946)
Voice Monkey alexa_remote_control was imported
Started plugin "Voice Monkey 2022.1.0"
Voice Monkey There are no pending Yes/No Questions
In Indigo, under Plugins -> Voice Monkey -> Configure...
Click the checkbox for 'Use alexa-remote-control'
To test your installation and configuration, create an Action Group. Select Voice Monkey Actions and then select 'Pass command line arguments'
IMPORTANT: This command should also work from the macOS command line.
To perform a function:
Select:
Then:
If everything is working up to this point, you will be able to, from Indigo, call alexa_remote_control functions
import alexa_remote_control
# indigo.devices[651183378] # "Loft Echo"
ask_alexa_this = 'How many days until christmas?'
alexa_remote_control.ask_alexa(ask_alexa_this, "Loft Echo")
say_this = 'Its only a few more days until christmas'
alexa_remote_control.alexa_speak(say_this, "Loft Echo", 'Aditi')
alexa_remote_control.alexa_play_sound('Bell 2', 'Loft Echo')
alexa_remote_control.pass_cmd_line_args("-d 'Loft Echo' -e speak:'Hello world!'")
routine_name = "Loft: Morning Routine"
alexa_remote_control.alexa_routine(routine_name, "Loft Echo")
v2022.1.3 | Requires Indigo v2022.1.0+ | Released April 22, 2023 | 2022.1.3 bug fix and new device actions |
Released on: | April 22, 2023 |
Requires: | Indigo v2022.1.0+ |
Downloaded: | 0 times |
Download this release |
Released on: | March 18, 2023 |
Requires: | Indigo v2022.1.0+ |
Downloaded: | 0 times |
Download this release |
v2022.1.1 | Requires Indigo v2022.1.0+ | Released March 13, 2023 | 2022.1.1 bug fixes and cosmetic changes |
Released on: | March 13, 2023 |
Requires: | Indigo v2022.1.0+ |
Downloaded: | 5 times |
Download this release |
Bug Fixes:
Cosmetic Changes:
The README includes a link to version v0.20d of the optional 'alexa_remote_control.sh' project file. Note that the latest version, v0.20e, released on 2022-06-29, is not compatible with macOS. Fortunately, v0.20e does not offer any additional features compared to v0.20d."
v2022.1.0 | Requires Indigo v2022.1.0+ | Released Feb. 22, 2023 | Allow Indigo to control your Alexa devices |
Released on: | Feb. 22, 2023 |
Requires: | Indigo v2022.1.0+ |
Downloaded: | 15 times |
Download this release |
This is the initial release of the Voice Monkey Plugin which allows you to control your Alexa devices from within Indigo. It works with the Voice Monkey Amazon Alexa skill which has the ability to perform text-to-speech, play preset sounds, and execute Alexa routines on an Alexa Smart device such as an Echo or Echo Dot.
Released on: | March 13, 2023 |
Requires: | Indigo v2022.1.0+ |
Downloaded: | 0 times |
Download this release |
Bug Fixes:
Cosmetic Changes:
The README includes a link to version v0.20d of the optional 'alexa_remote_control.sh' project file. Note that the latest version, v0.20e, released on 2022-06-29, is not compatible with macOS. Fortunately, v0.20e does not offer any additional features compared to v0.20d.