this one exists :
https://forum.magicmirror.builders/topic/674/mmm-pilights-control-a-lpd8806-led-strip-on-a-raspberry-pi
Maybe not for you, but there is one :D
this one exists :
https://forum.magicmirror.builders/topic/674/mmm-pilights-control-a-lpd8806-led-strip-on-a-raspberry-pi
Maybe not for you, but there is one :D
@arthurross maybe the voice part doesn’t recognize the command for images and text?
Other than that I’m lost
@reddevel75 did you do the npm install in the magicmirror folder after you cloned the magicmirror?
@BlackPawn thickness rarely impact the numbers that much, it’s the mirrors coating that decides what numbers you get. It all depends o. The manufacturer what they offer for different thickness. Thickness is more a question of weight and thougness.
Large Mirror with no supporting frame I would suggest a 6-8mm one, if you are building a smaller mirror with support take a 3-6mm mirror.
could you please try this config?
/* Magic Mirror Config Sample
*
* By Michael Teeuw http://michaelteeuw.nl
* MIT Licensed.
*/
var config = {
port: 8080,
ipWhitelist: [], // Set [] to allow all IP addresses.
language: "en",
timeFormat: 24,
units: "metric",
modules: [
{
module: "clock",
position: "top_left"
},
{
module: "compliments",
position: "lower_third"
}
]
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
But it seems you have other issues, it tries to load a module that doesn’t exist (alarm module).
You could probably make the remote module send terminal commands and make it alter the wifi connection, but you would probably have to know the ssid of the network, ie no choosing and clicking the network
@BlackPawn as high reflection % you can get, light transmission between 10-30%. It mostlu depends on where the mirror will be put.
Daylight = 30-40% light transmission
Dark room = 10-20% light transmission
@johnnyboy there is some issues with iframes due to cross domain restrictions. And I believe the biggest issue with iframes and youtube is that you can’t control playback (i.e pause/play, stop etc).
I.e Loading a video with autoplay in an iframe does work, but to stop it you would have to close the iframe. (Somebody else with more knowledge on this should confirm or deny this)
And the google requests in this module seems to use the api from google and not the actual webpage for searching, thus no fuzz with the cross domain restrictions
@reddevel75 use this guide for ip whitelist to access the mirror from another computer :
https://forum.magicmirror.builders/topic/1326/ipwhitelist-howto
OR change the config to ipWhitelist: [ ], To allow every ip to access the mirror
Please post you config file content so we can see if there is any issues with it (but remove any personal api-keys before you post)
the node_helper will only load when the mirror is actually started, modifications to a modules node_helper will require a full restart of the mirror software, not just a reload. Which I discovered when modifying the stock newsfeed module :D
@johnnyboy looking at the modules read me linked above it uses youtube api to search for the video and an iframe to display the video from youtube on the mirror. And it uses google api to search for images to display.
so no @arthurross you can disregard what johnnyboy is mentioning.
But just looking at the read me it looks like a module with a certain degree of difficulty to pinpoint issues with unless you actually have access to the mirror it’s being used on (many points that could have been overlooked when installing).
Do you get the module to display text? How do you know that alexa is responding? By audio confirmation?
sudo shouldn’t be used unless actually defined in the instructions, that could create access issues for the main mirror software.
@H1ghtower sounds like a screensaver issue since the monitor actually turns on
@KeesKemper can you get the openhome player to send out a http request?
If so you can use the syslog module https://forum.magicmirror.builders/topic/607/mmm-syslog
The Clock that puts that little extra custom feel to your mirror, no more numbers, just stylish text!
Two options of layout, 24H/12H in one line or 12H on a Field.



[card:brobergp/MMM-TextClock]
@Shrike Since I don’t use a cam to my setup I can’t really tell.
But I guess the easiest is going all Raspberry PI (stock power supply, raspberry camera and a pi 3)
@bobbob601 aren’t all requests personal? Why should that matter?
Anyhow, found this https://launchlibrary.net, they offer a API, but it’s for all kind of launches not just spacex.
How do I go about forcing translations in a module?
I want my configuration option to overwrite the main config language setting, how do I do that in the code? I have included translation json files in the module and include them using
getTranslations: function() {
return {
en: "translations/en.json",
sv: "translations/sv.json"
}
},
and then use this.translate('word')
I guess this is really simple, but I’m lost
@joeytuck there is also another comma missing after the position line
you are missing a , after showWeekend: true,
Okey first of, when in your terminal typ cd MagicMirror/modules/ this will get you directly to your modules folder.
after that you should type git clone https://github.com/SamLewis0602/MMM-Traffic.git
This command will create a new folder called MMM-Traffic and copy all files for the module.
When that is done you typ
cd MMM-Traffic to enter the MMM-Traffic folder.
When you have done that and are in the folder you type npm install, this will install all dependencies, i e stuff that is needed for the traffic module to work.
Then open your config.js file and find the last ]
Before that ] you add
{
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: 'your_apikey_here',
mode: 'driving',
origin: '4 Pennsylvania Plaza, New York, NY 10001',
destination: '1 MetLife Stadium Dr, East Rutherford, NJ 07073',
arrival_time: '0800', //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: 'pessimistic',
interval: 120000, //2 minutes
showWeekend: false,
allTime: false
}
},
Now you need to change the api key above where it says api_key: 'your_apikey_here',
replace your_apikey_here with the needed api key and make sure not to remove the ' around the api key.