MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Show SMS text message on Mirror

    Scheduled Pinned Locked Moved General Discussion
    17 Posts 5 Posters 12.2k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      hawkesley
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • brobergB Offline
        broberg Project Sponsor
        last edited by

        https://github.com/ronny3050/phone-notification-mirror

        Maybe?

        H 1 Reply Last reply Reply Quote 0
        • H Offline
          hawkesley @broberg
          last edited by

          @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.

          brobergB 1 Reply Last reply Reply Quote 0
          • brobergB Offline
            broberg Project Sponsor @hawkesley
            last edited by

            @hawkesley reading the readme file tells you that you can set displayMessage to 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.

            H 1 Reply Last reply Reply Quote 0
            • H Offline
              hawkesley @broberg
              last edited by

              @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?

              1 Reply Last reply Reply Quote 0
              • brobergB Offline
                broberg Project Sponsor
                last edited by

                https://www.pushbullet.com, yes works with ios.

                The syslog module works simply enough via http get,

                1 Reply Last reply Reply Quote 0
                • H Offline
                  hawkesley
                  last edited by

                  Thanks will try both.

                  H 1 Reply Last reply Reply Quote 0
                  • H Offline
                    hawkesley @hawkesley
                    last edited by yawns

                    @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.

                    strawberry 3.141S 1 Reply Last reply Reply Quote 0
                    • strawberry 3.141S Offline
                      strawberry 3.141 Project Sponsor Module Developer @hawkesley
                      last edited by

                      @hawkesley did you insert exactly what was showing in the error to the whitelist?

                      Please create a github issue if you need help, so I can keep track

                      1 Reply Last reply Reply Quote 0
                      • yawnsY Offline
                        yawns Moderator
                        last edited by

                        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

                        H 1 Reply Last reply Reply Quote 0
                        • H Offline
                          hawkesley @yawns
                          last edited by

                          @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

                          H 1 Reply Last reply Reply Quote 0
                          • H Offline
                            hawkesley @hawkesley
                            last edited by

                            @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.

                            1 Reply Last reply Reply Quote 0
                            • yawnsY Offline
                              yawns Moderator
                              last edited by

                              If you set up some port forwarding in your router and experiment with ipWhitelist that should work

                              1 Reply Last reply Reply Quote 0
                              • michael24hM Offline
                                michael24h
                                last edited by yawns

                                @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
                                					}
                                		},
                                
                                H 1 Reply Last reply Reply Quote 0
                                • H Offline
                                  hawkesley @michael24h
                                  last edited by

                                  @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.

                                  1 Reply Last reply Reply Quote 0
                                  • michael24hM Offline
                                    michael24h
                                    last edited by

                                    yea, thats was problem. I notice after post question

                                    1 Reply Last reply Reply Quote 0
                                    • michael24hM Offline
                                      michael24h
                                      last edited by

                                      Still no notification receive
                                      how i can fix the issue?

                                      1 Reply Last reply Reply Quote 0

                                      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
                                      • 1 / 1
                                      • First post
                                        Last post
                                      Enjoying MagicMirror? Please consider a donation!
                                      MagicMirror created by Michael Teeuw.
                                      Forum managed by Sam, technical setup by Karsten.
                                      This forum is using NodeBB as its core | Contributors
                                      Contact | Privacy Policy