Read the statement by Michael Teeuw here.
My display so far...
-
@rudibarani It turns out there was an undocumented parameter to hide the current conditions display. I pushed an update to also add a similar one for the forecast table.
You can configure it like follows:
{ module: 'MMM-MyWeather', position: 'top_right', config: { ... //other config options omitted for clarity currentweather: 1, // 0 to hide forecasttable: 1, // 0 to hide } },
-
@j.e.f.f Thanks a lot for your quick help! Much appreciated :)
-
Hi @j.e.f.f,
I have just tried the new commit you made today. Unfortunately, the module does not load anymore and shows only “loading”. The console does not throw any error. Do I have to change something in my config-file to adapt to the changes you made? -
@rudibarani no it was a big fix. Can you send me your config? I likely broke something along the way.
-
@j.e.f.f It worked before your update and I did not change anything.
The relevant part is:{ module: 'MMM-MyWeather', position: 'top_center', config: { apikey: '###', // private; don't share! pws: 'pws:IBRAUNSC93', units: 'metric', coloricon: true, fcdaycount: "3", fcdaystart: "0", lang: 'de', fctext: '1', scaletxt: '0', daily: '1', hourly: '1', hourlyinterval: "3", hourlycount: "3", fade: false, fadepoint: '0.75', initialLoadDelay: 1000, alerttime: 10000, alerttruncatestring: "english:", roundTmpDecs: 1, UseCardinals: 1, windunits: 'bft', layout: "vertical", iconset: 'colourful', currentweather: 1, // 0 to hide currentweatherdetails: 0, forecasttable: 1, // 0 to hide forecasttablecolumnheadericons: 0, forecasttableheadertext: "Home", sysstat: 0 } },
-
@rudibarani thanks. I’ll take a look tonight when I get home from work.
-
@rudibarani Ok try pulling the latest commit. I indeed broke the default
timeFormat
setting. I didn’t notice because my config was using an explicit configuration option. -
@j.e.f.f Now its working again, but the timeformat still does not show up in the 24h format:
Thanks a lot and greetings from Germany.
-
I’m sure there’s a way to do this in css but not sure how. I want to make the icon and temperature smaller.
-
@rudibarani in your config, set the
timeFormat
toHH:mm
and you shoudl see 24-hour format.I just tried this. My config looks like this:
{ module: 'MMM-MyWeather', position: 'top_right', classes: 'default everyone', config: { apikey: '...', // private; don't share! pws: 'pws:IONTORON421', //Toronto Beaches units: 'metric', // other configs omitted for clarity timeFormat: 'HH:mm', //Set this here } },
And it looks like this: