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

    Vaughn

    @Vaughn

    0
    Reputation
    1
    Profile views
    7
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    Vaughn Unfollow Follow

    Latest posts made by Vaughn

    • RE: Time and Weather problems

      the gz file I did try to unzip, but this was on the PC, Win10, and this failed.

      Sis not know the code/way to unzip in the pi.

      Did read the notes, but then understanding is another thing. Missing a comer, is sooo important, but not seen, if not known it should be there. Your comment, ;more comers;, was the key thanks

      posted in Troubleshooting
      V
      Vaughn
    • RE: Time and Weather problems

      The issue was I used the wrong call for the key. This I think was as I had been trying so many, I had got stuck on this city.list.json file I could not open. the original code insists it is required for your location. I’m still not fully sure I have the correct location.

      To get mine:

      I first went to the MMM world map site.
      Here I saw a full map with all the cities and their weather locations. Mine was 35, I think, Ipswich
      I added this to my code. I also added the Lon and Lat, hoping they would take the correct info.

      The forecast looks OK, similar to that on the TV earlier, so maybe I got it correct.

      this is my working code:

      {
      module: “MMM-3Day-Forecast”,
      position: “bottom_left”,
      header: “3 Day forecast”,
      config: {
      location: “Ipswich”,
      locationID: “35”, //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
      api_key: “correct call for key”, // weatherbit
      //appid: “Old call for key”,
      lat: 52.062569,
      long: 1.233907,
      units: “M”,
      lang: “en”,
      interval: 900000
      }
      },
      Now the LocationID:“”, I got from a map. No idea where this was from, cant find it again, but think its OK. If it is wrong please let me know.

      Main area Of problem I had was in reading the city.list.json file. Does this need a program to read? as noting I found would open it. I presume, there is a program/code you can use that finds the locationID with just the city name or, Long/Lat numbers?

      this is the area I feel needs a little more explanation for novices like me please :-)

      Hope this helps Vaughn

      posted in Troubleshooting
      V
      Vaughn
    • RE: Time and Weather problems

      YES, as I have now fixed it. The MMM uses the api_key, where as the original forecast code used, appid. Sooo wrong syntax.

      Now working great.

      Many thanks to all for the help. Please how can I show this is sorted, noticed some of your posts show this.

      thanks Vaughn

      posted in Troubleshooting
      V
      Vaughn
    • RE: Time and Weather problems

      FAB :-)

      YES missed the comma at the top, after position, only excuses was I was hacking, so added a line and then did not know the one above needed the comma.

      Huge thanks

      Now onto the Weather.

      Last post said there was no position included. I thought that was the Log/Lat?

      I know other parts use a position code, I hoped this would be overwritten as I was including the coordinates, as i cannot find any way to read the ‘city.list.json.gz’ file as I am told in many parts this is where to find the location code.

      Nothing I have opens this, any ideas please.

      Thanks again Vaughn

      posted in Troubleshooting
      V
      Vaughn
    • RE: Time and Weather problems

      Sorry, did have the dateFormat in there, only as that didn’t work, looked at the timeFormate, to see if I could prove the concept.

      Thanks again Vaughn

      posted in Troubleshooting
      V
      Vaughn
    • RE: Time and Weather problems

      sdetweil

      Ok so I did read this config notes, but did not work. Just had another go.

      with my code, for the clock, as so:

      {
      module: “clock”,
      position: “top_left”
      //config: {
      //timeFormat: “12”, //“dddd, LL”, //“DD/MM/YYYY”,
      //showDate: false,
      //}
      },
      All works fine, only date in wrong format. Uncomenting the config, even if left blank inside, the mirror crashes.

      What am I missing please?

      thanks Vaughn

      posted in Troubleshooting
      V
      Vaughn
    • Time and Weather problems

      Hi. Just joined and first MagicMirrir project.

      Got all working and changed a few things needed, Now have My Calendar, BBC World News, but time and weather not working as needed.

      With the time and date, it shows the time as:

      Wednesday, August 5, 2020

      11:55

      with the code

      {

      module: “clock”,

      position: “top_left”

      },

      I want the more UK display

      Wednesday, 05 August, 2020

      11:55

      I tried adding a config { }, with the code using moment(“DD,MM,YYYY” ), but this just crashed the system, if out of the config {}, it still crashes.

      Never used this system before so very new.

      As for date. I added the module:

      {
      module: “MMM-3Day-Forecast”,
      position: “top_right”,
      header: “3 Day Weather”,
      config: {
      location: “Ipswich”,
      locationID: “Ipswich,uk”, //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
      appid: “**************************************”,
      //api_key: “**********************************”,
      lat: 52.062569,
      long: 1.233907,
      units: “M”,
      lang: “en”,
      interval: 900000,
      }

      It says its loading, but never displays, so almost working.

      I’m thinking here the location may be wrong. I took the coordinates from google maps.

      Not sure how to fix either of these, please, if you can, point me in the correct direction.

      Many thanks Vaughn

      posted in Troubleshooting
      V
      Vaughn