JosefJantzen / MMM-AlexaControl

Control your MagicMirror with Alexa
MIT License
45 stars 10 forks source link

add support for multiple named mirrors in same location #14

Closed sdetweil closed 4 years ago

sdetweil commented 4 years ago

in my location i have 4 mirror installations running.. so I needed to be able to control each separately, thus needed unique names..

this adds a new optional config parm 'deviceName' and inserts the name into multi part translation results (else the syntax gets weird)

before name restart pm2 now restart name pm2

it also adds a new hiding capability, as none of my display devices support hardware off.. it sends a notification that allows my MMM-SleepWake to hide/show the modules

the code in node_helper handling vcgencmd, will detect old value true/false, so user doesn't have to change anything after a git pull.

JosefJantzen commented 4 years ago

Thanks for your work. I think that are good ideas.