@teitlebot you didn’t post the script
Read the statement by Michael Teeuw here.
Posts
-
RE: How can I add this script text to my screen
-
RE: Module suspend not being called
this fix is now added to the develop branch, and will be merged to master at some time.
Thanks Mitch -
RE: MagicMirror stays black, but loading from another browser (Windows, Android) works
@andurii npm has a remove operation
npm remove electron
npm install electron@1.7.9 -
RE: MagicMirror stays black, but loading from another browser (Windows, Android) works
I had to uninstall electron and install version 1.7.9 to get rid of the blank screen
-
RE: Module suspend not being called
ok, this is a bug/limitation… the js/main.js.hideModule() method doesn’t call the callback if there is no dom content…, and there is no dom content if no module position is defined… (per UpdateDom not working)
my module has no dom content, but I need the suspend notification
i have opened issue 1308
-
RE: Rasbian Stretch screensaver disable
this Debian Stretch: deactivate screen blanking
says
add those lines to
/home/pi/.config/lxsession/LXDE-pi/autostart
note that is a file that is USER based…
-
RE: MMM-voice wont register commands
@strawberry-3-141 said in MMM-voice wont register commands:
@sdetweil the original idea was that every supported module has it’s on mode, so modules can have the same commands without conflicts. And then you enter the mode and you can use commands of that module as long as you dont change the mode.
To change the mode you need to say the name of the mode as the first thing in your sentence, only the keyword can be before if necessery. Otherwise it will not detect a change mode
ok, so mode is really ‘context’ so you could speak to a single module
-
Module suspend not being called
I have two modules, which are executing fine…
I want to add support for suspend and resume, to be used with the Hello-Lucy extension to hide modules.
I added the functions to my module.js, but suspend is never called…
the hello-lucy mod to MMM-Voice (module.js) does
MM.getModules().enumerate((module) => { module.hide(1000);
so my modules should be found and notified…
config for my modules is
{ module: "ImageScheduler", }, { module: "ImageService", },
resume is working… suspend is not…
my suspend and resume functions
suspend: function(){ Log.log("image service in suspend"); self.sendSocketNotification("suspend",null) }, resume: function(){ Log.log("image service in resume"); self.sendSocketNotification("resume",null) },
-
RE: MMM-voice wont register commands
@strawberry-3-141 said in MMM-voice wont register commands:
@sdetweil the base module hides all modules. the mode has
voice
and those ones https://github.com/fewieden/MMM-voice/wiki/Supported-Modulesnot sure what rules apply for modifications of my module
sorry, that description of mode doesn’t help… what does MODE mean? that you can supply words via voice or text strings, or ??? but its not used?
ok, on my installation, ‘hide modules’ doesn’t do anything…