SOLVED not able to profileswitch/schedule LocalTransport module
i mean, the newest version did nothing.
after copying the code of the previous version into the .js file it worked again, of course not hiding localtransport.
many thanks for your effort
@dfuerst that’s unfortunate. There is another problem currently going on, since I used code that isn’t supported on all browsers. My first thought now is that it might be related. I will fix this soon and hope that this was the issue. What browser are you using?
@tosti007 i use a RPi3 with standard Raspbian.
i always test via “pm2 start mm”
@dfuerst I fixed that backwards compatibility, but this does unfortunatly not solve the problem (tested it). I did found the reason why it doesn’t work, however I do not have a quickfix for this. I will look at it in the following days after doing some research.
ok, again thanks for your effort
Alright so I found the problem and it turned out to be a mistake in the Localtransport module. I have send him a pull request and updated my README with a fix. Have fun with the modules
I will copy paste it the README text here as well:
The MagicMirror-LocalTransport-Module module does not work (without a fix) with the [MMM-ProfileSwitcher].
This due to his code overwriting a variable that it a default variable used by the MagicMirror Framework and my code need this. Luckily this problem can be solved fairly easily with any text editor.
Go to the module’s main file
localtransport.jsand replace the occurences of
Note: There should be three occurences on lines
tested it already and works now like a charme.
Might this also solve the incompatibility of LocalTransport with the FacialRecognition module? i guess so
@dfuerst Yes it does, FacialRecognition also uses classes (which are saved in
My pull request was just merged with
masterso you should be able to use them together out of the box now without having to modify his module!