Read the statement by Michael Teeuw here.
Change the modul position remote with api or something similar!
-
Hello everyone,
I have a quick question. Is there a way to change the positions of the modules remotely? Is there an API for controlling the modules that are on the screen? An example: I want to move the position of the Weather module from the left to the right. I would like to remotely set the position of the weather module to right and the MM website should update itself automatically. I don’t want to restart the service manually.Thank you for the answers.
-
@pi-user there is a module that does this
https://github.com/Toreke/MMM-Dynamic-Modulesit allows other modules to send notifications to move modules. I do not think it saves the info
-
Thanks for the link. I don’t think the config.js file will be changed remotely and the MM web server will start automatically.
-
@pi-user correct it does not change it permanently
-
I did not understand how to use this module. How can I access this module remotely from another PC in the network?
-
@pi-user u would have to use another module, like remote-control and have it send the position notification
-
Thank you.:folded_hands:
Then I have to use the remote-control module in a Javascript code to be able to access MMM-Dynamic-Modules. Maybe I can find a code example somewhere on the internet that makes it work too.