Read the statement by Michael Teeuw here.
MMM-SL how to trigger update?
-
@Mykle1 Thanks for mentioning. :)
@Baxer If you do not have a button, you could use a custom URL together with the Remote-Control (you need to install and configure the module though, do not forget to adapt your IP whitelist). Then you can send a notification request via an URL by accessing a custom URL.
In your case the URL would probably look like this:
http://192.168.xxx.xxx:8080/remote?notification=UPDATE_SL&action=NOTIFICATION
Or you could change the module to use a timer, but I assume the author of the module had a good reason for not doing that.
-
You’re awesome!
-
@Jopyth Holy shit it works, thanks man
the reason the author doesnt think the timer is a good idea its because the API have an maximum amount of calls you can make in a month which is 30 000, but if i wanted to go against his advice and make it update every 5 minute or so, how would i do that -
@Jopyth I figured it out myself but thanks for the help, i used MMM-ModuleScheduler and put this
{ module: 'MMM-ModuleScheduler', config: { notification_schedule: { notification: 'UPDATE_SL', schedule: '*/5 * * * *', payload: { type: "UPDATE_SL", title: 'sl!', action: "notification" } } }
to make it update every 5 minutes
-
@Baxer said in MMM-SL how to trigger update?:
Jopyth Holy shit it works, thanks man
I told you he was awesome!