Has anyone got any idea or a working module to display calendars events as a compliment?
Read the statement by Michael Teeuw here.
Posts
-
Compliment from calendar event
-
RE: Google Calendar Reminders
@sdetweil is it not possible to integrate the CALENDAR _EVENT notification into another module since it’s already done to fetch the weather based on event location. I came across a module compliment-plus, it uses notification from other modules to display compliments based on the notifications received. Unfortunately, not from a programming background so kinda stuck in doing it.
Aim: to display calendar events as compliments.
Would be grateful if you could help me out. -
RE: Tell weather, date & time automatically at a specific time.
@suvan no… just ifttt, notification trigger, and google tts…
You will need to go for port forwarding, I went for Dataplicity(a service similar to port forwarding to open my 8080 port).
I have followed this particular link and followed the steps, this is the link to follow for the steps of
You give it a try and let me know if you need more help. The steps here are pretty clear.
Note: 1. ifttt used to be free but now it’s paid. You can use upto 5 applets for free and if you just want it to tell you the time and I guess the free tier is okay.
2. Google tts, you will need to enable billing in your project, although you won’t be charge for that, there is an api counter in that particular module. -
RE: Tell weather, date & time automatically at a specific time.
@suvan I have a set up exactly as you have described. I’m using ifttt to send an alert or notification at a specific time and MMM-Googletts module reads out the messages which I have preset in the ifttt. You can even tell if when it’s going to rain or when there’s a breaking news.
-
RE: Tell weather, date & time automatically at a specific time.
@suvan you will need to go deep with ifttt+webhook+Google tts (https://forum.magicmirror.builders/topic/10917/guide-control-mm-via-google-home?_=1630403716372)
-
RE: Module status
{ "bridge": { "name": "Homebridge 7481", "username": "0E:4A:31:A4:44:11", "port": 51891, "pin": "740-38-278" }, "accessories": [], "platforms": [ { "name": "Config", "port": 8581, "platform": "config", "sudo": true, "log": { "method": "native", "path": "/var/lib/homebridge/homebridge.log" }, "sessionTimeout": 28800 }, { "platform": "cmdSwitch2", "name": "Raspberry Pi", "switches": [ { "name": "Mirror", "on_cmd": "vcgencmd display_power 1", "off_cmd": "vcgencmd display_power 0", "state_cmd": "tvservice -s", "manufacturer": "Raspberry Pi Foundation", "model": "Raspberry Pi 4 Model B" } ] } ] }
This is my home bridge configuration file. I use homebridge to connect the magicmirror to my iOS home app and control it using my phone. To implement this mainly 3 things is needed, the “on command” ; “the off command” and “the command to get the status”
When I tried this using a module I used the following config, using mmm-strava as an exampleOn_cmd = curl http://192.168.29.202:8080/remote?action=SHOW&force=true&module=MMM-Strava Off_cmd=http://192.168.29.202:8080/remote?action=HIDE&force=true&module=MMM-Strava
I am not able to get the state command because I couldn’t find any so my set up is incomplete.
-
Module status
I was trying to implement module controls using homebridge running on a pi and magic mirror. So far using the mmm-HomeKit module, I have been able to implement the magicmirror display controls. When I tried that with the modules I’m not able to get the status of the module if it is hidden or shown. Can anyone tell me if there’s any curl command to get the status.
-
Google tts
Has the google tts module stoped working or is it just me. I’m having trouble getting it to work. Here is my debug
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'start' ] 2 info using npm@6.14.11 3 info using node@v10.24.0 4 verbose run-script [ 'prestart', 'start', 'poststart' ] 5 info lifecycle magicmirror@2.13.0-develop~prestart: magicmirror@2.13.0-develop 6 info lifecycle magicmirror@2.13.0-develop~start: magicmirror@2.13.0-develop 7 verbose lifecycle magicmirror@2.13.0-develop~start: unsafe-perm in lifecycle true 8 verbose lifecycle magicmirror@2.13.0-develop~start: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/pi/MagicMirror/node_modules/.bin:/home/pi/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games 9 verbose lifecycle magicmirror@2.13.0-develop~start: CWD: /home/pi/MagicMirror 10 silly lifecycle magicmirror@2.13.0-develop~start: Args: [ '-c', 10 silly lifecycle 'DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js' ] 11 info lifecycle magicmirror@2.13.0-develop~start: Failed to exec start script 12 verbose stack Error: magicmirror@2.13.0-develop start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js` 12 verbose stack spawn ENOENT 12 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:48:18) 12 verbose stack at ChildProcess.emit (events.js:198:13) 12 verbose stack at maybeClose (internal/child_process.js:982:16) 12 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5) 13 verbose pkgid magicmirror@2.13.0-develop 14 verbose cwd /home/pi/MagicMirror 15 verbose Linux 5.10.17-v7l+ 16 verbose argv "/usr/bin/node" "/usr/bin/npm" "start" 17 verbose node v10.24.0 18 verbose npm v6.14.11 19 error code ELIFECYCLE 20 error syscall spawn 21 error file sh 22 error errno ENOENT 23 error magicmirror@2.13.0-develop start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js` 23 error spawn ENOENT 24 error Failed at the magicmirror@2.13.0-develop start script. 24 error This is probably not a problem with npm. There is likely additional logging output above. 25 verbose exit [ 1, true ]
I have zero knowledge to debug this issue, someone please look into this and let me know of a solution if there is any.
Thanks -
RE: mmm assistant mk2
@reddyman im surprised too, the github page has gone dark… about the assistant mk2 package, i have the zip file that i downloaded earlier, and i would be happy to share it with you! and no… i have no clue of any back ups… cheers
-
RE: mmm assistant mk2
@reddyman well here are the steps for downgrading
- Go to “Commits”
- Click the “<>” icon to the right of the desired commit
- Select Clone or Download
- Download ZIP
any old version will be fine(not too old) i used may26,2020 version…