Hello,
Im just redoing my Mirror from scratch and changing all the EXT… can I please have the youtube password?
Thank you so, so much!
Edit: Password (re)sended in private message
Hello,
Im just redoing my Mirror from scratch and changing all the EXT… can I please have the youtube password?
Thank you so, so much!
Edit: Password (re)sended in private message
@bugsounet said in [Coded for GA v4] Google assistant need permission.:
Game changer!
And honestly, being a long term Google Home user like I am, I’m starting to get the feeling you’re going to unlock more features on Google side not just the “personal results” related ones with V4.Nice one
@bugsounet awesome!! You’re the man!!
@bugsounet will be also be available for the Lite version?
Hey there! Merry Christmas all!
There’s a Police officer in my mirror I think I need a token please
Edit: Token created and sended in private
@bugsounet said in Will this Recipe work in RP3?:
The radio player is inside
Extented Display
, it’s decoded for Light versionreboot, shudown, screen recipe are some shell usual command (reboot, shutdown, …)
There is no default player and if exist you have to launch with a streaming and you have to stop it (complex to launch a process and stop it for a begginer :/)
So a dedicated module is needed for Radio and make recipe in accord with it
I see This One but not tested…
I see, got it! I will take a look at that one then. Thank you so much again.
@bugsounet I see, thanks for the reply.
I just was wondering why can I use other recipes in RP3 like screen manager and the reboot/shut down, witch works very well btw, and not this radio one specifically. Is it because to heavy for RP3 or needs a player?
Will this Radio Recipe work in RP3? Or can I do something to make it work with GA Light?
var recipe = {
transcriptionHooks: {
“tsf”: {
pattern: “abre tsf”,
command: “tsf”
},
“rfm”: {
pattern: “abre rfm”,
command: “rfm”
},
“smooth fm”: {
pattern: “abre smooth fm”,
command: “smooth fm”
},
“rádio comercial”: {
pattern: “abre rádio comercial”,
command: “rádio comercial”
},
“cidade fm”: {
pattern: “abre cidade fm”,
command: “cidade fm”
},
“antena 1”: {
pattern: “abre antena 1”,
command: “antena 1”
},
“antena 3”: {
pattern: “abre antena 3”,
command: “antena 3”
}
},
commands: {
“tsf”: {
functionExec: {
exec: () => {
this.radioCommand({
img: [‘modules/MMM-GoogleAssistant/resources/LogosRadios/tsf.svg’],
link: “https://tsfdirecto.tsf.pt/tsfdirecto.mp3”
})
}
},
soundExec: {
chime: “open”
}
},
“rfm”: {
functionExec: {
exec: () => {
this.radioCommand({
img: [‘modules/MMM-GoogleAssistant/resources/LogosRadios/rfm.png’],
link: “https://playerservices.streamtheworld.com/api/livestream-redirect/RFM.mp3”
})
}
},
soundExec: {
chime: “open”
}
},
“m80”: {
functionExec: {
exec: () => {
this.radioCommand({
img: [‘modules/MMM-GoogleAssistant/resources/LogosRadios/m80.png’],
link: “https://mcrscast.mcr.iol.pt/m80?.mp3”
})
}
},
soundExec: {
chime: “open”
}
},
“smooth fm”: {
functionExec: {
exec: () => {
this.radioCommand({
img: [‘modules/MMM-GoogleAssistant/resources/LogosRadios/smoothfm.png’],
link: “http://mcrscast.mcr.iol.pt/smoothfm”
})
}
},
soundExec: {
chime: “open”
}
},
“rádio comercial”: {
functionExec: {
exec: () => {
this.radioCommand({
img: [‘modules/MMM-GoogleAssistant/resources/LogosRadios/Comercial.png’],
link: “http://mcrscast1.mcr.iol.pt/comercial.mp3”
})
}
},
soundExec: {
chime: “open”
}
},
“antena 1”: {
functionExec: {
exec: () => {
this.radioCommand({
img: [‘modules/MMM-GoogleAssistant/resources/LogosRadios/Antena1.png’],
link: “http://radiocast.rtp.pt/antena180a.mp3”
})
}
},
soundExec: {
chime: “open”
}
},
“antena 3”: {
functionExec: {
exec: () => {
this.radioCommand({
img: [‘modules/MMM-GoogleAssistant/resources/LogosRadios/Antena3.png’],
link: “http://radiocast.rtp.pt/antena380a.mp3”
})
}
},
soundExec: {
chime: “open”
}
},
“cidade fm”: {
functionExec: {
exec: () => {
this.radioCommand({
img: [‘modules/MMM-GoogleAssistant/resources/LogosRadios/cidadefm.png’],
link: “http://mcrscast.mcr.iol.pt/cidadefm”
})
}
},
soundExec: {
chime: “open”
}
},
/** rien a voir avec la radio ... c'est la chaine TV de france info ;) **/
"info": {
functionExec: {
exec: () => {
this.displayEXTResponse.start({
"photos": [],
"urls": [ "https://m.youtube.com/watch?v=wwNZKfBLAsc" ],
"transcription": { transcription: 'France Info TV', done: true },
})
}
},
soundExec: {
chime: "open"
}
}
}
}
exports.recipe = recipe
Awesome thanks for the update @Chris! These ones are also working for me but I do notice sometimes the older ones were returning ShellExec error but only sometimes. I will keep an eye on this ones now.
@bugsounet said in Screen Manager Recipe:
Don’t forget to save it with a different file name because it will reset on next update
You bet! Thanks again
Here’s the Recipe code for other people use if they need to use CEC:
/** Screen Manager /
/ Vocal commands script /
/ set partern in your language /
/ @bugsounet **/
var recipe = {
transcriptionHooks: {
“SCREEN_TURNOFF”: {
pattern: “Turn your screen OFF in Your Own Language”,
command: “SCREEN_TURNOFF”
},
“SCREEN_TURNON”: {
pattern: “Turn your screen ON in Your Own Language”,
command: “SCREEN_TURNON”
}
},
commands: {
“SCREEN_TURNOFF”: {
soundExec: {
chime: “close”,
},
shellExec: {
exec: “echo ‘standby 0’ | cec-client -s”
}
},
“SCREEN_TURNON”: {
soundExec: {
chime: “open”,
},
shellExec: {
exec: “echo ‘on 0’ | cec-client -s”
}
}
}
}
exports.recipe = recipe // Don’t remove this line.
It works!!
How can I turn it on now? exec: “echo ‘standby 1’ | cec-client -s” ?
@bugsounet said in Screen Manager Recipe:
maybe, if your TV is CEC, you can try
echo 'standby 0' | cec-client -s
Note: you have to install
cec-utils
packet to use CEC function
sudo apt-get install cec-utils -y
I need to try this in the recipe, after installing the cec-utils, right?
It will be something like this?:
commands: {
“SCREEN_TURNOFF”: {
soundExec: {
chime: “close”,
},
shellExec: {
exec: “echo ‘standby 0’ | cec-client -s”
}
},
“SCREEN_TURNON”: {
soundExec: {
chime: “open”,
},
shellExec: {
exec: “vcgencmd display_power 1”
}
}
}
}
@dresch360 that will be the cherry in the top of the cake
I’m running a RP3 with an HDMI TV connecting cable but I’m unable to get the ScreenManager.js recipe working.
When I say my “pattern” it does shut the screen down for 2 seconds but it turns on again right away.
The opposite also don’t work, with the screen off, if I say Jarvis “pattern” he doesn’t turn the screen on.
Could this be because I’m using a TV instead of a computer monitor?
I was wondering if I can use something like tvservice -o instead of the “vcgencmd display_power 0” the recipe itself? But I have no idea how…
Thanks
OMG! OMG! After I enable and disabled again debug mode Selfie module started to work perfectly now! Probably it was indeed something with the recipes :[] in a bad place in config:{} lost in my old config…
You rock! Thanks man! I was trying this for months and I even started a new SD config from scratch without any luck.
I also had some progress in the Screen Manager recipe, now when I say pattern: “Desliga o ecrã” it does now trigger the command “SCREEN_TURNOFF” and I can see the animated Gif and ear the chime sound but only for 2 seconds or so… then it turns the screen on again, it doesn’t stay off. It doesn’t seem like a “pattern” issue, right?