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.

    sending notification on external event

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    7 Posts 2 Posters 185 Views 2 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.
    • C Offline
      chrga
      last edited by

      I just learned that via MMM-remote, I should be able to do it, but while I get success in the browser when entering an API url, the notification does not show up in https://github.com/darickc/MMM-BackgroundSlideshow and also does not show in the logs.
      So maybe the issue is on the side of the receiving module!?

      Then @sdetweil your suggestion will not work either, as it basically does the same as MMM-remote, is that right?

      S 2 Replies Last reply Reply Quote 0
      • S Offline
        sdetweil @chrga
        last edited by sdetweil

        @chrga MagicMirror has to be configured to allow remote access

        In config.js

        address:”0.0.0.0”,
        ipWhitelist:[],
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        C 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @chrga
          last edited by

          @chrga also, for debugging, install
          MMM-ViewNotifications

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • C Offline
            chrga @sdetweil
            last edited by

            @sdetweil yes, this is allowed, as I use client server environment, but thanks, good point

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @chrga
              last edited by sdetweil

              @chrga ok. Should be nothing to stop it

              Did you try my Module and the examples on the alert module

              did you add the ViewNotifications module so you could see it being broadcast

              The structure of the notification is exactly the same as if you were coding it in a running module

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • 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