paviro/MMM-PIR-Sensor

MMM assistant put all module in standby mode

Ejay-3D opened this issue · 0 comments

Hi,
First thank you for this Modules it is perfectly working.

I had the following issue <which is not directly related to the PIR module itself.

PIR Module turn off my HDMI and then when motion is detected it turn back it ON . So far so good perfect!

But Some other modules like MK2 Assistant have this useful function :

onIdle: {
timer: 1000 * 60 * 30, // if you don't want to use this feature, just set timer as 0 or command as ""
command: "HIDEMODULES"
},
onActivate: {
timer: 0,
command: "SHOWMODULES"
},

And what happens is that when I get back after a few hours in front of my mirror the HDMI turns On but the screen is black because the modules are Hidden due to the onIdle .

Can the PIR module send the SHOWMODULES command to other modules like MK2 assistant is doing, so all modules come up and activate when the PIR is triggered?

I haven't figure out how to communicate between module yet. I need a little help.

btw that would be a great feature to implement in the PIR Modules as it is in the assistant for those who don't use it.

Thank you!