Hello!
The only thing I found missing from this great project is an integration with Amazon Alexa SmartHub, so after trying some things, I managed to do it and wrote a detailed how-to here:
https://github.com/navatarx/moode-audio-automation
In general I created a "pseudo" Amazon hub using node-red automation emulating Philips Hub as a proxy for managing Moode Audio. I tried to create all these having security in mind, so everything is on your internal network, without having to open anything from the outside.
Node-red flows:
An example for the first function for http request is the following:
Note that Alexa identifies those devices as philips royal hue hub. Just say:
"Alexa, turn on Pi audio" "Alexa, turn on Pi Audio Volume"
or create a routine for "Alexa, next song" to "Turn on Pi Next Song"
The only thing I found missing from this great project is an integration with Amazon Alexa SmartHub, so after trying some things, I managed to do it and wrote a detailed how-to here:
https://github.com/navatarx/moode-audio-automation
In general I created a "pseudo" Amazon hub using node-red automation emulating Philips Hub as a proxy for managing Moode Audio. I tried to create all these having security in mind, so everything is on your internal network, without having to open anything from the outside.
Node-red flows:
An example for the first function for http request is the following:
Code:
res={}
if (msg.on) {
res.url="http://moodeIP/command/?cmd=play"
} else {
res.url="http://moodeIP/command/?cmd=stop"
}
res.payload=""
return res;
Note that Alexa identifies those devices as philips royal hue hub. Just say:
"Alexa, turn on Pi audio" "Alexa, turn on Pi Audio Volume"
or create a routine for "Alexa, next song" to "Turn on Pi Next Song"