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

    TaylorTech22

    @TaylorTech22

    2
    Reputation
    411
    Profile views
    10
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    TaylorTech22 Unfollow Follow

    Best posts made by TaylorTech22

    • RE: config error somewhere, need help

      well, I figured it out… Thats what i get for not pasting the ENTIRE file into the syntax checker. The very first item of very first line had a ] before the text. dont know how it got there. good thing i copied my original config in a text editor. Thanks for all the help.

      posted in Troubleshooting
      T
      TaylorTech22

    Latest posts made by TaylorTech22

    • RE: config error somewhere, need help

      well, I figured it out… Thats what i get for not pasting the ENTIRE file into the syntax checker. The very first item of very first line had a ] before the text. dont know how it got there. good thing i copied my original config in a text editor. Thanks for all the help.

      posted in Troubleshooting
      T
      TaylorTech22
    • RE: config error somewhere, need help

      @strawberry-3.141 just delete whats in there and paste this?

      posted in Troubleshooting
      T
      TaylorTech22
    • RE: config error somewhere, need help

      @cowboysdude so whats the easy way to start over? may seem like a dumb question, but how to I remove current config and use default

      posted in Troubleshooting
      T
      TaylorTech22
    • RE: config error somewhere, need help

      @cowboysdude @strawberry-3-141 asked if my config file was named correctly

      posted in Troubleshooting
      T
      TaylorTech22
    • RE: config error somewhere, need help

      @strawberry-3.141 config/config. js is what I enter

      posted in Troubleshooting
      T
      TaylorTech22
    • RE: config error somewhere, need help

      @strawberry-3.141 yes i do i just didnt include in the copy-paste

      posted in Troubleshooting
      T
      TaylorTech22
    • config error somewhere, need help

      I ran it through a syntax validator and everything checks out with that, but I’m still getting the Please create a config file error. I was modifying the MMM-iFrame module and hit a wrong key and the config closed. after bringing it back open i saved and reloaded and now nothing. I cant figure it out. Thanks for any help. Here’s my config file:

      var config = {
              port: 8080,
              ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
                                                                     // 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"],
      
              language: "en",
              timeFormat: 12,
              units: "imperial",
      
      
      
       modules: [
                      {
                              module: "alert",
                      },
                      {
                              module: "updatenotification",
                              position: "top_bar"
                      },
                      {
                              module: 'MMM-GoogleMapsTraffic',
                              position: 'middle_center',
                              config: {
                              key: 'AIzaSyAQ7aXDzoA9IPfkxFmsl-V2HAat_vU0LhE',
                              lat: 41.5670065,
                              lng: -87.160403,
                              height: '300px',
                              width: '500px'
                              }
                      },
                      {
                              module: "clock",
                              position: "top_center",
                              timezone: "America/Chicago"
                      },
                      {
                              module: 'MMM-iFrame',
                              position: 'bottom_bar',
                              config: {
                                      url: ["https://app.actiontiles.com/panel/a8583a72-680a-47ea-8f51-7264b23617df"],
                                      updateInterval: 0.5 * 60 * 1000,
                                      width: "100%",
                                      height: "510px"
                              }
                      },
       {
                              module: "calendar",
                              header: "US Holidays",
                              position: "top_left",
                              config: {
                                      calendars: [
                                              {
                                                      symbol: "calendar-check-o ",
                                                      url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics"
                                              }
                                      ]
                              }
                      },
                      {
                              module: "compliments",
                              position: "lower_third"
                      },
                      {
                              module: "currentweather",
                              position: "top_right",
                              config: {
                                      location: "Portage",
                                      locationID: "4925006",  //ID from http://www.openweathermap.org/help/city_list.txt
                                      appid: "6666861a53a2f121c1e1f0f76accef00"
                              }
                      },
       {
                              module: "weatherforecast",
                              position: "top_right",
                              header: "Weather Forecast",
                              config: {
                                      location: "Portage, IN",
                                      locationID: "4925006",  //ID from http://www.openweathermap.org/help/city_list.txt
                                      appid: "6666861a53a2f121c1e1f0f76accef00"
                              }
                      },
                      {
                              module: 'MMM-Nest',
                              position: 'top_right',
                              config: {
                                      token:"c.iaFlhM5fBxDothVhOjhmeYA4ETBv0wCk175fAjgyfGZlXTvFGjOTdbzRG1zF117wqzduags7XigHcP4Lxb4t18g6YkVxmm7z0IbaHGYvLNFoO5zFgxe3k0Z3oDhsGL9LhBglQVohNeEUYQOc",
                                      displayType: 'visual',
                                      displayMode: 'nest'
                              }
                      },
        {
                              module: "newsfeed",
                              position: "top_bar",
                              config: {
                                      feeds: [
                                              {
                                                      title: "New York Times",
                                                      url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
                                              }
                                      ],
                                      showSourceTitle: true,
                                      showPublishDate: true
                              }
                      },
              ]
      
      };
      
      
      
      posted in Troubleshooting
      T
      TaylorTech22
    • RE: NOOB requesting some help...

      @strawberry-3.141 so if I want to change timezone or any other config, I need to write my own script for that particular config and place it in the master config/config.js file. I think I get it now. Thank you. Now let’s just hope I don’t get too many errors.

      posted in Troubleshooting
      T
      TaylorTech22
    • RE: NOOB requesting some help...

      @strawberry-3.141 I entered the API key into the weather module. Is there a different place to add it so it effects all modules?

      posted in Troubleshooting
      T
      TaylorTech22
    • NOOB requesting some help...

      So I got everything running fine. I can enter config/config.js. My question is probably quite simple. How do I edit the “default” modules, or any of them for that matter. In config/config.js it just says what module it is and where its located. But no way to enter that specific config file that I know of. I know there are many variables and configurations that can be changed, just don’t know how to get into the module to change it.
      I was able to change the weather API key and location, but that was in the main /magicmirror/config/config.js file. I tried /magicmirror/modules/ but after running ls theres no “clock” module I can enter config into. I’m sure its something easy. But I’m a supernoob with this. Thanks!

      posted in Troubleshooting
      T
      TaylorTech22