• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 10.4k 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 @broberg
    last edited by Mar 20, 2017, 11:11 AM

    @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
    • B Offline
      broberg Project Sponsor
      last edited by Mar 20, 2017, 11:15 AM

      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 Mar 20, 2017, 11:17 AM

        Thanks will try both.

        H 1 Reply Last reply Mar 20, 2017, 12:45 PM Reply Quote 0
        • H Offline
          hawkesley @hawkesley
          last edited by yawns Mar 20, 2017, 12:47 PM Mar 20, 2017, 12:45 PM

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

          S 1 Reply Last reply Mar 20, 2017, 12:57 PM Reply Quote 0
          • S Offline
            strawberry 3.141 Project Sponsor Module Developer @hawkesley
            last edited by Mar 20, 2017, 12:57 PM

            @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
            • Y Offline
              yawns Moderator
              last edited by Mar 20, 2017, 12:57 PM

              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 Mar 20, 2017, 1:50 PM Reply Quote 0
              • H Offline
                hawkesley @yawns
                last edited by Mar 20, 2017, 1:50 PM

                @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 Mar 20, 2017, 2:07 PM Reply Quote 0
                • H Offline
                  hawkesley @hawkesley
                  last edited by Mar 20, 2017, 2:07 PM

                  @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
                  • Y Offline
                    yawns Moderator
                    last edited by Mar 20, 2017, 2:20 PM

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

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      michael24h
                      last edited by yawns Mar 22, 2017, 1:26 PM Mar 21, 2017, 8:47 PM

                      @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 Mar 22, 2017, 1:08 PM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        9/17
                        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