@TheSwissGuy the id you are asking for is the identifier which is already in the system and looks like module_1_MMM-soccer etc.
for the newsfeed i have no clue.
propably the carousel is not working with the identifier
As @yawns points out its down to the individual modules to implement/subclass the suspend and resume methods which in turn can be used to control when background activity is performed.
This has been around since MM 2.0, so ModuleScheduler doesn’t make any attempt to control the functionality of the modules other than show, hide, dim and send notifications.
Hope this helps
I’m using a home automation system which can provide a POST command to perform some actions within my house. Is there a way to communicate with the MagicMirror system?
My mirror will be placed in our bathroom. Since there is already a presence sensor placed in our bathroom we would like to use this sensor to perform an action to the gpio pin of the raspberry pi.
What would be the best method to perform this action?
Well in theory you could create other positions with css … so you’re not limited to just the standard layout. As the mirrors get bigger the screen area can be defined more.
For example ‘top_right’ could be ‘top_right_middle’ etc…
I’m the one who filed https://github.com/MichMich/MagicMirror/pull/484, which added single configuration options like window_x, window_y, window_height, etc …
MichMich’s recommendation was to use an array like
… which as such would be fine, but horrible to override.
As the config-loading code uses Object.assign(defaults, config) to override defaults from the config, the whole Array would have to be given - even if only one option would be needed.
As it would be awesome to just take the whole Array passed to the BrowserWindow call, a generic way of overriding individual defaults Array entries (including unsetting some) from the config would be nice. I’m currently having trouble wrapping my head around this, so I’m reaching out