@Nneuland the doc for the module says you have to create a json file, and store it in the ~/MagicMirror/config folder
and then add an entry in the module config to identify its use
a sample file is provided in the module folder
see https://github.com/Jopyth/MMM-Remote-Control?tab=readme-ov-file#custom-menu-items
looking at the file the ‘item’ structure is the doer of the group
if has
an icon to display
the text of the menu entry
what to DO (action) (send) ‘NOTIFICATION’
and the WHAT (content)
“content”: {
“notification”: “NOTIFCATION_TEXT_1”, <— the notification string to use for this event
“payload”: “This notification requires a string payload” <- the data to go with that notification
}
so, for MMM-pages,
it accepts(handles)
notification =“PAGE_CHANGED”
payload = a number for the page to change to
so for pages, for THIS ONE entry
{
"id":1,
"type":"item",
"icon": ????,
"text":"go to page 5",
"action": "NOTIFICATION",
"content": {
"notification": "PAGE_CHANGED",
"payload": 5
}
}
and then there are more, structures like that for each u want to send(aka the button)
in an array []