MagicMirror Forum

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

    Is there any command line that I can send an alert?

    Development
    6
    7
    664
    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.
    • U
      User_1234 last edited by

      I’m new to programming and I’m trying to create a magic mirror. Do i have to create a .js to execute the alert?

      S E Stoffbeuteluwe 3 Replies Last reply Reply Quote 0
      • S
        sdetweil @User_1234 last edited by

        @User_1234 you should use one of the notification modules see the 3rd party list

        https://github.com/MichMich/MagicMirror/wiki/3rd-party-modules
        then u can use a web browser or commandline curl to send notifications for actions,

        Sam

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • E
          ember1205 @User_1234 last edited by

          @User_1234 said in Is there any command line that I can send an alert?:

          I’m new to programming and I’m trying to create a magic mirror. Do i have to create a .js to execute the alert?

          What kind of alert? What is it that you’re trying to accomplish?

          U 1 Reply Last reply Reply Quote 0
          • Stoffbeuteluwe
            Stoffbeuteluwe Project Sponsor @User_1234 last edited by

            @User_1234 Hi, the module MMM-RemoteControl is able to send alerts…you can do this from your phone or tablet to your mirror.

            1 Reply Last reply Reply Quote 0
            • BKeyport
              BKeyport Module Developer last edited by

              I also would like to be able to trigger alerts from outside the MM eco-system… For example - MMM-Buttons doesn’t work for me due to lack of pull resistors on my switches, and the lack of support for internal ones, as well as having lights that I’d like to light up for various button pushes and statuses.

              I’d love to use a python script to set up the buttons functionality instead of MMM-Buttons, and trigger actions within MM.

              Remember the "E" in javascript is for "easy"

              ? 1 Reply Last reply Reply Quote 0
              • U
                User_1234 @ember1205 last edited by

                @ember1205
                I’m trying to show an alert if I forget something on or the house is on fire

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

                  @BKeyport
                  possble. some modules like RemoteControl and notificationTrigger, can receive HTTP Request. If your script can send custom HTTP request(to localhost or internal IP), those modules can control other modules.

                  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