darickc / MMM-BackgroundSlideshow

MIT License
138 stars 79 forks source link

Notification exemple of setup... #51

Open mcnahum opened 4 years ago

mcnahum commented 4 years ago

Can someone share an exemple how to setup the notification for the module ...I probably missed a simple step...

Thanks,

rts58 commented 3 years ago

I found your post looking for an example. I did get it to work with the MMM-Remote-Control module. I added the notifications to a custom menu in Remote Control. The format I used was: { "id": "custom-item-4", "type": "item", "icon": "dot-circle-o", "text": "Next", "action": "NOTIFICATION", "content": { "notification": "BACKGROUNDSLIDESHOW_NEXT", "payload": null } }, Most of this is just structure for the menu item for remote control. Basically, I think you just need to send notification: "BACKGROUNDSLIDESHOW_NEXT" Hope this helps.