Read the statement by Michael Teeuw here.
Show SMS text message on Mirror
-
Hi, New to this forum so a general question.
I would like to show SMS messages on my mirror, fed from my local server. My server is apache, php & wordpress. The functionality works fine but for some messages I would like to forward the SMS and display on the mirror.
Is this possible and if so how to approach it?
I have looked at MM-iFrame but cannot get that to work.
Any suggestions welcome. -
-
@broberg Thanks for that. I did see the module, but as I understand it this will just notify that there is a message , rather than display it?
The intended use I have is to display the message because the viewer may not be able to use a mobile phone.
I can send the message to my website and maybe forward it to the mirror from there perhaps using the wordpress api. This is much more complicated though. -
@hawkesley reading the readme file tells you that you can set
displayMessageto true, ie display the message is possible. Install it and try it. Eitherway you need some app like pushbullet to forward the sms text to other devices. -
@broberg Ok. Will do if pushB is available for iphone.
Also just discovered MM-syslog which looks promising if it can use an http get i guess? -
https://www.pushbullet.com, yes works with ios.
The syslog module works simply enough via http get,
-
Thanks will try both.
-
@hawkesley
Trying MMM-syslog but cant get access.
This device is not allowed to access your mirror.
Please check your config.js or config.js.sample to change this.
I modified the whitelist as follows :e-mail:port: 8080, ipWhitelist: ["::fff:0.0.0.0/1", "::fff:128.0.0.0/2", "::fff:192.0.0.0/3", "::fff:224.0.0.0/4", "127.0.0.1", "::ffff:192.168.1.1/24", "::ffff:192.168.1.109","::ffff:127.0.0.1", "::1"],The http is : http://192.168.1.112:8080/syslog?type=normal&message=Test Message
Any thoughts appreciated. -
@hawkesley did you insert exactly what was showing in the error to the whitelist?
-
To test, if MMM-syslog suits your requirements you could simply set
ipWhitelist: [],which will allow all connections. In addition you might want to check this thread. In your case you could try to add"192.168.1.1/24"to support IPv4 -
@yawns Thanks, will look at that.
In reply to strawberry I inserted this “::ffff:192.168.1.109”,
Access denied on CLI was 192.168.1.109 -
@hawkesley Hi,
I tested ipW [] and that worked for MMM-syslog.
I changed the ipW as suggested with “192.168.1.1/24” and that also works.
So, thanks very much both.
My remaining question is if I can send the message to MMM-syslog from outside my local network with this ipW?
I will try later today. -
If you set up some port forwarding in your router and experiment with ipWhitelist that should work
-
@hawkesley said in Show SMS text message on Mirror:
I tested ipW [] and that worked for MMM-syslog
I install phone-notification-mirror as well. AlsoI installed MMM-syslog which working ok.
http://MY-MIRROR-ip-ADRRESS/syslog?type=INFO&message=TEST, showing up on screen.
but when I add module: phone_notification to config.js, I get only black screen
my config:{ module: 'phone_notification', position: 'bottom_left', header: 'Phone Notifications', config:{ accessToken: "......token.......", numberOfNotifications: 5, displayNotificationIcon: true, displayMessage: false, displayCount: false, alert: false, fade: true, maxCharacters: 50 } }, -
@michael24h check you have the folder for phone notifications named correctlry in modules folder. Balck screen happened a couple of times for me and this was the problem.
-
yea, thats was problem. I notice after post question
-
Still no notification receive
how i can fix the issue?
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