Read the statement by Michael Teeuw here.
unable to change modules details
-
I’m trying to change calendar, news feed modules and enable weather forecast modules
i tried modifying config.js file, present in config directory.
but it did not worked for mecan anyone help me with this
-
@yrayapati tell us more… what do you want to change, what have you done, what didn’t work…
show your config
here on the forum put 3 backtick marks (to the left of the number 1) before and after the info you post from config.js -
@sdetweil
Thanks for your reply,
below are the change that i have made to config.jsmodule: "calendar", header: "US Holidays", position: "top_left", config: { calendars: [ { symbol: "calendar-check", url: "webcal://www.calendarlabs.com/ical-calender/ics/33/India_Holidays.ics" } ] } },
-
@yrayapati said in unable to change modules details:
if u put that in a browser, does it download the ICS file?
https://www.calendarlabs.com/ical-calender/ics/33/India_Holidays.ics // does not work (notice the e in ical-calender https://www.calendarlabs.com/ical-calendar/ics/33/India_Holidays.ics // works
-
@sdetweil
type mistake
thank you sam -
@yrayapati is that the only problem?
-
@sam below regarding weather
In the below piece of code they are saying that “unzip the gz file and find your city”
{
module: “currentweather”,
position: “top_right”,
config: {
location: “Hyderabad”,
locationID: “1176734”, //ID from http://bulk.openweathermap.org/sample/; unzip the gz file and find your city
appid: “YOUR_OPENWEATHER_API_KEY”
}
},
But in the link i could see two weather related files as:
–>weather_14.json.gz 14-Mar-2017 12:33 1564623
–>weather_16.json.gz 05-Apr-2019 11:08 8292321
I have downloaded “weather_16.json.gz” file and changes details respectively…
can you correct me if i have done anything worng -
@yrayapati right _14 is from 2 years ago… some cities maybe have been discovered for openweather since then!..
and u got your api key, that matches the kind of weather u wanted…
-
@sam I followed the steps described in this video and got API key
-
@yrayapati are u good now? weather and calendar… anything else?