MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. Fr8Trayne
    3. Posts
    F
    • Profile
    • Following 0
    • Followers 0
    • Topics 9
    • Posts 38
    • Best 6
    • Controversial 0
    • Groups 0

    Posts made by Fr8Trayne

    • RE: Credentials being blocked?
      address: "0.0.0.0", // Address to listen on, can be:
      	                      // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
      	                      // - another specific IPv4/6 to listen on a specific interface
      	                      // - "", "0.0.0.0", "::" to listen on any interface
      	                      // Default, when address config is left out, is "localhost"
      	port: 8080,
      	//ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.0.42", "::ffff:192.168.0.50"], // Set [] to allow all IP addresses
      	ipWhitelist:[],
      	                                                       // or add a specific IPv4 of 192.168.1.5 :
      	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
      	                                                       // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
      	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
      

      and yes the UI is on the same machine.

      posted in Troubleshooting
      F
      Fr8Trayne
    • RE: Credentials being blocked?

      This is what I’m getting

      Electron Security Warning (Insecure Content-Security-Policy) This renderer process has either no Content Security
            Policy set or a policy with "unsafe-eval" enabled. This exposes users of
            this app to unnecessary security risks.
       
      For more information and help, consult
      https://electronjs.org/docs/tutorial/security.
       This warning will not show up
      once the app is packaged.
      

      and this from the logs.

      roboto.css:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
      main.css:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
      socket.io.js:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
      config.js:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
      defaults.js:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
      nunjucks.min.js:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
      defaultmodules.js:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
      translations.js:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
      module.js:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
      vendor.js:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
      logger.js:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
      class.js:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
      translator.js:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
      loader.js:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
      socketclient.js:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
      main.js:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
      

      Can you tell from this information? If not I can throw my whole config in and have you take a look and yes I am a newb at this. I’ve learned a lot but this part is a bit over my head at the moment. Google was not my friend as I couldn’t understand what to do with the information given. It seems like the only modules that aren’t working are those that require credentials like the MMM-Fitbit2 and MMM-Airtable

      posted in Troubleshooting
      F
      Fr8Trayne
    • Credentials being blocked?

      So I have many great modules on my Mirror that are working, but there are some that just sit in the loading state. I’ve followed each installation to a T, but nothing seems to be going through. I took a glance at the logs and it looks like there is a web security things not allowing those modules to fetch the data. I read somewhere that Electron has a web preference for security that needed to turned off? Is this a thing? If so, any tips?

      In any case not sure why none of these are updating.

      posted in Troubleshooting
      F
      Fr8Trayne
    • RE: Updating Python to > 3.5.3

      Thanks I had googled it and tried about 5 methods to no avail. I’ll give this a go and see if it works.

      posted in Troubleshooting
      F
      Fr8Trayne
    • Updating Python to > 3.5.3

      I’m currently testing out the MMM-Fitbit2 and I’ve got everything in place except the actual authorization. It’s saying the python on my pi is too old (3.5.3) How do I go about updating it to 3.6.0 or later?

      posted in Troubleshooting
      F
      Fr8Trayne
    • RE: Monitor going to sleep

      Thanks guys the first method worked great!

      posted in Troubleshooting
      F
      Fr8Trayne
    • Monitor going to sleep

      I just updated the Raspberry Pi and it’s started going to sleep after 15 mins or so. How do I shut this off?

      posted in Troubleshooting
      F
      Fr8Trayne
    • RE: MMM-Fitbit2

      @Vizulize no problem. I’m great at finding the problems 😉. I’ll have to connect directly to the Raspberry pi and try again. I’ll let you know how it goes.

      posted in Health
      F
      Fr8Trayne
    • RE: MMM-Fitbit2

      @Vizulize So I clicked continue and it gets stuck at Opening web browser… I’ve tried doing it a few times now, but it’s not moving forward. Advice?

      posted in Health
      F
      Fr8Trayne
    • RE: MMM-Fitbit2

      Ah thank you! I was confused there. I’ll give it another go and let you know how it turns out.

      posted in Health
      F
      Fr8Trayne
    • 1
    • 2
    • 3
    • 4
    • 1 / 4