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)
},