Read the statement by Michael Teeuw here.
How to run two instances of one module?
-
Heya guys,
So I found a perfect module to manage my hue-lights:
https://github.com/michael5r/mmm-hue-lights
But since I have my rooms spread out across two hue bridges I cant display all my rooms.
This is going to sound so stupid, but I tried renaming all the instances of the modules name in order to make another bridge config possible.
It did work, kinda - but the renamed module acts weird and prompts the HUE API until it gives up after a couple of minutes. It also causes a memory leak which leads MM to crash after a couple of minutes.Help would be very much appreciated!
-
@hefal most modules don’t support multiple instance directly.
You can make a complete copy if the folder, changing it’s name, AND the name of the top level J’s file that should match the folder name,… AND you gave to edit that file and change the module registration string to match the filename and folder name
Then use the new module name in config.js
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login