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.

    change pages using webhook (POST or GET)?

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    3 Posts 2 Posters 370 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.
    • M Offline
      mvrlogins
      last edited by

      I have MMM-pages setup with 2 pages

      1 page shows all the time.

      I’d like to show the second page only when called using a HTTP POST or GET from another device. (doorbell camera video , when someone rings the doorbell)

      And then only show page 2 for a short, fixed amount of time before reverting back to page 1

      Any help/suggestions will be most gratefully received.

      Thanks

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

        @mvrlogins for the special page, you could use the hiddenpages option.m
        it is not timed tho.

        the (named) hidden page would only be shown via notification

        as for the webhook, i think you would have to create a small module to handle that

        in the 3rd party modules list there is a moduie that supports webhook to alert (by notification)

        https://github.com/PJTewkesbury/MMM-WebHookAlerts

        so you could change the notification to be to pages

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @mvrlogins you can also use my new
          MMM-CurlToNotification module

          https://github.com/sdetweil/MMM-CurlToNotification

          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