Read the statement by Michael Teeuw here.
Looking for beta testers for MMM-Remote-Control
-
@done Thank you very much!
I am still on the hunt of the restart thing. This is actually a bug, but I am not sure what causes it (if any file in the MagicMirror directory changes, the process restarts). Only happens on the raspberry pi though, and thus harder to debug. If anyone has an idea…
I will see if I can find out what causes the errors on download, since that is the part that actually should work.
It does not show the installed modules list on smartphone in landscape?
-
I’ll join ;-)
-
I’ve joined…
Tried some and ran into some trouble…
Will give you a more detailed report when I have the time…I noticed all parameters and values in config.js are wrapped in quotes…
Maybe that’s why I’m seeing0|mm | ** Message: console message: http://localhost:8080/js/main.js @38: TypeError: undefined is not an object (evaluating 'wrapper.appendChild') 0|mm | ** Message: console message: http://localhost:8080/js/main.js @130: TypeError: null is not an object (evaluating 'moduleWrapper.getElementsByClassName')
The second line is repeated a couple of time (for each module?)…
And when I tried to save eanbled/disabled modules from the remote, the pm2 logs showed an error about insufficient rights…
Sorry for not having the error log…The config.js now looks like (just a small part):
var config = { "port": 8080, "kioskmode": false, "language": "nl", "timeFormat": 24, "units": "metric", "modules": [ { "module": "MMM-Remote-Control", "config": {} }, { "module": "clock", "position": "top_left", "header": "", "config": { "displayType": "digital", "timeFormat": 24, "displaySeconds": false, "showPeriod": false, "showPeriodUpper": false, "clockBold": false, "showDate": false, "analogSize": "100px", "analogFace": "simple", "analogPlacement": "bottom", "analogShowDate": "top", "secondsColor": "#888888" } }, ''' etcetera...
-
@Jopyth said in Looking for beta testers for MMM-Remote-Control:
It does not show the installed modules list on smartphone in landscape?
Exactly. I just checked again.
I use a Galaxy S6 (just for the dimensions) and I experience that on chrome and the default browser.
I have an idea for the reason.
You work with something like frames.
You have the fix navigation area with “Back”, “Brightness” etc. on top and you have a scrollable list with the installed mods below.
When I go for landscape, there is no chance to get to the scrollable area since the fix area takes already whole of the screen.
The solution could be to make the whole screen scrollable.
At least for small mobile devices.
Or you prevent the browser from going into landscape :DI guess this is an easy one.
I tried to install modules. MMM-hue and FUEL worked but I had no time to configure them. But they showed on the mirror.
Let me know if I should retry.
-
@done Yes the fixed area there takes up way to much space.
Does it still do the restart thing? If yes, can you check the output of
pm2 show mm
and see ifWatch & Reload
is enabled? I am currently trying to figure out a way to stoppm2
from restarting on changes of files. -
@rvdgeer The quotes wrapping should be ok, since whether the key of an object is wrapped in quotes or not, does not make a difference as far as I know. However something is still wrong. Are these console messages coming from your browser?
And did the saving of hidden/shown modules work before you changed to the development branch? Did you change permissions on any folder, and do you have a dedicated user which runs you MagicMirror?
-
@Jopyth said in Looking for beta testers for MMM-Remote-Control:
Does it still do the restart thing?
I installed the new dependencies and now it seems to work. :)
-
@Jopyth The console messages are from the pm2 logs…
I run MM as the default user (pi) and didn’t set any special rights for any folders or files…
Now that you mention it, it could be that the saving of the shown/hidden modules didn’t work before either.BTW: I’m running MM on a Pi Zero (so using ‘serveronly’).
Edit: now that I think about it: I do have a HelloWorld module enabled which already used single and double quotes before. So maybe there’s a conflict with the added quotes. I will look in to this this weekend.
-
@Jopyth is there a possibility to include system updates in the remote ? ie “apt dist-upgrade” or whatever subsystem thats used on the system.
-
@rvdgeer Would be great to find out what causes this and hopefully fix it, however it is still not clear to me, what the reason is. I will investigate a little bit more on the weekend. Maybe I am able to reproduce the issues, could you post your
node --version
?In the meantime you could compare your
config.js
and theconfig.js.backupX
and see if you find possible differences?