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