@hansolo MMM-forecast-io has sunset and sunrise time integrated and both take data from the same source.
So yes, it’s possible. The data is there. But I’m out. I’m unfortunately currently sitting on other projects.
@hansolo MMM-forecast-io has sunset and sunrise time integrated and both take data from the same source.
So yes, it’s possible. The data is there. But I’m out. I’m unfortunately currently sitting on other projects.
@anthony Your json needs to look like this:
{
"anytime" : [
".....",
"....."
],
"morning": [
".....",
"....."
]
....
}
Nothing else…
If you want you can post your config.js entry and the json file here or via pm. But it’s important you understand how it needs to look and why.
@cowboysdude well you’re right in the aspect that one dependency of your rfacts module messed up the whole module for me.
Luckily it’s shining bright on my mirror now. And the facts are really good.
Now back to OT…
@lavolp3 For both modules you should add the additional compliments outside of the main module file but inside config.js OR a new referenced json file like this:
module: "compliments",
position: "lower_third",
config: {
classes: 'small',
remoteFile: 'xxxxx.json',
updateInterval: 12*60*60*1000,
}
The json file sits in the module folder
@Anthony you can add personalized comments to the core module.
You shoudl consider using the core module and sparing yet another module in your 3rd-party folder. We can help you sort out the personalized things.
@cowboysdude Do we? Didn’t know about that. Why? Because it’s getting too complex?
@shreyash
Have you updated npm?
I am not sure about this, but what I would then try is first install npm globally. Possibly using sudo.
I would however not advise to install the MM itself via sudo.
Try:
npm install -g npm@latest
If that does not work, with sudo
sudo npm install -g npm@latest
sudo npm n stable
The node version above is also not the latest one (> 10.0) but it should be sufficient.
@swvalenti Sorry Iw as too fast and too occupied. It was in the github repository in the issues (and the ones already solved
Using the default URL (“webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics”) only gets you an ics for >2017-2018 holidays, so nothing shows now. You can verify this by downloading it and opening it in a calendar app.
Trying using the new URL “https://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics” in your config file and >that should get your MagicMirror to show the holidays in 2019.
@swvalenti please search for it. It’s somewhere here in the forum
@swvalenti
of course you can and it’s described several times in this forum
go to your google calendar.
IN the left region, click on the three dots of your calendar of choice and click options.
Move down to your private or public ical format and include it in the config as calendar.
I’m currently not sure if both private and/or public ical format work.
calendars: [
{
symbol: "calendar",
url: "https://calendar.google.com/calendar/ical/xxxxxxxxxxx/basic.ics"
},