Recipes don't work
-
I will sed you all my config to review. Basically I cannot control anything that has to do with MM modules. I can only chat with GA like “How are you”, “what time is it” etc.
-
@Anthony said in Recipes don't work:
I will sed you all my config to review. Basically I cannot control anything that has to do with MM modules. I can only chat with GA like “How are you”, “what time is it” etc.
modules: [ { module: "MMM-GoogleAssistant", configDeepMerge: true, config: { assistantConfig: { latitude: 37.93333, longitude: 23.73333, }, recipes: [ "../../EXT-RadioPlayer/recipe/EXT-RadioPlayer.gr.js", "Reboot-Restart-Shutdown.js", "with-MMM-NewsFeed.js" ], } }, { module: 'Gateway', config: { debug: false, port: 8081, username: "**********", password: "***************", noLogin: false, usePM2: false, PM2Id: 0, useMapping: false, portMapping: 8081 } }, { module: "EXT-Detector", position: "top_left", configDeepMerge: true }, { module: "alert", }, { module: "EXT-Background", config: { model: "ironman", myImage: null } }, { module: "MMM-IronManGIF", position: "middle_center", config: { style: 8, // Style number maxWidth: "100%", // Sizes the images. rotate: false, // Rotate through images updateInterval: 30000 // Interval between image rotations (30 seconds) } }, { module: "updatenotification", position: "top_bar" }, { module: "clock", position: "top_left" }, { module: 'MMM-SpeedTest', position: 'top_center', configDeepMerge: true }, { module: "calendar", header: "Greek Holidays", position: "top_left", config: { calendars: [ { symbol: "calendar-check", url: "https://www.officeholidays.com/ics-all/greece" } ] } }, { module: 'MMM-Tools', position: 'top_left', config: { refresh: 1000 * 5, containerSize: null, itemSize: null } }, { module: "MMM-Weather", position: "top_right", configDeepMerge: true, config: { updateInterval: "15m", // 15 minutes api: { key: "**************************", latitude: 37.93333, longitude: 23.73333, }, } }, { module: 'EXT-RadioPlayer', position: 'top_right', config: { debug: false, minVolume: 30, maxVolume: 75, } }, { module: "compliments", position: "lower_third" }, { module: "MMM-NewsFeed", position: "bottom_bar", configDeepMerge: true, config: { debug:false, update: "15m", speed: "15s", maxItems: 100, flux: [ { from: "News Beast", url: "https://www.newsbeast.gr/greece/feed" }, { from: "4th Party Modules", url: "http://forum.bugsounet.fr/category/1.rss" } ], personalize: { Name: "NewsFeed", NameField: true, NameColor: "#FFF", NameBackground: "#414141", ArticleColor: "#ffffff", ArticleBackground: "#000000", DescriptionColor: "#ffffff", DescriptionBackground: "#000000", QRCode: false, fontSize: "100%" }, vertical: { useVertical: false, width: "450px", imageMaxWidth: "20vw", imageMaxHeight: "20vh" } } }, ] };
-
just see patern in the recipe file, and you have what to say to activate it
sample in your new recipe:
"athensdj": { pattern: "play athens dj", command: "athens dj" },
to activate
athensdj
you have to say: `javis, play athens dj"pattern
filed is the exact match sentenceif you want to say
jarvis... open anthens dj
change partern to
pattern: "open athens dj",
-
I have allready tried both but same result. I know Iam missing something. Did you review my hole config file? Because I made the changes you send me but still nothing. You may spot the error. GA works only for conversation and for control the mirror.
-
and from Gateway app, try to launch radio ?
-
Do i have to do something in Gateway’s config to work? How do I lunch it with voice? Because it does not appear in MM start up
-
open your browser from your computer:
http://ip-of-your-rasberrypi:8081
sample:
http://192.168.0.100:8081
login/password by default areadmin
-
I get ‘Error: Invalid username and password.’
-
case sensitive
-
-
@bugsounet said in Recipes don't work:
EXT-RadioPlayer recipe:
inside EXT-RadioPlayer recipe directory
saved to EXT-RadioPlayer.gr.js for Gateway radioplayer tool using -
so, you don’t follow my instructions… that why it’s not works
-
tested with the recipe that i have sended
Arrow down confirmation and radio play
tested with Gateway
Listen click and radio start too
I don’t invent code … just copy and past that i have writed in GA config and recipe (saved in proper file name)
-
Please my friend be patient with me. Of course I am trying to do exactly what you are telling me but I am Greek, you are French and we try to communicate in English so some things is more difficult to understand. So, I have installed MMM-RadioPlayer. Inside this folder I have another folder called Recipes and inside that folder I have saved my EXT-RadioPlayer.gr.js. The full directory is: /home/anthony/MagicMirror/modules/EXT-RadioPlayer/recipe/EXT-RadioPlayer.gr.js. Am I right so far? Do I have to copy paste the EXT-RadioPlayer.gr.js file somewhere else?
-
Finally got it. Thank you for your patience and I hope youu didn’t hate me.
-
Don’t worry!
I just leave helping because some friends are coming in!Perfect if works
-
No, problem don’t worry. I know that you got tired of me bacause I have no idea of coding and this difficult for you. I woould like to ask you somethieng else. While the EXT-RadioPlayer is working fine and all stations are playing eventually when I am connected to gateway from my pc, in the tools tab the EXT-RadioPlayer says no stations avaliable. Why is this happening?
-
Gateway follow this rules (like all modules)
- MagicMirror config language (in your case
gr
, I think) - Gateway have the same faculty
- Gateway have faculty to read recipe in defined language in plug-ins recipe directory
- for EXT-RadioPlyer, Gateway will try to read
RadioPlayer.<language>.js
in recipe directory of this plug-in
In your case, it will try to readRadioPlayer.gr.js
If you have save your file in another name/path: Gateway will not discover it and return no stations available
Note: file name is case sensitive!
- MagicMirror config language (in your case
-
You are the man! Thank you so much. Please tell me if there is another way to donate to you except paypal because I haven’t use it for years. If there is no other way I will set it up again and will donate. Again thank you very much for your hard work, for your help and most for your patience with me.
-
thank you but know that I do not do this job for the money! it’s just out of passion and moving MagicMirror forward.
just Currently, the hosting of the website is paid with donationsunfortunately, only paypal is the only platform for the donation
As you can see here: if my modules will not be stable I will not have an uptime like this!