Read the statement by Michael Teeuw here.
[Guide] Control MM via Google Home
-
@Sean If possible could you give an example of how our config file should look like if we wanted to use the google home to turn on and off the monitor?
-
Also if i were using MMM-Remote-Control besides MMM-OnScreenMenu, how would it work?
-
@Sean So i followed all the steps and looked at the conversation you had with smackenzie, but i still cant get my monitor to turn off, here my
config.js{ module: 'MMM-OnScreenMenu', position: 'bottom_right', }, { module: "MMM-NotificationTrigger", config: { useWebhook: true, triggers: [ { trigger: "MONITOR_OFF_FROM_IFTTT", fires: [ { fire: "ONSCREENMENU_PROCESS_ACTION", payload: {"actionName": "monitorOff"} } ] } ] } },IFTTT request
{ "notification": "MONITOR_OFF_FROM_IFTTT", "payload": null }and here the log when i say Magic (the keyword)
reqpost? { notification: 'MONITOR_OFF_FROM_IFTTT', payload: null } -
@sgarg15 if you open the developers window console, you should see the notifications being sent
-
@sdetweil the notification is being but it isnt doing anything to the monitor
-
@sgarg15 so, the onscreen module should be configured to receive and process this, right?
ONSCREENMENU_PROCESS_ACTION -
@sdetweil these control modules are just so complex to setup.
-
@sdetweil Idk some people got this too work, and i have been looking for something like this for a long time,
@Sean When you get time please do have a lookThanks and sorry for multiple pings
-
Any ideas anyone?
-
its not the this module its MMM-OnScreenMenu, because when i click the turn the monitor off button on the menu, nothing happens
Any ideas how to fix this ?
-
Ok so i got it to work with MMM-Remote-Control, So now i am wondering how can you have multiple commands, like send multiple notifications to for ex. turn on and off the monitor? Any ideas? @Sean
-
Hi, Thanks for the guide. I got it working as IFTTT actually sends a webrequest to my mirror. I am having trouble with the syntax of NotificationTrigger. I already use that module to turn on my Mirror if my gate button is pushed and display an alert.
I would like to execute a script when the trigger OPEN_GATE is received. Here is my current config:
{ module: "MMM-NotificationTrigger", config: { triggers:[ { trigger: "PLAY_SOUND", fires: [ { fire:"USER_PRESENCE", payload: function(payload) { return false } }, { fire:"SHOW_ALERT", payload: function(payload) { return { type: "notification", title: "Porten", message: "Der er nogen ved porten!" } }, } ], }, ] } },Can anyone help with the syntax to add a trigger for “OPEN_GATE” notification that fires a script?
-
@MilkShake
Got it to work using:{ module: "MMM-NotificationTrigger", config: { useWebhook:true, triggers:[ { trigger: "PLAY_SOUND", fires: [ { fire: "USER_PRESENCE", payload: function(payload) { return false } } ] }, { trigger: "OPEN_GATE", fires: [ { fire: "OPENING_THE_GATE", exec: "sudo python /home/pi/open_gate.py" } ] }, ] } }, -
Hi guys,
thanks for the great guide @sean.
I am currently using it with MMM-Carousel w/ Slide Navigation and it works fine.
I am struggling to execute a command for another project. https://community.spiceworks.com/how_to/123787-raspberry-pi-powered-surveillance-camera-monitoring-display
The command is /etc/init.d/displaycameras {start|stop|repair}.
How can I execute the command via webhook?
I would be delighted to hear from you.
With kind regards
mopedmann
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
