Read the statement by Michael Teeuw here.
need help with config file
-
@dmrowe84 said in need help with config file:
I’m in the middle of wiping and reflashing it now,
Don’t wipe and reflash every time a module doesn’t work. Most likely you could have gotten help here on the forums. So, ask first before you take that step again. :-)
was wondering if I could contact you with any questions of it still doesn’t work after this reflash, or with you had any advice?
Sure, this is the place to ask your questions and get answers. If I can’t help you, there are many helpful people here that can, and will. :-)
-
This post is deleted! -
@dmrowe84 said in need help with config file:
thank you for your help in advance!
I don’t use those modules but this should help you
location:
requires state and country, or city and country, something like that
You have a URL in theappid:
option. Just put in the long ID number, not the entire url.
Put yourlocationID
in your currentweather also. I believe this overrideslocation
anyway
Make sure your numbers are correct! Sample below:location: "New York,America", locationID: "12345", //Location ID from http://openweathermap.org/help/city_list.txt appid: "abcde12345abcde12345abcde12345ab"
You can delete your last post that contains your ID’s. At the very bottom right of the post are three vertical dots. Click on that and choose delete
-
@Mykle1 thanks to you I got it to work!
I put in the appid, city code, and [town, country]
I did a little snooping in the mod folder and found a line in the weather module folder that required an appid as well, I put it in there, not sure if that was useful or not.
However, now that I have the weather pulled up, I just need to figure out how to get the correct temps on there, they are about 40° off.
-
@dmrowe84 check if you have set your units correct
-
@dmrowe84 said in need help with config file:
I did a little snooping in the mod folder and found a line in the weather module folder that required an appid as well, I put it in there, not sure if that was useful or not.
It wasn’t. The module defaults are overridden by the config.js settings. Think of it this way. You can change the behavior of the module all you want through the config.js file WITHOUT altering the module itself. Altering the module file itself is not recommended because you will lose any changes there when an update to the module is necessary. So, having your appid in the config.js is all that you need.
-
That’s exactly what was wrong with it. I went back into the config folder, and at the top I saw the word metric laughing at me.