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.

    how alert trigger

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    alertsmodulemqtt
    15 Posts 3 Posters 3.9k Views 3 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.
    • wishmaster270W Offline
      wishmaster270 Module Developer @fischi87
      last edited by

      @fischi87 Hi, you could i.e. connect the mirror to iobroker with my MMM-MQTTbridge module and send a notification to the alert module depending of the state change.

      F 1 Reply Last reply Reply Quote 2
      • F Offline
        fischi87 @wishmaster270
        last edited by

        @wishmaster270

        Thanks for ur reply. I See this already but i dont know how to send the trigger u know what i mean? Maybe do u have a example for me?

        Thanks

        wishmaster270W S 3 Replies Last reply Reply Quote 0
        • wishmaster270W Offline
          wishmaster270 Module Developer @fischi87
          last edited by wishmaster270

          @fischi87 Hi and sorry. I use node red instead of iobroker and do not have a glue of it.
          You will need a MQTT integration in iobroker, a MQTT broker and the MQTT module in the mirror.
          If the device changes state iobroker gets notice of it and sends a message to a MQTT topic.
          You can subscribe to this topic with the MQTT module in the mirror and initiate a notification with it.
          The alert module can display the message in the notification in the result.

          1 Reply Last reply Reply Quote 0
          • wishmaster270W Offline
            wishmaster270 Module Developer @fischi87
            last edited by

            @fischi87 Sorry, do not know where I read iobroker but Home Assistant has a MQTT integration, too.

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

              @fischi87 do you mean send notification? for send trigger?

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              F 1 Reply Last reply Reply Quote 0
              • F Offline
                fischi87 @wishmaster270
                last edited by

                @wishmaster270

                iobroker have also a MQTT instance. so maybe I will give it a try. but the readme looks difficult :-)

                1 Reply Last reply Reply Quote 0
                • F Offline
                  fischi87 @sdetweil
                  last edited by

                  @sdetweil

                  like I wrote I want see a alert in my mirror that shows me the Washer finished washing. the question is how I can trigger the alert or maybe a notification, is also a idea. when I think about. how can I do it, do u have a idea?

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

                    @fischi87 @wishmaster270 gave you the answer with his MQTTBridge module

                    hears the mqtt message and can send a notification to the alert module.

                    you configure both

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    F 1 Reply Last reply Reply Quote 0
                    • F Offline
                      fischi87 @sdetweil
                      last edited by fischi87

                      @sdetweil

                      hello again, I connected now this modul with my broker but how can I send a notification to the alert model? this I don’t understand right now. maybe u or someone else can help me in this topic please?

                      thanks

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

                        @fischi87 yeh it’s a little bit of thinking, as it is two part

                        starting here
                        Screenshot_20240218_144659_Chrome.jpg

                        1. define the mqtt topic and an arbitrary ‘command’ word to execute when the topic is heard (mqttHook)

                        2. define the ‘command’ that has the notification and the payload (mqttNotiCommands)

                        and from the alert module doc, start here
                        Screenshot_20240218_145825_Chrome.jpg

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        F 2 Replies Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • 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