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 to go to the IP address on the mirror and see the module errors in the browser console?

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    3 Posts 3 Posters 677 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.
    • L Offline
      Laz
      last edited by

      I understand the stupid question…)
      I have remote access to the mirror via VNC on raspberries.
      I need to look at and save errors for the module developer in the browser console.
      How to do this?
      I go to the mirror through VNC, open the browser on raspberries with the mirror running, open the console there, but it’s empty there.
      I try to enter the IP address in the browser on my PC, but this address does not open.

      S BKeyportB 2 Replies Last reply Reply Quote 0
      • S Offline
        sdetweil @Laz
        last edited by sdetweil

        @Laz on the pi open a terminal window

        type
        hostname
        and
        ip addr

        the first will give you the local network name of that pi. (default is raspberry)

        console. on whatever system has the browser open, do ctrl-shift-i to.open the developers window

        then the messages are on the console tab
        you can use the filter field to get just messages related at a specific module, by entering a unique part of its name.

        I use ssh, never VNC. I can use the bitvise or winscp clients on windows to give me an ssh terminal window, and also a file manager view of the pi file system to double click to edit files. I use notepad++ or visual studio code as the system text file editor.

        Mac and Linux can give u the remote file system view as well.

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • BKeyportB Offline
          BKeyport Module Developer @Laz
          last edited by

          @Laz As all of my systems are behind a firewall - I’ve opened the Mirror to “public” access by using the config of

          var config = {
          	address: "0.0.0.0",
          	port: 8080,
          	ipWhitelist: [],
          ... 
          

          then, I simply load the mirror in my main computer’s browser with http://mirror:8080 and use the devtools of my browser to view the errors and such.

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

          1 Reply Last reply Reply Quote 2
          • 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