New emonSD release: emonSD-10Nov26 (Raspberry Pi OS trixie)

A new emonSD pre-built SD card image is now available: emonSD-10Nov26.

Download (832 MB): https://openenergymonitor.org/files/emonSD-10Nov26.img.xz

SHA256: cf470e25fccd5458ef594e96c1fcbff4873a7f7190e246875beb3d0004fb929e
MD5:    ad5302329b7051ff07de390d18e4f711

Full release notes, including all the package versions, are on the download page: emonSD Download — OpenEnergyMonitor 0.0.1 documentation

New automated build script:

Inspired by CI work that @jeremypoulter has been developing for our longer term emonSD plan, see discussion PHP 8.1.34 being installed still via GUI update. EOL & vulnerable to PHP2Shell?. I got claude to build a fully automated end-to-end emonSD image build tool in EmonScripts (image/build.sh) to at least make it easier to get new image releases out faster in the mean time. This is a significant step forward both in ease of image preperation and auditability of the build. The build tool runs on an ordinary Debian or Ubuntu PC, no Raspberry Pi needed and results in a compressed image ready to flash! :exploding_head:

Compatibility

  • Pre-configured for the emonPi3. For emonPi2 or emonBase hardware, see the comments in emonhub.conf.
  • All 64-bit Raspberry Pi models: Zero 2, 3B, 3B+, 4 and 5
  • Minimum SD card size: 16 GB

What’s new since emonSD-10Mar26

  • Based on Raspberry Pi OS Lite (64-bit trixie), with all package updates to 10 Nov 2026 (Debian 13.7, kernel 6.18.60)
  • PHP 8.4 now comes from Debian itself instead of a third party repository, so it gets Debian’s security updates
  • Firewall (ufw) enabled by default
  • The data partition grows to fill the SD card on first boot, so no manual resizing is needed on larger cards
  • SSH host keys are generated on each device’s first boot.
  • emonPi3 ready: emonPi3 emonhub.conf, 1-Wire temperature sensing on GPIO27 and GPIO22, and BOSSA pre-installed for emonPi3 firmware updates
  • Unused camera and video packages removed, and the download is much smaller: 832 MB, down from 2.2 GB, thanks for the tip @ramcq

Main versions

  • Emoncms 12.2.1, EmonHub 2.8.5, EmonScripts 2.1.2
  • PHP 8.4.27, Apache 2.4.69, MariaDB 11.8.6, Mosquitto 2.0.21, Redis 8.0.2, Python 3.13.5

Installing

Flash with Raspberry Pi Imager (Choose OS > Use custom). Don’t apply OS customisation: the image already has the pi user, hostname and settings. On first boot the data partition is grown to fill the card, which can take a few minutes on a large card, so please don’t remove power during it.

SSH is disabled by default. To enable it, long press the emonPi LCD push button for 5 seconds, or create an empty file named ssh on the FAT boot partition. The default SSH login is pi / emonsd. Feel free to change it.

If you’re moving from an older image, use the Emoncms backup module to migrate your data. Using the import from a USB reader tool is the easiest way to do this https://docs.openenergymonitor.org/emoncms/import.html#import-the-old-card.

Building your own

If you’d like to build an image yourself. See the developer notes: Developer Notes on EmonScripts — OpenEnergyMonitor 0.0.1 documentation

As always, please report any issues here.

A timely release since I wanted to set up a test bed on a spare Pi running the latest EmonCMS. This worked perfectly for me.

Good work.
I’m assuming this only works for an SD card and not for an SSD—like an NVMe drive on the Pi 5, for example?
For that, do we still have to use EmonScript and configure it manually?

Thanks @GLe1 yes that’s right, it’s only built with the SD card in mind. So yes the standard EmonScripts route is probably your best bet unless you wanted to modify the image builder to pre-build a NVMe configuration for you?

Looking good, Houston. Thank you for this @TrystanLea Happy to report a successful migration from the Feb24 version. No obvious signs of anything untoward so far, but I’ll report back if I find anything.
Cheers

Neil

I recently re-installed my EmonPI due to a failing SD card.

Not sure what happened, but for some unknown reason using the image didn’t work, so I followed the scripts to create my own which worked fine.

Now for the question… attempting to do an update from the WebUI fails with the message:

- emonSD version: emonSD-06Nov26
- supported images: emonSD-10Nov26 emonSD-10Mar26 emonSD-03Jul25 emonSD-01Feb24 emonSD-20Nov23 emonSD-10Nov22 emonSD-21Jul21 emonSD-08May21 emonSD-24Jul20 emonSD-02Oct19 emonSD-17Oct19  
ERROR: emonSD base image old or undefined...update will not continue
See latest verson: https://github.com/openenergymonitor/emonpi/wiki/emonSD-pre-built-SD-card-Download-&-Change-Log

Viewing the URL takes me to a page telling me to go to another page :slight_smile: But when I get to emonSD Download — OpenEnergyMonitor 0.0.1 documentation I see that emonSD-06Nov26 doesn’t exist.

So, do I have to re-build this again to be compliant with 10th Nov, or can I upgrade?
(Apologies if this question is listed somewhere else and I’ve missed an FAQ…)

hello @SunnySparks the easiest fix is to rename /boot/emonSD-06Nov26 to be /boot/emonSD-10Nov26 that will then match the safe update list

Thanks @TrystanLea - I’d renamed /boot/firmware/emonSD-06Nov26 and hadn’t noticed there’s another file in /boot…
I don’t think I’d created that one too… maybe something to check on the installer scripts? (It might’ve been something I’d created when restoring old files, but I don’t think so…)