Read the statement by Michael Teeuw here.
New and confused.
-
@cowboysdude Sorry but you assume i know what you’re on about :-)))) what’s config.bak??? I have NO knowledge whatsoever of any kind of coding etc, my computer abilities stretch as far as writing a n e-mail and doing the odd letter. :-))).
Mick -
@Mykle1 Damn…you’re a genius :-))))))))))))))))))))))))))
-
@mickyas said in New and confused.:
what’s config.bak???
What @cowboysdude means is this:
When you have a working config.js file and BEFORE you’re going to edit it (ex adding another module) you should make a backup of that config.js file. Then you do your edit. If something goes awry, you have your backup file that you KNOW is working.Simply: Go to your working config.js file. Right click on it. Choose Copy. Right click somewhere else in that same window. Choose Paste. Rename the copy to config.bak as @cowboysdude instructed. Click Rename.
So now you’ve have a file named config.bak. If something goes wrong with your working config.js file, you can delete it and rename your backup to config.js. So, make a backup every time you successfully make additions to your config.js so you don’t have to start from square one.
I hope you’re writing this down. ;-)
-
@mickyas said in New and confused.:
Damn…
Oh, hey Mick,
When you want help with your config.js file you really should copy and paste it here so that we can look at it as @cowboysdude and I have both advised. Surely you know how to copy and paste! :-)
-
@Mykle1 said in New and confused.:
@mickyas said in New and confused.:
Damn…
Oh, hey Mick,
Surely you know how to copy and paste! :-)
I do, but since i haven’t worked out how to tether my laptop o my PI…it’s a slow laborious process :-))))))))))))))
Well, got my calendar and newsfeed changed and both up and running, just working on my weathermap. I’ll try and sort out copying it here :-))) thanks for the step by step, it worked perfectly first time :-)))
Mick -
ok here goes…this is what i have for the weathermap…
,
module: “currentweather”,
position: “top_right”,
config: {
location: “”,
locationID: “8224783”, //ID from http://www.openweathermap.org/help/city_list.txt
appid: “my api i.d. here”
}
},
{
In the location i had written “stanley” but it made no difference. the above is the same for module “weatherforecast”
mick -
Assuming your location ID is correct, and that your API key is valid and that you enter your API key precisely, inside the quotes, this will work for you. The location doesn’t matter as it is overridden by the locationID. Refer to the guide on adding a module. You can copy and paste what I’ve entered below.
{ module: "currentweather", position: "top_right", config: { location: "", locationID: "8224783", //ID from http://www.openweathermap.org/help/city_list.txt appid: "my api i.d. here" } },
-
@Mykle1 MINT…worked a treat, :-)))))))))))))) I don’t know what i had different, as i never changed anything else in the module other than the location i.d. and the api key!!! anyhoo, all up and running…next stop changing the ‘compliments’ :-)))) I owe you a pint :-)) (although i do have some home grown cider on the go ;-))
Mick -
@mickyas said in New and confused.:
I owe you a pint :-))
My favorite pint and my favorite pub to drink it in. Unfortunately, it’s 3,459 miles away from where I live, on the other side of the pond.
-
@Mykle1 Just a couple of questions…
- I noticed a previous post from you about the colour weather module you installed, is it available to clone???
- Can i have multiple modules running at once, or do i have to switch between them…i.e the Magic mirror, Alexa, remote control (which i’d really like to try) etc?
Thanks
Mick
This is crazy…the more i search, the more confused i become and the more i get distracted by the umpteen modules i’d like to have :-)))…first off is using my laptop to access the pi3 (its annoying trying to pull up pages etc on the pi).
P.S. just done it using VNC all working so far :-)))