@mykle1 said in How to disable auto update?:
RemoteControl
I mean I want to know only if someone has pushed updates to the modules. But I dont want notifications when MagicMirror has released a new version
@mykle1 said in How to disable auto update?:
RemoteControl
I mean I want to know only if someone has pushed updates to the modules. But I dont want notifications when MagicMirror has released a new version
@mykle1 Hmm okay nice! What if I want update notifications only from modules? But not from MagicMirror it self?
When there is a new version available of MagicMirror I see on my mirror text like New commits in master. 123 commits behind
. How can I disable this behaviour? I don’t want that my mirror shows on the UI that there is new version available. Or is it even possible to disable checking for new version?
Just wanted to let you know that I made initial TS pr for MagicMirror to add simple types. They aren’t complete but you gotta start somewhere :) https://github.com/MichMich/MagicMirror/pull/1121
I am having similar issues as you! The problem is that the wifi connection drops after a day or so. I am also having similar logs like
fatal: unable to access 'https://github.com/MichMich/MagicMirror.git/': Could not resolve host: github.com
Which shows pretty clearly that internet is not available.
I have also have custom module with poor error handling and I am getting undefined errors. But I tested my module without internet on my local OSX. It starts to give me same undefined errors. But when I put wifi back up it recovers perfectly. So I am wondering if the mirror is getting wifi back ever?!
Also I am pretty sure that when mirror drops the connection it can’t get it back up because I can’t ssh into it anymore.
Do you guys have any idea how to know if mirror is trying to reconnect to the internet?
I am going to add voice stuff to my smart mirror soon. Which one you guys would choose and why? :)
Thank you so much! You have guided me to right direction and now I am doing requests the right way in node_helper :)
@Sean Nice! Can you show example project where you have done it like this?
At the moment I am calling my external endpoint with XMLHttpRequest in my custom module. But the server has CORS setting on. My current workaround for that is that I am adding webSecurity: false
inside electronOptionsDefaults
in js/electron.js
file. This allows me to do requests to the server without CORS problem.
My question is there a correct way to do http requests in custom modules? Are there any disadvantages in my current solution?