Hi everyone,
My raspberyPi device located another city. and I 'm getting ip of this device.
How can i connect (like team viewer) my device to do it ? (Like VNC Server)
Thanks
Hi everyone,
My raspberyPi device located another city. and I 'm getting ip of this device.
How can i connect (like team viewer) my device to do it ? (Like VNC Server)
Thanks
@sdetweil I mean , I 'm publishing my magic mirror in our server, and try to access via https link.
This error message only appear at console while running on cloud after deployment.
My magic mirror is running is server mode, my local is looking file.
But when I published to cloud, in production side, there was a error on console like this:
index.js:83 WebSocket connection to ‘wss://mydomain.app/socket.io/?EIO=3&transport=websocket&sid=N3PEytxeZ6iZVjWQAALH’ failed: Error during WebSocket handshake: Unexpected response code: 400
How can fix this ? thanks for your advices
Hello, I just want load my playlist into this module with MMM-Carousel2. But nothing loaded.
My Playlist Id is : PLX9f7wEtLptDMhXlTaT01ZmYuNWWo_5CK
https://www.youtube.com/watch?v=dVkK36KOcqs&list=PLX9f7wEtLptDMhXlTaT01ZmYuNWWo_5CK
My config file is like this :
{
module: "MMM-YouTube",
position: "top_center",
config: {
verbose:false,
defaultQuality: "hd1080",
width: "1920px",
height: "1080px",
volume: 0,
disableCC: true,
showPlayingOnly: true,
defaultLoop: false,
defaultShuffle: false,
defaultAutoplay: true,
onStartPlay: {
type: "list",
id: "PLX9f7wEtLptDMhXlTaT01ZmYuNWWo_5CK",
shuffle: false,
loop: false,
autoplay: true,
},
playerVars: {
controls: 0,
hl: "en",
enablejsapi: 1,
showinfo: 0,
rel: 0,
cc_load_policy: 0,
},
telegramBotCommand: {
YOUTUBE_LOAD_BY_URL: "yt",
YOUTUBE_LOAD_PLAYLIST: "yl PLX9f7wEtLptDMhXlTaT01ZmYuNWWo_5CK",
YOUTUBE_CONTROL: "yc"
},
outNotifications: {
"-1": "UNSTARTED",
"0": "ENDED",
"1": "PLAYING",
"2": "PAUSED",
"3": "BUFFERING",
"5": "VIDEO CUED",
}
}
},
I dont understand how to configure this with playkist mode and auto start with fullscreen mode.
Please help me.
@clegallic I think there is an issue here,
I deleted one image 2 days ago, from google drive also I deleted content from cache file.
But I see, it 'is still showing.
When I add new ımage, it automatically detecting in 10 seconds to show this, but when I delete this it is not working same style.
Can we optimize it at least one hour to refresh caches ?
Hi, thanks for assisting me.
The problem is I’M not using original weather module, so unable to send notification .
I’m using this one :
https://github.com/MatthiPi/MMM-DefaultWeatherAnimated
{
module: "weather", //change to weather
position: "top_right",
config: {
// See 'Configuration options' for more information.
type: 'current',
weatherEndpoint: '/weather',
units: 'metric',
apiKey: 'X',
locationID: Y
}
},
But unable to figure out how to send notification to current weather objects into this compliment_modules.
(where should I write , this code in this module ?) when I try in provider.js, console says "sender should be module"
this.sendNotification("CURRENTWEATHER_DATA", {foo: "bar"});
MY COMPLIMENT_PLUS Modul compliment_plus.js
notificationReceived: function(notification, payload, sender) {
if (notification === "CURRENTWEATHER_DATA") {
console.log("251", payload.data);
this.setCurrentWeatherType(payload.data);
}
},
Hello thank you ver much for your practive solution.
I learned how to batch files runs.
Hi Again,
1- I uninstalled magic mirror from my spi4.
2- I downloaded run-start.sh all your content and copy paste ( edited 76th line sections acording my URL.
3- and created startupPega.sh and located it my rpi root folder.
4- Then I opened terminal and write
pm2 start mm.sh
then pm2 save
Should I see my mirror on page browser ? Nothing happened. what I need for my next steps to run this automatically when restart rpi ?

I see the file but I’m not familiar to use it. Coudl you please help me ?
I did these steps :
I am trying to do a client only build on a Pi. I want to request the basic instructions please.
Does this sound right my steps.
1 - Install Raspbian from web site and write in sd disk
2 - open raspberry
3- open terminal
git clone https://github.com/MichMich/MagicMirror
4- cd ~/MagicMirror
npm install
5- (NOT NPM START)
node clientonly --address https://emrahaslan.magicmirror.com --port 8080
It’s works but,
Will this do anything to prevent screensaver or powersaver mode etc?
when restart rpi , default local magic mirror is starting :(
Hi Guys, Finally I have created my alpha version of magic mirror and ready for run.
I uploaded all my files into my private server (like amazon) and I have web link to run this.
For Instances my magic mirror link will be: https://emrahaslan.magicmirror.com
I don’t want to put my code on raspbbery sd disk, the only thing I want to call this link Inside electron.js web view via raspberry side, But It should run original magic mirror software (autorun when restart vs)
do I need install magic mirror again for client side ? thanks for help for assisting me step by step.
Guys, thanks for assisting me but I think the problem in my weather.js, because I guess it is not sending any notification to client side.
love that module, but unable to find node_helper.js inside of default/weather directory.
I would like to send notification to client side into this compliment in order to listen and put appropriate text for current weather.
this compliment module have this
notificationReceived: function(notification, payload, sender) {
if (notification === “CURRENTWEATHER_DATA”) {
console.log(“251”, payload.data);
this.setCurrentWeatherType(payload.data);
}
But I dont get how to send data from my weather module.
Sorry for mixed up
How can I connect the Compliments Module with the Weather Module for weather-controlled display of compliments?
I know there’s a line currentWeatherType: ""in compliments.js but I don’t know what I have to insert in there.
@sdetweil Sure. I will this tomorrow, I’m just testing the changes.
this time, client always sending request to google drive.
I am not sure that my tricks are correct way.
https://github.com/hangorazvan/compliments_plus
Hi, I love that module but I thought that is beyond on default compliment module.
I want to use that module to alert weather warns to clients working with current default weather module
Also I have .svg icon set for each situation. The only thing I want to show image and text depending on current weather.
For ınstance if it is rainy , the module will show image + rainy text
How can achieve this ?
I see these code , but unable to undesrtand who is sending notification.
notificationReceived: function(notification, payload, sender) { if (notification === “Weather data”) { this.setCurrentWeatherType(payload.data); } },
I changed code like below to fix my problem @sdetweil in node_helper.js
getPhotos: async function() {
// Check if need reload
// Get cache if not already loaded and cache file exists (after a restart for example)
if(!this.cache.created && this.cacheFileExists()){
let needReload = !this.cache || (new Date().getTime() - this.cache.created) / 1000 > this.config.refreshDriveDelayInSeconds;
// (re)create the cache if missing or expired
if(needReload){
this.log("No cache file, or expired, (re)creating it...");
await this.createCache();
this.cache.photos = await this.cache.photos.filter(photo=> !this.alreadySentPhotoIds.includes(photo.id));
} else
this.log("No memory cache, loading it from disk");
await this.loadCache();
} else this.createCache();
return this.cache.photos;
}
Hi, I love that module, IT’s working fine when I type “npm start” it is exactly show my remote file content via Google Drive.
But When type CTRL+R for refreshing page (It needs for my modules, scheduled 10 minutes period) , MMM-RemoteCompliments module is disappearing.
The only way to bring it , I’m triggering currentCompliment.doc file for typing space etc.
Any help ?
{
module: "MMM-RemoteCompliments",
position: "top_center",
config: {
classes:"thin medium bright"
}
},
Hi, after deleted my photo from google drive , it still show even I change
refreshDriveDelayInSeconds: 5000,
refreshSlideShowIntervalInSeconds: 15,
How can I clear cache ? any idea
thank you for your helping.
I am not sure why it is not work, but it works with yarn install
thanks for your help
I’m working with yarn instead of npm I will let you know result
Hi @sdetweil I erased packahe-lock.jon file. Afterwards I typed npm-install still locked.
PS C:\....\modules\MMM-GooglePhotos> npm install
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
[ .................] \ fetchMetadata: sill pacote range manifest for p-limit@^2.0.0 fetched in 217ms
Waiting here.