@nbrenn I found it really useful to find a module someone had already written and look at that as an example. I’ve now written a few simple modules that just pull data from web service and display it on screen. Feel free to fork any of them and pull them apart for ideas, the one I just submitted (MMM-AirNow) is pretty basic.
Read the statement by Michael Teeuw here.
Posts
-
RE: Tutorials or Overview for Module Dev?
-
RE: MMM-3Day-Forecast
Nice idea! I’m tied up for a few days but I’ll do my best to grab some time and look into getting humidity posted too.
-
MMM-AirNow
The last module I wanted to port across to the MM2 environment. This one uses a US air quality service to provide the closest air quality data to the zip code provided. Sorry this is US only, if you know of an international web service please just let me know.The module is available from here. Enjoy!
-
Front door mirror
I always used to have a mirror next to the front door so made this one to provide at a glance information on the way out. I’m not much of a wood worker nor do I have a workshop so I got the frame made up in Michaels. The frame is based on a shadow box frame. The mirror material is a 2-way acrylic from TAP Plastics.The first incarnation (V1.0) used an old Pi-A and had some home-brew code running on it. When I heard about the MM2 project I figured it was time to create Mirror 2.0. This version has a Pi-Zero for it’s brains and I ported over some of the modules I had in mirror V1.0.
The next step (V2.1) will be to put a power point on the wall behind the mirror and use the remaining hole for a PIR so I can blank the screen when no one is in front of it.
-
MMM-3Day-Forecast
This module is another weather module and is a port of a home-brew mirror project I’d done prior to switching to MM2. I got used to the three day forecast and the details it provided so figured I’d port it across. I hope you like it.You can get it here
-
MMM-Weather-Now
This is yet another weather module, this one is very simple and is designed to be used in conjunction with the module MMM-3Day-Forecast. It’s basically a port of my own home-brew mirror project. I just got used to the display, I hope you like it too.You can get it from here
-
RE: MMM-FAA-Delay
@fwood04 If you want to set up multiple airports you can set a series of modules something like:
{
module: 'MMM-FAA-Delay',
position: 'top_left',
classes: 'dimmed medium',
header: 'Airport Delays',
config: {
airport: 'SFO',
interval: 300000 // 5 min updates
}
},
{
module: ‘MMM-FAA-Delay’,
position: ‘top_left’,
classes: ‘dimmed medium’,
config: {
airport: ‘LAX’,
interval: 300000 // 5 min updates
}
},
I hope that helps.
-
RE: Pi Zero
@darkeagl105 HI thanks for the update, I did end up recompiling Kweb which worked once I’d figured out I had to do that… I’m just now stuck figuring out how to stop my screen blanking after 10 mins! I think I’ve added the xset commands in about 5 locations and still nothing!
-
RE: Pi Zero
@nigel-daniels sigh ok tried that rebooted into the GUI and used the screensaver config to switch off the screensaver. Then reconfigured the system to log into the CLI and use the
start.sh
to kick of X/Kweb… 10 mins later a black screen. I’m running out of locations to try using the set commends, I even added them to thestart.sh
. -
RE: Pi Zero
@Neokamikaze Thanks I’ll give that a shot. This is Jessy, and it sounds like the sort of problem I’m seeing.
Me thinks it will need to be in the morning now… gone midnight in my TZ so I’ll get screensaver on board and deal with pulling the mirror apart to get the minikbd plugged back in till then.
I’ll let you know how it works out.