MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    MMM-NotificationReceived

    Development
    3
    7
    427
    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.
    • ?
      A Former User last edited by

      MMM-NotificationReceived

      Simple module for developping.
      It allow to show notification send by modules.
      Notification is shown in dev console launched by npm start dev

      [Notification][MMM-Spotify] SPOTIFY_CONNECTED 
      [Notification][MMM-Spotify] SPOTIFY_UPDATE_PLAYING true
      [Notification][MMM-Spotify] SPOTIFY_UPDATE_DEVICE Object
      

      Of course, you can choose the notification sender and see Object / Array by developing it

      1 Reply Last reply Reply Quote 2
      • M
        mmmmh Project Sponsor last edited by

        @Bugsounet Great, this opens many options. I may be in the minority but for me a bridge from notifications to MQTT would be awesome.

        I use a workaround where external events can turn modules on/off. This is done by bridging from MQTT via Node RED to MMM-Remote-Control’s API.

        bhepler 1 Reply Last reply Reply Quote 0
        • ?
          A Former User last edited by

          sure, simple module but it help 😉

          1 Reply Last reply Reply Quote 0
          • bhepler
            bhepler Project Sponsor @mmmmh last edited by

            @mmmmh - I don’t know if it will help you, but I use MQTT in my MMM-WeasleyClock module. It only subscribes, but adding publish capability shouldn’t be terribly difficult. I was considering adding that feature before I achieved what I was going for with the server configuration.

            I used mqtt.js and it wasn’t all that difficult.

            M 1 Reply Last reply Reply Quote 0
            • M
              mmmmh Project Sponsor @bhepler last edited by

              @bhepler Interesting take on the location tracking. I created something similar where I use geofencing apps that support webhooks. A simple php script converts the calls to MQTT payloads and a small web page acting as an MQTT over websockets client shows icons depending on the person and the location. In my MagicMirror display said web page is embedded using an iframe module.

              I also use OwnTracks but for me it is not as reliable as other apps.

              bhepler 1 Reply Last reply Reply Quote 0
              • bhepler
                bhepler Project Sponsor @mmmmh last edited by

                @mmmmh - No argument here. OwnTracks is great in that it’s open source and free. It’s buggy as hell though. If you have a recommendation for something more reliable, I’m all ears. I picked OwnTracks solely based on the Instructable that inspired the Weasley Clock.

                M 1 Reply Last reply Reply Quote 0
                • M
                  mmmmh Project Sponsor @bhepler last edited by

                  @bhepler I use Geofency. You have to define the areas in the app and enter webhook addresses for entry and exit events. In my case, a JSON payload is posted to a self-hosted webserver (with encryption and basic auth).

                  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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                  This forum is using NodeBB as its core | Contributors
                  Contact | Privacy Policy