thank you!
I will try it tonight.
Read the statement by Michael Teeuw here.
Posts
-
RE: can MMM-Buttons and MMM-AssistantMk2 work together?
-
can MMM-Buttons and MMM-AssistantMk2 work together?
Hello,
I’m trying to call the MMM-AssistantMk2 by pressing a button but nothing is happening and I’m sure that i’m doing something wrong. the hardware is 100% fine as it works fine with my MMM-Carousel
if someone can help it will be wonderful.
Here is my code:
{
module: ‘MMM-Buttons’,
config: {
buttons: [
{
pin: 24,
name: “carousel_control”,
longPress: {
notification: “CAROUSEL_NEXT”
},
shortPress: {
notification: “CAROUSEL_NEXT”
}
},
{
pin: 22,
name: “google_control”,
longPress: {
notification: “ASSISTANT_ACTIVATE”
},
shortPress: {
notification: “ASSISTANT_ACTIVATE”
}
},
]
}
}, -
My Magic Mirror, Melbourne Australia
I’ve finaly finished stage one of my Magic Mirror and this is very close to where I wanted it to be in the end.
Thank you for all the help in this amazing forum and thank you for this amazing software!
here is the video: https://player.vimeo.com/video/308331788 -
RE: is there a way to control MMM-carousel with buttons?
@shbatm thank you so much! It worked perfectly! Unfortunately I had to have a cancer prostate removal operation on Friday (which I’m recovering of now) but my mirror works exactly like I wanted with two buttons that control the “mirror mode”. First press is like the Samsung family hub, second press is my home assistant dashboard, third press is an art work slideshow with 49 beautiful artworks and forth press is just a clear mirror with time and compliments only. On to of that I’ve implemented the GassistPi voice operation and the PIR module.
I’m so happy!!! Thank you so much! -
RE: is there a way to control MMM-carousel with buttons?
@shbatm wow! thank you very much! I will try it shortly.
-
RE: is there a way to control MMM-carousel with buttons?
thank you! I read it before I posted and as the last comment said, it doesn’t work…
Not sure what I’m doing wrong. -
is there a way to control MMM-carousel with buttons?
Hello,
My Mirror is almost ready but i’m stuck with a this issue: is there a way to control MMM-carousel with buttons?
All I want to do is by pressing a short press on the switch it will move to the next slide and pressing a long press it will move to the previous slide.
If some one can point me to the right direction it will be amazing.
Thanks! -
RE: can't get the webcam to work
It works! thank you very much!
but now I can’t connect via remote control… -
RE: can't get the webcam to work
@ninjabreadman That’s the address in my config:
var config =
{
address: “0.0.0.0”,
electronOptions: {}, ipWhitelist: [ "127.0.0.1", "::ffff:127.0.0.1", "::1", "192.168.44.1/24" ], -
can't get the webcam to work
I’ve tried 3 different webcams, played with resolutions and doesn’t matter what I do, I always get the following message:
Webcam.js Error: Could not access webcam:
NotSupportedError: Only secure origins are allowed
(see: https://goo.gl/Y0ZkNV). NotSupportedError: Only
secure origins are allowed (see: https://goo.gl/Y0ZkNV).anyone knows by any chance what it means and how to get the webcam to work?
-
RE: Help with the camera
I am getting the following error:
Webcam.js Error: Could not access webcam: NotSupportedError: Only secure origins are allowed (see: https://goo.gl/Y0ZkNV). NotSupportedError: Only secure origins are allowed (see: https://goo.gl/Y0ZkNV).Do you know by any chance what it means?
-
RE: how to start an image slide show with a press of a button?
I use a Microsoft round web cam that I’ve embedded into the frame and I’m using the camera module however the voice recognition is not very good so I wanted to start it with a press of a button, but I don’t know how and how to display the video vertically on full screen.
-
RE: how to start an image slide show with a press of a button?
works perfectly, thank you so much for your help!
and now to the ultimate question for me… Is it possible to start the camera on full screen by a press of a button?
-
RE: how to start an image slide show with a press of a button?
thank you so much for your help!
so, by going to the http://YOUR.RASPBERRY.IP.ADDRESS:8080/remote.html and hiding the module, it works fine. under “edit view” when i slide it to hide the slideshow goes off and when i’m sliding it to on the slideshow goes on.
however, both
http://YOUR.RASPBERRY.IP.ADDRESS:8080/remote?action=HIDE&module=module_0_ImageSlideshowhttp://YOUR.RASPBERRY.IP.ADDRESS:8080/remote?action=SHOW&module=module_0_ImageSlideshow
don’t work although I’m getting “success” message. -
RE: how to start an image slide show with a press of a button?
Thank very much, but it didn’t work.
the button definitely working outside MM (tested it with Python code).
Also, is it possible to start the MMM-imageslideshow as hidden?Here is my config:
/* Magic Mirror Config Sample * * By Michael Teeuw http://michaelteeuw.nl * MIT Licensed. * * For more information how you can configurate this file * See https://github.com/MichMich/MagicMirror#configuration * */ var config = { address: "0.0.0.0", // Address to listen on, can be: // - "localhost", "127.0.0.1", "::1" to listen on loopback interface // - another specific IPv4/6 to listen on a specific interface // - "", "0.0.0.0", "::" to listen on any interface // Default, when address config is left out, is "localhost" port: 8080, ipWhitelist: [], // Set [] to allow all IP addresses // or add a specific IPv4 of 192.168.1.5 : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"], // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"], language: "en", timeFormat: 12, units: "metric", modules: [ { module: 'MMM-ImageSlideshow', position: 'bottom_left', config: { imagePaths: ['modules/MMM-ImageSlideshow/Images'] } }, { module: "alert", }, { module: "updatenotification", position: "top_bar" }, { module: 'helloworld', position: 'top_bar', // This can be any of the regions. classes: 'small bright', config: { text: 'The Modelevich family Magic Mirror, built by a very talented person!' } }, { module: "clock", position: "top_bar" }, { module: 'calendar', position: 'top_left', config: { urgency: 0, getRelative: 6, fade: 'false', timeFormat: 'absolute', cssStyle: 'block', // block, clean, custom, (slate is for no mirror), calendars: [ { symbol: 'calendar-check-o ', url: 'http://www.vic.gov.au/themes/v6/images/VictoriaCalendar-PublicHolidays.ics' }, { // YOU GET THE FOLLOWING URL FROM YOUR GOOGLE CALENDAR PAGE url: 'https://calendar.google.com/calendar/ical/public/basic.ics' }, ], } }, { module: 'MMM-WunderGround', // Just for forecast w/css entry position: 'top_right', config: { apikey: '', // private; don't share! pws: 'pws:I', // Bentleigh East Weather Station - Very Cool currentweather: 1, coloricon: true, hourly: '1', fctext: '1', fcdaycount: "7", fcdaystart: "0", hourlyinterval: "2", hourlycount: "1", animationSpeed: 5000, alerttime: 10000, alerttruncatestring: "english:", roundTmpDecs: 0, UseCardinals: 1, fade: false, layout: "vertical", windunits: "mph", sysstat: "0" } }, { module: 'MMM-Traffic', position: 'top_left', classes: 'dimmed medium', //optional, default is 'bright medium', only applies to commute info not route_name config: { api_key: '', mode: 'driving', origin: '9 Tambet Street, Bentleigh east, Australia 3165', destination: '96 Herbert Street, Northcote, Australia 3070', arrival_time: '0900', //optional, but needs to be in 24 hour time if used. route_name: 'Home to Work', changeColor: true, showGreen: false, limitYellow: 5, //Greater than 5% of journey time due to traffic limitRed: 20, //Greater than 20% of journey time due to traffic traffic_model: 'best_guess', interval: 60000, //2 minutes showWeekend: true, allTime: true, width: '300px', height: '300px' } }, { module: 'MMM-GoogleMapsTraffic', position: 'top_left', config: { key: '', lat: -37.7685637, lng: 144.9943173, height: '400px', width: '550px', zoom: 13, disableDefaultUI: false } }, { module: 'voicecontrol', position: 'top_right', config: { models: [ { keyword: "Show Camera", description: "Say 'Show Camera' to display camera", file: "showCamera.pmdl", message: "SHOW_CAMERA" }, { keyword: "Hide Camera", description: "Say 'Hide Camera' to hide camera", file: "hideCamera.pmdl", message: "HIDE_CAMERA" }, { keyword: "Selfie", description: "Say 'Selfie' when camera is visible", file: "selfie.pmdl", message: "SELFIE" }, ], } }, { module: 'camera', position: 'fullscreen_above', config: { selfieInterval: 3, // Time interval in seconds before the photo will be taken. emailConfig: { service: 'gamil', // Email provider to use to send email with a photo. auth: { } } } }, { module: "compliments", position: "lower_third" }, { module: 'newsfeed', position: 'bottom_bar', config: { feeds: [ { title: "The Age", url: "http://feeds.theage.com.au/rssheadlines/top.xml", }, { title: "Sport", url: "http://www.theage.com.au/rssheadlines/sport/article/rss.xml" } ], showSourceTitle: true, showPublishDate: true } }, { module: 'MMM-Buttons', config: { maxShortPressTime: 1000, buttons: [ { pin: 18, name: "MMM-ImageSlideshow", shortPress: { notification: "REMOTE_ACTION", payload: { action: "HIDE", module: "module_0_MMM-ImageSlideshow" } }, longPress: { notification: "REMOTE_ACTION", payload: { action: "SHOW", module: "module_0_MMM-ImageSlideshow" } }, }, ] } }, { module: 'MMM-Remote-Control', position: 'bottom_right' }, ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== "undefined") {module.exports = config;} -
how to start an image slide show with a press of a button?
Hello,
I would like to start an image slide show with a short press of a button and then stop the image slide show with a long press of a button.
I have a button connected to pin 15 and I’ve tested with a python code that it works.
I think that I need to use the MMM-Imageslideshow and the MMM-Buttons modules but I don’t know how to configure them to work as described.Can someone please help?
thank you!
-
RE: Help with the camera
Sorry… the modules I’m using are:
Alert
updatenotification
helloworld
clock
calendar
MMM-WunderGround
MMM-Traffic
MMM-GoogleMapsTraffic
MMM-ImageSlideshow
voicecontrol
camera
compliments
newsfeed
MMM-Remote-ControlI also intend to use MMM-buttons so when I press a button it will start the image slideshow of artistic pictures (so it will act as a wall art).
thank you for your help!
-
RE: Help with the camera
Thank you very much! That’s great.
Do you know by any chance if it’s possible to have the camera image 90 degree rotated and on full screen? I want to use the camera as the mirror instead of applying a glass or a film. -
RE: Help with the camera
thank you very much! it’s working!
do you know by any chance if it’s possible to have the camera picture as vertically full screen?
Or is not, is it possible to hide all other modules when the camera picture is on?
I want to use the camera as my mirror so when I say the magic work everything disappears and only the camera picture stays. -
RE: Help with the camera
i’m getting all of that which I have no idea what it means but I think it is related to the voicecontrol:
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.front.0:CARD=0' ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM front ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround51.0:CARD=0' ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround21 ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround51.0:CARD=0' ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround21 ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround40.0:CARD=0' ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround40 ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround51.0:CARD=0' ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround41 ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround51.0:CARD=0' ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround50 ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround51.0:CARD=0' ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround51 ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround71.0:CARD=0' ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround71 ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM iec958 ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device' ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device' ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock