Thanks a lot
Josef
Read the statement by Michael Teeuw here.
Posts
-
RE: Bathroom Magic Mirror
Hi @evgeniy88,
I probably needed a lot less than half a can. The relief of the milling helps to save material and still guarantee stability.Soon I will start building a bathroom mirror cabinet with a magic mirror. I will post the details in this forum again. :-)
Best regards
Josef -
RE: Error on loading script "...//MMM-name.js"
@sdetweil many thanks!
The wrong spelling was the right track. In the installation instructions I had written:
git clone https://github.com/spitzlbergerj/MMM-Teslalogger cd MMM-Teslalogger npm installBut it must be called (capital L)
git clone https://github.com/spitzlbergerj/MMM-TeslaLogger cd MMM-TeslaLogger npm install -
Error on loading script "...//MMM-name.js"
Hi,
I have developed a new module. Everything works wonderfully on my mirror. I uploaded the module to github and offered it there:
https://github.com/spitzlbergerj/MMM-TeslaLoggerNow others have loaded the module via git clone and got an error:
loader.js cannot load /modules/MMM-TeslaLogger//MMM-TeslaLogger.jsI can reproduce the error after a git clone on my mirror too. But I cannot find where the second “/” has crept in.
What could be the reason for this?
thanks a lot
Josef
-
MMM-MQTT/MMM-TeslaLogger - Cleanup JS - help needed
Hi,
I have used MMM-MQTT as the basis for my MMM-TeslaLogger module. In MMM-MQTT there is an own local directory node_modules. At first sight this local dir is identical with the dir node_modules in the root directory of Magic Mirror.
I now try to get rid of the local dir node_modules in my module. But I do not succeed.
In MMM-TeslaLogger.js I only found one reference to the local node_modules, namely jsonpointer.js. This is also the case in MMM-MQTT.
But if I change this reference to the node_modules in the Magic Mirror root, the module doesn’t run anymore and partly generates error messages. The pm2 log also shows error messages for the node_helper. These seem to refer to the line after the last line of the file ???
I am a JavaScript Newbee and can’t get any further. Can someone please take a look at this?
Unfortunately I don’t have access to the error messages right now - sorry. I will deliver them later.
I would be very grateful for any help.
Regards
Josef -
RE: Bathroom Magic Mirror
Hi, Mat,
my wife and I are very happy with our mirror and we would both not want to miss it anymore. The mirror is a little darker than a normal mirror. But it is perfectly adequate as a bathroom mirror. My wife has never complained about the (missing) brightness. And I myself am also very satisfied.
But before I bought the mirror, I had built a “sample mirror” for my wife from the sample glasses that you can get from the supplier. At that time the direct comparison was possible and the conversion was officially “approved”. :-)Grüße
Sepp -
RE: Bathroom Magic Mirror
Hi, I’ve tried several options:
- Motion detector in the mounting arm of the lamp
- Radar sensor behind the glass
- Radar sensor inside near the frame
- Radar sensor outside on the lower frame
Actually, only the latter works well. And that’s how it’s stayed now. The foil of the mirror shields just about everything. Actually the motion detector in the lamp arm should do the job. But apparently it is also shielded by the aluminium so that it didn’t work.
So not yet an optimal solution …
-
RE: new update/upgrade script, ready for testing
@sdetweil thank you very much again!
-
RE: new update/upgrade script, ready for testing
@sdetweil
now it worked, my MagicMirror is on the current version :smiling_face_with_open_mouth_smiling_eyes: :thumbs_up: .Many, many thanks for your patient help. It was a somewhat more difficult birth. But the end is good and so everything
I have a lot of respect for you, who created such a complex script and patiently provides support. Thank you very much!
One last question:
During the update there was another message:npm WARN deprecated @types/vfile-message@2.0.0: This is a stub types definition. vfile-message provides its own type definitions, so you do not need this installed.Is there anything else I should do?
-
RE: new update/upgrade script, ready for testing
@sdetweil
OK, now I have another problem :disappointed_face: . The upgrade script ran and I think it upgraded some stuff.At some point, I must have gotten my permissions mixed up. There were a number of directories that were root:root. Here there was Permission denied.
I have now corrected the owners. But now the upgrade script doesn’t run anymore, because it assumes that I am already on 2.10.
Can I force another upgrade?
-
RE: new update/upgrade script, ready for testing
no, I didn’t say I was on 2.10.
i have now run the script in apply mode. The output is very long and apparently it was not updated, right?
Sorry, I’ve always done the update via git. Now I am confused …
-
RE: new update/upgrade script, ready for testing
@sdetweil Sorry if I misunderstood something. Should I have corrected something on my own?
OK, I started the script again. Now the output is as follows:
curl -sL https://www.dropbox.com/s/80fevh39jme3iig/testlang.sh?dl=0 | bash On branch master Your branch is behind 'origin/master' by 117 commits, and can be fast-forwarded. (use "git pull" to update your local branch) Untracked files: (use "git add <file>..." to include in what will be committed) core installers/dumpactivemodules.js nothing added to commit but untracked files present (use "git add" to track)And the update script returns the following output:
bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" the log will be /home/pi/MagicMirror/installers/upgrade.log No LSB modules are available. doing test run = true update log will be in /home/pi/MagicMirror/installers/upgrade.log saving custom.css upgrading from version 2.9.0 to 2.10.0 fetching latest revisions processing dependency changes for active modules with package.json files processing for module MMM-Remote-Control please wait ---------------------------------- skipped processing for MMM-Remote-Control, doing test run processing complete for module MMM-Remote-Control processing for module MMM-NetworkScanner please wait ---------------------------------- skipped processing for MMM-NetworkScanner, doing test run processing complete for module MMM-NetworkScanner processing for module MMM-DWD-WarnWeather please wait ---------------------------------- skipped processing for MMM-DWD-WarnWeather, doing test run processing complete for module MMM-DWD-WarnWeather processing for module MMM-SystemStats please wait ---------------------------------- skipped processing for MMM-SystemStats, doing test run processing complete for module MMM-SystemStats restoring custom.cssSo it all worked out now, right?
-
RE: new update/upgrade script, ready for testing
@sdetweil Hi, I run the script just now again. The output is the same I guess:
curl -sL https://www.dropbox.com/s/80fevh39jme3iig/testlang.sh?dl=0 | bash Auf Branch master Ihr Branch ist zu 'origin/master' um 117 Commits hinterher, und kann vorgespult werden. (benutzen Sie "git pull", um Ihren lokalen Branch zu aktualisieren) Unversionierte Dateien: (benutzen Sie "git add <Datei>...", um die Änderungen zum Commit vorzumerken) core installers/dumpactivemodules.js nichts zum Commit vorgemerkt, aber es gibt unversionierte Dateien (benutzen Sie "git add" zum Versionieren) -
RE: new update/upgrade script, ready for testing
@evroom said in new update/upgrade script, ready for testing:
locale -a
the output is:
C C.UTF-8 de_DE.utf8 POSIX -
RE: Bathroom Magic Mirror
Good morning @bachoo786,
I’m working on a furniture project for my wife. It’s gonna keep me busy for the next four or five weekends. After that, in the middle or end of February, I can take care of your frame.
With all the cut-outs, holes, millings from my frame as well as the grinding work and the safe packing I will work on the frame with my machines for about one weekend. For this I would like to charge you 60 EUR.
The wood incl. angles and flat dowels will cost about 15 EUR.
All in all that will be 60 + 15 + 25 EUR = 100 EUR.
Maybe you can find a private woodworker near you via the relevant internet forums. Or a carpenter in your area. The CAD plan of my frame I have made available. Everybody should be able to rebuild it.
Regards
Josef -
RE: new update/upgrade script, ready for testing
Good Morning @sdetweil
Here are the results from the just newly started command:
curl -sL https://www.dropbox.com/s/80fevh39jme3iig/testlang.sh?dl=0 | bash not english or locale not set, set git alias alias git='LANG=en_US.UTF-8 git' Auf Branch master Ihr Branch ist zu 'origin/master' um 117 Commits hinterher, und kann vorgespult werden. (benutzen Sie "git pull", um Ihren lokalen Branch zu aktualisieren) Unversionierte Dateien: (benutzen Sie "git add <Datei>...", um die Änderungen zum Commit vorzumerken) core installers/dumpactivemodules.js nichts zum Commit vorgemerkt, aber es gibt unversionierte Dateien (benutzen Sie "git add" zum Versionieren)The result is the same as last night, right?
Regards
Sepp -
RE: new update/upgrade script, ready for testing
@sdetweil thanks for your Help. Here are the results
git remote github-desktop-darkniki origin git remote -v github-desktop-darkniki https://github.com/darkniki/MagicMirror.git (fetch) github-desktop-darkniki https://github.com/darkniki/MagicMirror.git (push) origin https://github.com/MichMich/MagicMirror.git (fetch) origin https://github.com/MichMich/MagicMirror.git (push)and for the second post:
curl -sL https://www.dropbox.com/s/80fevh39jme3iig/testlang.sh?dl=0 | bash not english or locale not set, set git alias alias git='LC_ALL=en_US.UTF-8 git' Auf Branch master Ihr Branch ist zu 'origin/master' um 117 Commits hinterher, und kann vorgespult werden. (benutzen Sie "git pull", um Ihren lokalen Branch zu aktualisieren) Unversionierte Dateien: (benutzen Sie "git add <Datei>...", um die Änderungen zum Commit vorzumerken) core installers/dumpactivemodules.js nichts zum Commit vorgemerkt, aber es gibt unversionierte Dateien (benutzen Sie "git add" zum Versionieren)I hope this helps
Regards
Sepp -
RE: new update/upgrade script, ready for testing
@sdetweil thanks for your great work. Unfortunately it does not work for me with the script.
When I execute the script I get the following messages:
bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" the log will be /home/pi/MagicMirror/installers/upgrade.log No LSB modules are available. doing test run = true update log will be in /home/pi/MagicMirror/installers/upgrade.log saving custom.css upgrading from version 2.9.0 to 2.10.0 fetching latest revisions fatal: Couldn't find remote ref origin MagicMirror git fetch failed restoring custom.cssThe log file also contains the following:
not english or locale not set, set git alias alias git='LC_ALL=en_US.UTF-8 git' remote name = github-desktop-darkniki origin upgrading from version 2.9.0 to 2.10.0 fetching latest revisions git fetch rc=128 MagicMirror git fetch failedShould I update manually or is there another way with the script?
Thanks
Sepp
-
RE: Bathroom Magic Mirror
@bachoo786: You are right, it is important that no stray light falls on the spy mirror from behind. But the back plane does that very well. If the silicone is in the groove all the way around, the image from the MagicMirror screen is without any interference.
The groove was milled with a milling table in two steps. First the deep groove was milled on the outside of the frame. Then the second groove was milled on the side of the frame facing the inside.
The size of the frame naturally depends on how large the mirror is to be at the end. My mirror is about 1 meter by 1/2 meter.
Shipping to UK should cost about 25 EUR (see https://www.dhl.de/versand-grossbritannien)