Multiples of same module?
I’m trying to have multiple modules of the same kind, but it doesn’t seem to work. What I’ve tried with is MMM-homeassistant-sensors and MMM-SL-PublicTransport. No error messages, just that the second module doesn’t work. Is this not possible?
Some modules cannot work with multiple instances.
Usually, If the module has
node_helper.js, that kind of module wouldn’t work normally.
Besides, If the module is using a unique DOM id or using singleton pattern in its code, that kind also has the possibility of not working properly.
@sean Alright, thank you! Both of these has node_helper.js, so I guess it’s that then!
If you want a quick and dirty solution, copy the module folder, rename the copy and then change the module’s name to match the new module/folder name in all occurances (file names and within the code).
Haha yeah thats the solution I use aswell
@doublet I will try this! I really want them on several places in the mirror