@xIExodusIx Yes, there is an issue with it working alongside MMM-Pages. It seems that the methods I use to make it display interfere with MMM-Pages. MMM-Birthday doesn’t play well with others and tends to do its own thing, which doesn’t work with MMM-Pages. I’m working on a solution, but I haven’t had much time to spare lately.
Read the statement by Michael Teeuw here.
Posts
-
RE: Made a birthday module
-
RE: Made a birthday module
@plainbroke said in Made a birthday module:
@cgillinger
Works on the fireworks, but not on the MESSAGE part, It stays on the screen.
The fireworks came and went with the page it was supposed to.This annoys the hell out of me, if I get the time, I’ll try to set up a MM with MMM-Pages to test it here.
But to be clear:
The fireworks (and confetti?) works
But the message a) doesn’t show or b) shows, but does not get removed when MMM-Pages initiate page change? -
RE: Made a birthday module
@sdetweil said in Made a birthday module:
@cgillinger the other thing you can do is add support for the
suspend(){}
and resume{}methods in your modulename.js
suspend means being hidden
resume means being shown
Done, but haven’t tried it with MMM-Pages yet, a bit to busy at work to install and try it that way. But its in the repo now.
-
RE: Made a birthday module
After looking at MMM-pages I think the issue is that MMM-Birthday uses special positioning to ensure its celebrations are always visible (it needs to be on top of everything else to work properly). However, this means it doesn’t play nicely with MMM-Pages’ normal way of showing and hiding modules.
First suggestion: Add MMM-Birthday to MMM-Pages’ fixed modules:
config: {
fixed: [“MMM-page-indicator”, “MMM-Birthday”]
}This should tell MMM-Pages to leave MMM-Birthday alone and let it handle its own visibility, which should resolve the issue while maintaining all the celebration effects.
-
RE: Made a birthday module
@plainbroke Question: Have you tried running it without MMM-Pages? Im not familiar with the functionality of that module (but I’ll look into it)
-
RE: Made a birthday module
@plainbroke Im running Linux Mint and this is my config from config.js:
{ module: "MMM-Birthday", position: "middle_center", config: { birthdays: [ { name: "Eric", date: "01-26" }, { name: "Lisa", date: "07-01" }, { name: "Sigrid", date: "07-15" }, { name: "Lars", date: "07-17" }, { name: "Firas", date: "11-26" } ], fireworkDuration: "infinite", confettiDuration: "infinite" } },
This works for me. Mind sharing your config.js, to see if something is up there? Have you run npm install?
And you dont pick messages, the module picks for you (or you can just edit the correct language json and enter the same message. This is for instance the en.json for english:
{
“MESSAGES”: [
“🎉 Happy Birthday, {name}! 🎂”,
“🎈 Best wishes on your special day, {name}! 🎁”,
“🌟 Have a fantastic birthday, {name}! 🎊”,
“✨ Wishing you a wonderful birthday, {name}! 🎈”,
“🎊 May your day be filled with joy, {name}! 🌟”
]
}And to be clear: The module only activates on birthdays. Otherwise it just sits invisble.
-
Made a birthday module
I got inspired by MMM-Fireworks and decided to make a birthday module with fireworks and confetti. Its not a “birthday reminder” module, rather it sits quietly, and only erupts when someone has a birthday:
At that time a message is presented in the middle of the screen, fireworks and confetti is displayed.
Its somewhat multilingual (machine translated) and has a few different messages to pick from.
Things I haven’t solved: Currently there is a timer, that is per default set to “infinite” - because its of no use if its invisible. It would probably make sense to make some sortof “off button”, but my main display has no touch or input. So as of now it is as default showed until the day ends.
Here it is: https://github.com/cgillinger/MMM-Birthday
-
RE: Trying to make a "Incoming call" module for iphone
After extensive googling, it seems this isn’t possible (any longer). Damnit.
-
Trying to make a "Incoming call" module for iphone
Hi everyone,
I’m trying to set up real-time iPhone call notifications on my MagicMirror² display. I’ve set up a basic “PhoneCalls” module, that acts as an endpoint that can receive call information.
What I already have working:
- Module “listening”
- Server endpoint running on port 8282
- CSS styling for call display
- Module configured to show caller name and duration
- Backend ready to receive POST requests to
/phone-call
with this structure:
{
“deviceId”: “iphone1”,
“status”: “started” or “ended”,
“caller”: “Phone Number or Contact Name”
}
What I’m missing:
A way to get my iPhone to send these call status updates to the endpoint. Has anyone successfully implemented this? I’m particularly interested in:- Current methods for capturing iPhone call events
- Solutions for sending this data to the MagicMirror’s local endpoint
- Alternative modules or approaches if this isn’t the best way
My setup:
- MagicMirror²
- iPhone (latest iOS)
- Local network access between phone and mirror
Any guidance would be greatly appreciated!