Read the statement by Michael Teeuw here.
Show SMS text message on Mirror
-
@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 } },