While trying to debug modules, I’ve been given quite mixed feedback regarding what to use to print messages to console, on either local system or in remote browser DevTools.
So far, I have found the only reliable way that always seem to print something in the browser, is using console.error(). The others have varied. I’m on MM v2.2.2 (master).
@sdetweil thank you so much for this. i think this is what i did then messed up the rest of the coding when i tried to move it around.
the advice you gave above about looking at the ] and } was great! i actually managed to get the mirror to boot with scheduler coded and i am now just testing if it will actually work.
@majdzik84 said in GIF update from URL with MMM-EyeCandy:
I am sending the command from home assistant via rest_command
sorry, I don’t know how to make this work from home Assistant. I was making work from inside MM.
u could edit the Remote-Control module when it receives an alert request and append the timestamp there
but as u are not a coder, this will be difficult.
@aljosie i do not know how to speak as there is no builtin text to speech
u could write a message to the screen, or do a console.log and use debug to see it…
why do you want to use jarvis, vs say GoogleAssistant that has all this work done already…
Hi, so I figured it out. Sorry if I was confusing, here is my problem and solution just in case anyone ever sees this. 1) i followed all steps in the installation guide which brought me to the default MM screen that goes on when you barely install it. 2) i pressed ctrl+q and it exited me out into the desktop screen. 3) I installed the spotify module following all steps. 4) this is where my question is, how to get back into MM (the screen that shows when MM is in use) to see my spotify module.
Solution: what I was doing wrong was i made a new terminal and did
DISPLAY=0: nohup npm start & without doing cd MagicMirror first. Thank you for the responses