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

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

Scheduled Pinned Locked Moved Development
7 Posts 6 Posters 1.4k Views 6 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.
  • U Offline
    User_1234
    last edited by Jan 9, 2020, 4:55 PM

    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 S 3 Replies Last reply Jan 9, 2020, 5:04 PM Reply Quote 0
    • S Offline
      sdetweil @User_1234
      last edited by Jan 9, 2020, 5:04 PM

      @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

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • E Offline
        ember1205 @User_1234
        last edited by Jan 10, 2020, 4:05 PM

        @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 Jan 13, 2020, 10:28 AM Reply Quote 0
        • S Offline
          Stoffbeuteluwe Project Sponsor @User_1234
          last edited by Jan 10, 2020, 6:00 PM

          @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
          • B Offline
            BKeyport Module Developer
            last edited by Jan 10, 2020, 10:13 PM

            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.

            The "E" in "Javascript" stands for "Easy"

            ? 1 Reply Last reply Jan 13, 2020, 10:49 AM Reply Quote 0
            • U Offline
              User_1234 @ember1205
              last edited by Jan 13, 2020, 10:28 AM

              @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
              • ? Offline
                A Former User @BKeyport
                last edited by Jan 13, 2020, 10:49 AM

                @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
                1 / 1
                • First post
                  4/7
                  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