@ooom416354 sorry about taking so long to reply! You can shrink the module a bit by using the MagicMirror’s size classes. I normally have mine set as “small”.
{
module: 'MMM-forecast-io',
classes: 'small'
...
}
@ooom416354 sorry about taking so long to reply! You can shrink the module a bit by using the MagicMirror’s size classes. I normally have mine set as “small”.
{
module: 'MMM-forecast-io',
classes: 'small'
...
}
Hi @Rian9771 the rain graph only appears when there’s rain happening in the next hour.
@shavesophere sorry I wasn’t too descriptive!
Here’s the example from the repo with the added ‘small’ class, forth line from the top:
{
module: 'MMM-forecast-io',
position: 'top_right', // This can be any of the regions.
classes: 'small',
config: {
// See 'Configuration options' for more information.
apiKey: 'abcde12345abcde12345abcde12345ab', // Dark Sky API key.
// Only required if geolocation doesn't work:
latitude: 16.77532,
longitude: -3.008265
}
}
Hope that helps!
I’ve just pushed an update to the module. Previously if there was a network error the module would get “stuck” and no longer update. This is now fixed!
[card:dmcinnes/MMM-forecast-io]
@shavesophere thanks! You can add the ‘small’ class to the module’s classes in the config.js.
@darrene glad you like the module! That would be cool to have but I’m working on another project right now so I’m not interested in taking that on. If anyone else wants to take a try at doing it, please be my guest and send a PR!
The original module used SVG, but I used HTML5 canvas to avoid external libraries (plus I prefer canvas anyway).
@wjdw87 cool! The connection is basicly the same as a PIR sensor. It has three wires, ground, vcc, and data which goes high when it senses motion. I plugged it into the PI’s 3.3v, ground and I believe gpio 22 (whichever is the default for the module).
Since the wire comes out as a three pin JST I split it into individual header connectors because all the pins are not next to one another on the PI.
Hope that helps!
@Claymobil glad it works! Sorry about that, that missing comma is in the example config. I’ve updated it.
@paulocarrasco That moon clock looks awesome!
Hey Everyone! I’ve just released the updated Forecast IO module with forecast and precipitation graph (I’m considering renaming it to MMM-Darksky since forecast.io is no more…)
https://github.com/dmcinnes/MMM-forecast-io
Features:
Screenshot:
Let me know what you think!
Interesting problem!
Possibly an easier path may be some kind of folder sharing like dropbox or bittorrent sync. The cron job could simply restart the mirror software.
If you want to use Github you could publish a manifest of module URLs that the cron job downloads into the modules directory, that way you don’t have to deal with maintaining a fork of mirror code and submodules.