MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. doubleT
    3. Topics
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    D
    Offline
    • Profile
    • Following 0
    • Followers 4
    • Topics 4
    • Posts 176
    • Groups 1

    Topics

    • D

      MMM-Nixie – Nixie Tube Clock for your MagicMirror

      Watching Ignoring Scheduled Pinned Locked Moved Fun & Games
      8
      5 Votes
      8 Posts
      6k Views
      V
      Good looking. I would definitely use it when i wouldn’t have a real nixie clock next to it =)
    • D

      call API (no CORS), used to do it with php proxy

      Watching Ignoring Scheduled Pinned Locked Moved Development
      12
      0 Votes
      12 Posts
      12k Views
      D
      Sorry, but that doesn’t work. (It throws response.statusCode = 403, forbidden.) And it’s not surprising. As I said, the API source server doesn’t allow CORS and is not serving JSONP. So JavaScript calls are blocked. There are a lot of fine tools for specific jobs, XMLHttpRequest, fetch, request, fs, …, and they work if CORS is set up correctly on the server, allowing you access, or it’s giving you JSONP to handle, but PHP’s file_get_contents is the hammer in your toolbox. If everything else fails, you still can throw this at your problem (provided you have allow_url_fopen). And I know, it’s not always wise to use (or even throw) a hammer, access might be forbidden (to scripts) for a reason. But if you can read it in your browser, PHP can read, stringify and proxy it to your JS.
    • D

      Mirror (2015) with PIR for the screen

      Watching Ignoring Scheduled Pinned Locked Moved Show your Mirror
      4
      8 Votes
      4 Posts
      5k Views
      D
      Thanks, guys. It’s a 27" screen.
    • 1 / 1