@Stacy you have a synthax error in the config. Just check it by running
npm run config:check
from the magicmirror directory.
OR post your compliments part of the config here.
@Stacy you have a synthax error in the config. Just check it by running
npm run config:check
from the magicmirror directory.
OR post your compliments part of the config here.
@MadScientist I have now ordered the Mirastar from Brigla for a really great price of 40 €. Had to cut one side by 0.5 cm to get the lower freight fee :-)
I chose this one with lower transmission because the mirror will be in a room without windows, only one LED ceiling light.
Let’s make a comparison when we have them.
@carltonb said in Failure of v2.2.0:
Install went fine, but again crashed when I tried to use this command. It crashes at the same point every time. See the file generation after I start the installer in the first post.
Where exactly does it crash? I can’t follow you. I also can’t find the error in the pasted code above.
Does it just stop where the code stops and not go on?
Thanks Tom for the Tip. I think I will also order from this site, since the local glazier wants to have more than 100€ for a quite small mirror.
The question now is, which one is better for which lighting?
Mirastar:
Thickness: 4mm or 6mm
Reflection: >58%
Transmission: 3%
Mirropane:
Thickness: 6mm
Transmission: 8%
I would assume with lower lighting you’d need a lower transmission value?
Shouldn’t the Mirastar transmission be dependent on the thickness?
How long ago was your last update?
Just to be sure, have you tried @Mykle1’s solution, which seems to help in most of the cases this has happened in recent months?
var config = {
address: "0.0.0.0",
port: 8080,
ipWhitelist: [],
adding the “address” part on the top of the config? This seems to be mandatory for the newer versions of MM.
Also, be sure to have no syntax error in your config.
Run
npm run config:check
from your MM directory and see of there are no errors.
Done all that?
@Mitch1138 said in After upgrade (v2.1.1) multiple calendars not displaying:
Edit this file:
/home/pi/MagicMirror/node_modules/rrule-alt/lib/rrule.js
- Go to line 56 or search for the first occurance of “ORDINAL_BASE” and change this line:
ORDINAL_BASE: new Date(1970, 0, 1), ORDINAL_BASE: new Date(1000, 0, 1), (set it to a lower year like 1900, I used 1000)- Then restart your magic mirror
This resolved the same problem for me. Thanks!
Hi cirdan,
I’d like to say THANK YOU for the module. I was searching for this for about a year now, also made a thread here asking for it.
Let me also say, this also works for parts of Germany close to the Netherlands (I live close to Duisburg).
I would suggest to present this in the “modules” section for more recognition.
I’d also like to contribute to it, thinking about the possibility for users to show bar graphs or line graphs.
Will send a pull request on github when successful.
Great idea Mykle1! Thanks in advance for the effort :-)
The function is not that new.
I’m using it for a few months now, I’d guess.
Hi red43,
You should at first try to have a running system WITH a proper internet connection before installing the mirror.
I would highly suggest to first read through the setup of a wifi connection. There’s tons of material to learn this on the internet.
It’s advisable for beginners to setup wifi in the pixel desktop environment and not in the console.
Theres much that can be broken when setting up wifi in the console. I have quite some frustrating experience with that.
So:
That’s how I would do it.
Beginning from scratch now is supposedly faster than trying to repair the situation from here on, although you’d learn more with the latter :-)
Without being able to give the reason (since I haven’t tried stretch), I’d suggest to try out what the system asked of you.
You want to learn, after all:-)
So go ahead with
sudo apt --fix-broken install
What does that give you?
For the next time: I’d suggest, after setting up a new system, at first do a
sudo apt-get update && sudo apt-get upgrade
to get your system up-to-date.
I’m astonished by the fact that “npm run config:check” seems to be so unknown in the community. It is a VERY important tool in my opinion.
Whenever there is something odd, always run this one first to check if the config is ok.
However, it took me about twenty lookups into the github readme to finally remember it correctly.
There is a good ipWhitelist Howto around here.
Good read to understand how the whitelist is working.
You should get your answer over there.
https://forum.magicmirror.builders/topic/1326/ipwhitelist-howto?page=1
Have you added the following line to your config?
var config = {
port: 8080,
address: "0.0.0.0",
(the last one)
With newer versions, you apparently need this line for being able to connect to the server side of the mirror.
Has been discussed here in some thread.
This solved the same problem for me.
You’d need a ddns service for that. Your “home” IP changes from time to time. A DDNS (“dynamic dns”) routes this dynamically to one fixed address.
For example you can use no-ip (www.no-ip.com), they have a free service.
You register, create your own nameofchoice.ddns.net address. Then you need to install a server program to your Raspberry Pi OR use your router, if it supports ddns. You need that because someone needs to tell the no-ip server your current home ip.
There are a lot of tutorials out there for using no-ip with your raspi or with a supporting router.
If you have e.g. a FritzBox: these have their own ddns service but I’m not that common with that.
and in my comfig.js i add the Domain in address
What domain? Of course you need to take care of your IP whitelisting. Note that the IP you want to connect from can also change over time.
Hi Kurt,
if I understand correctly your mirror doesn’t show up despite your pm2 “starting” it successfully!?
the run-start.sh shell script seems to be the problem.
This is the content:
if [ -z "$DISPLAY" ]; then #If not set DISPLAY is SSH remote or tty
export DISPLAY=:0 # Set by defaul display
fi
electron js/electron.js $1
I would assume electron has some problem starting…
Hi Jan,
This type of error is well known. Please have a look at the git. There it is being discussed in the issues section. Dont know if it has been resolved completely.
Greetings from Moers! :-)
@barnosch Got exactly the same results.
Haven’t found any solution to that.
I guess the installation is stopped in the middle trying to install electron-chromedriver, so not finished.
Want to share what I know until now, since the topic didn’t let me loose:
What @tshort did with his fridge mounted display
https://forum.magicmirror.builders/topic/2566/fridge-mounted-display
is just using a headless system and calling it with the web browser on the tablet. Of course that’s an easy way to get the Magic MIrror on the tablet, but you’ll need some server running headless. I’m thinking about trying that with my OSMC RasPi at the TV, which is not used very often, but always on. Maybe it can additionally run a headless MagicMirror Server.
Then there are the “real” android versions. Well there are some apps in the store of course, but apparently they are not very good and don’t have much information.
Another possibility is to build your own customized app, and that’s what I’ll try to do in the next weeks.
Here’s an interesting version by Max Braun, Google developer
https://github.com/maxbbraun/mirror
However, getting THIS MagicMirror which has the most modules, to work on Android other thatn mentioned above, I haven’t seen a way, but would be highly interested.
@Sean aaaaaaand there goes my free time in the coming holidays. Thanks for the link!
@Mykle1 I still don’t understand. How do you install the mirror on an Android tablet? Using a Linux VM? Or using Android directly?