Read the statement by Michael Teeuw here.
Custom module_data in payload MMM remote control
-
Hello
I was thinking that is it possible to sent custom module_data payload via remote control
So I can display module at position of my choice . It would make quite easier to program via python by simply sending http get requestsRegards Saif
-
@saifkazi Have a look at
node_helper.js
and theanswerPost()
andanswerGet()
functions. You should be able to modify one to catch your additional data and modify the position of a given module. Not sure if you can change the position on the fly, or whether you need to write the config and restart the mirror. -
@ninjabreadman That is indeed not very simple. It was something I wanted to implement too, but it turned out to be a little more complicated than I initially thought, since the MagicMirror project does not directly support this. But it could be done, and if so a PR or even just an initial implementation would be awesome.