@yawns
Already tried it with same results. I changed the video id and it works now but if I change autoplay to true it starts again while the module is hidden by MMM-Pages. I also have MMM-RadioDe installed with autoplay: true, it start only when I do to page I have added it. If it is hidden it doesn’t play.
Read the statement by Michael Teeuw here.
Posts
-
RE: MMM-EmbedYoutube autoplay problem
-
MMM-EmbedYoutube autoplay problem
Hello everyone. I have installed MMM-EmbedYoutube and set in my config
autoplay: "false";. The problem is that it starts anyway. Even when I added it in the second page where it souldn’t start up. It doesn’t show up but I hear the video playing. Any thoughts? -
RE: Stop the screensaver!
@sdetweil
I agree. But it doesn’t happen when I have voice disabled in my config. And I realized that it also doesn’t happen with voice enabled and MMM-ImageSlideShow showing my pics. Maybe because the pictures change every 10 seconds. But if I have voice enabled and MM shows only clock, calendar, weather etc after 30 minutes screen goes black. -
RE: Stop the screensaver!
@Mykle1
Thank you for your reply. I haven’t try to see if Lucy works when I see the black screen because I can’t see the “Say, ‘Hello Lucy’” message and because of the latency problems I have I don’t know when it recognizes the keyword and wait for commands. My guess is that it will work but when I am finished with my mirrorsetup I will hung it on the wall so I won’t have mouse and keyboard connected to move or press a button for the mirror to show. Also the black screen appears not only in the standby mode. Last night I left the mirror showing my page 1 modules and in the morning I saw the black screen again. Moved the mouse and evertything showed up. -
RE: Stop the screensaver!
@Mykle1
Is there any possibillity that Lucy interacts somehow with the screen saver? I am asking this because I have installed xscreensaver and working good but if I have lucy enabled I get the black screen and I must move the mouse to sho the MM again. Just a thought! -
RE: MMM-nasaastropic no picture
@stuartiannaylor
That worked! Thank you mate! I am changing the status of the topic as solved. -
RE: Hello-Lucy
@mash55
I have already tried that but the message remains the same in the screen. -
RE: MMM-nasaastropic no picture
Does anyone knows who can change the title color of the module if it doesn’t have css file? I tried many different entries in my custom css but nothing worked. Thank you in advance.
-
RE: MMM-nasaastropic no picture
@mykle1
I tried the link and it is working but it shows a video instead of a picture. Is that why it doesn’t show on my MM? And that means that every time that NASA will upload a video intstead of a picture I will get the udefined url? I already have installed NASA. -
MMM-nasaastropic no picture
I installed the module and it only shows the header and the the url of which should load the image from. But url says: https://apod.nasa.gov/apod/undefined. What does this means?
-
RE: Hello-Lucy
@sdetweil
This is the keyword. I already have changed that. I want to change the message which appears when MM starts. Now it say: Say ‘Hello Lucy’. I want to change it to Say, ‘Magic Mirror’. -
RE: Hello-Lucy
@mykle1 said in Hello-Lucy:
I don’t understand the question, I’m sorry.
Sorry I didn’t write it right. I would like to ask you if it is possible to change the Say, ‘Hello Lucy’ message to something mine. As for the mic’s latency I will buy a better one and see the difference. Thank you for your tips and “Hello Lucy” :winking_face:
-
RE: Hello-Lucy
@mykle1
Yes, I am using a rpi 3b+. I know that I must be patient during commands because of the usb mic but the problem is that I have to say my keyword more than 10 times to start flashing the mic icon. After that all modules show/hide quite well and quick. Basically I did a fresh install of raspbian and MM on new 32GB SD card, hoping that it will work better but I have the same problem. It just doesn’t hear the keyword. Also I would like to ask you if it is possible the Say, ‘Hello Lucy’ message. -
RE: MMM-NOAA - Another Weather Module
@cowboysdude
I think something is wrong with the module’s translation because when the language in my config.js isenthe module’s language is in English but when I change the language in my config.js ingrI get black blank screen. But if disable NOAA3 everything loads as they should. I hope this will help you to find the solution. -
RE: MMM-RadioDe ERROR
Solved. Probably it was electron’s problem. I did a fresh install of raspbian and MM and it is working again.
-
RE: Hello-Lucy
@Mykle1
I made some abdjustments yesterday mostly at the order of the modules (not sure if needed) and disabled by comenting all of those I don’t have istalled in my MM. Seemed to work better with only some problem with showing pages. All modules where showing and hidding perfectly. Only it had a hard time with pages. But today nothing again. I say my keyword mut the min icon doesn’t start flashing. And I don’t get any error when I start MM in dev mode. I guess I must consider trying another mic since the current one is not a good one. -
RE: Hello-Lucy
I ant to believe that everything have been done correctly:
- Add in my modules.js folder the lines for voice control after the return wrapper.
- Add in the new voice_helper.js the lines for the new module (at the end of the last you have added) And change the names accordingly.
- In the new MMM-Voice.js folder a) add the module to the page I want to be shown and b) add the show/commands of the module again at the end of the last you have added. And every name is changed accordingly to the modules I added. The problem is that it doesn’t hear at all. My mic works when I test it. Yesterday in one of my attemps after “Magic Mirror” the mic icon started flashing and
i said some commands and Lucy understand. But after a few seconds no more listening. And from then when I restart MM I get a blach screen (start hidden) and the mic icon with "Say, ‘Hello Lucy’ and whatever I say it stays still.
Here is the MMM-voice.js with the pages of the modules I added:
else if (notification === 'SHOW_PAGE_ONE') { MM.getModules().enumerate((module) => { module.hide(1000); }); this.sendNotification('SHOW_CALENDAR'); this.sendNotification('SHOW_CLOCK'); this.sendNotification('SHOW_COMPLIMENTS'); this.sendNotification('SHOW_COWBOY'); this.sendNotification('SHOW_EARTH'); this.sendNotification('SHOW_NEWS'); this.sendNotification('SHOW_STATS'); this.sendNotification('SHOW_VOICE'); this.sendNotification('SHOW_REMOTECONTROL'); } else if (notification === 'HIDE_PAGE_ONE') { MM.getModules().enumerate((module) => { module.hide(1000); }); /////////////////////////////////////////////////////////////////////////////////////////////// } else if (notification === 'SHOW_PAGE_TWO') { MM.getModules().enumerate((module) => { module.hide(1000); }); this.sendNotification('SHOW_MOVIES'); this.sendNotification('SHOW_HOROSCOPE'); this.sendNotification('SHOW_HISTORY'); this.sendNotification('SHOW_RECIPE'); this.sendNotification('SHOW_MOON'); this.sendNotification('SHOW_COCKTAILS'); this.sendNotification('SHOW_VOICE'); this.sendNotification('SHOW_REMOTECONTROL'); } else if (notification === 'HIDE_PAGE_TWO') { MM.getModules().enumerate((module) => { module.hide(1000); }); //////////////////////////////////////////////////////////////////////////////////////////////// } else if (notification === 'SHOW_PAGE_THREE') { MM.getModules().enumerate((module) => { module.hide(1000); }); this.sendNotification('SHOW_RADIO'); this.sendNotification('SHOW_PHOTOS'); this.sendNotification('SHOW_VOICE'); this.sendNotification('SHOW_REMOTECONTROL'); } else if (notification === 'HIDE_PAGE_THREE') { MM.getModules().enumerate((module) => { module.hide(1000); }); /////////////////////////////////////////////////////////////////////////////////////////////// } else if (notification === 'SHOW_PAGE_FOUR') { MM.getModules().enumerate((module) => { module.hide(1000); }); this.sendNotification('SHOW_DARWIN'); this.sendNotification('SHOW_FLIPPER'); this.sendNotification('SHOW_PICTURES'); this.sendNotification('SHOW_BACKGROUND'); this.sendNotification('SHOW_PILOTS'); this.sendNotification('SHOW_TIDES'); this.sendNotification('SHOW_EYECANDY'); this.sendNotification('SHOW_LICE'); this.sendNotification('SHOW_LOTTERY'); this.sendNotification('SHOW_FAX'); this.sendNotification('SHOW_NASA'); this.sendNotification('SHOW_ALARM'); this.sendNotification('SHOW_WEATHER'); this.sendNotification('SHOW_VOICE'); this.sendNotification('SHOW_REMOTECONTROL'); } else if (notification === 'HIDE_PAGE_FOUR') { MM.getModules().enumerate((module) => { module.hide(1000); });And here is the same folder with the show/hide commands of the new modules:
// MMM-voice sends notification to MMM-RadioDe to HIDE else if (notification === 'HIDE_RADIO') { this.sendNotification('HIDE_RADIO'); } // MMM-voice sends notification to MMM-RadioDe to SHOW else if (notification === 'SHOW_RADIO') { this.sendNotification('SHOW_RADIO'); } // MMM-voice sends notification to MMM-MovieInfo to HIDE else if (notification === 'HIDE_MOVIES') { this.sendNotification('HIDE_MOVIES'); } // MMM-voice sends notification to MMM-MovieInfo to SHOW else if (notification === 'SHOW_MOVIES') { this.sendNotification('SHOW_MOVIES'); } // MMM-voice sends notification to MMM-horoscope to HIDE else if (notification === 'HIDE_HOROSCOPE') { this.sendNotification('HIDE_HOROSCOPE'); } // MMM-voice sends notification to MMM-horoscope to SHOW else if (notification === 'SHOW_HOROSCOPE') { this.sendNotification('SHOW_HOROSCOPE'); } // MMM-voice sends notification to MMM-History to HIDE else if (notification === 'HIDE_HISTORY') { this.sendNotification('HIDE_HISTORY'); } // MMM-voice sends notification to MMM-History to SHOW else if (notification === 'SHOW_HISTORY') { this.sendNotification('SHOW_HISTORY'); } // MMM-voice sends notification to MMM-ImageSlideShow to HIDE else if (notification === 'HIDE_PHOTOS') { this.sendNotification('HIDE_PHOTOS'); } // MMM-voice sends notification to MMM-ImageSlideShow to SHOW else if (notification === 'SHOW_PHOTOS') { this.sendNotification('SHOW_PHOTOS'); } // MMM-voice sends notification to MMM-RemoteControl to HIDE else if (notification === 'HIDE_REMOTECONTROL') { this.sendNotification('HIDE_REMOTECONTROL'); } // MMM-voice sends notification to MMM-Remote-Control to SHOW else if (notification === 'SHOW_REMOTECONTROL') { this.sendNotification('SHOW_REMOTECONTROL'); } // MMM-voice sends notification to mmm-food2fork-recipes to HIDE else if (notification === 'HIDE_RECIPE') { this.sendNotification('HIDE_RECIPE'); } // MMM-voice sends notification to mmm-food2fork-recipes to SHOW else if (notification === 'SHOW_RECIPE') { this.sendNotification('SHOW_RECIPE'); }And here is the lines I added affter the return wrapper of each module.js folder for voice control:
return wrapper; }, notificationReceived: function(notification, payload) { if (notification === 'HIDE_HOROSCOPE') { this.hide(1000); this.updateDom(300); } else if (notification === 'SHOW_HOROSCOPE') { this.show(1000); this.updateDom(300); } },So take a look when you have the time and I hope you will spot if I have done something wrong and what it is. Thank you very much.
-
MMM-RadioDe ERROR
Re: [MMM-RadioDe] - Simple Web Radio.de player
I have installed MMM-RadioDe and it was playing fine but suddenly it just appears on the screen when 'i start MM but it doesn’t play the chosen station. These are the errors when I get I run npm start dev:
vendor.js:9 pascalprecht.translate.$translateSanitization: No sanitization strategy has been configured. This can have serious security implications. See http://angular-translate.github.io/docs/#/guide/19_security for details. vendor.js:9 Error: Blocked a frame with origin "http://radio.de" from accessing a cross-origin frame. at app.js:2 at vendor.js:9 at o (vendor.js:8) at vendor.js:8 app.js:2 STATION {continent: "Europa", country: "Griechenland", logo300x300: "https://static.radio.de/images/broadcasts/01/81/16901/c300.png", city: "Athen", stationType: "radio_station", …}Any suggestions?