emonSD pre built SD card Download & Change Log

Glyn Hudson edited this page Jan 16, 2017 · 73 revisions

EmonSD is a pre-built SD card for Raspberry Pi running as an emonPi / emonBase.

Identify Image Version

The Image version can be identified in three ways:

1. emonPi LCD - View emonPi LCD at startup or press the LCD button the scroll through the pages until emonSD-XX is displayed.

2. Emoncms admin interface - view the emonSD version in the local Emoncms admin interface.

3. Look for file in /boot partition - Requires SSH access or put the SD card into another computer. Look for a file called emonSD-XXX in the FAT /boot partition:

$ sudo ls /boot | grep emonSD

​All images have:

  • Read-only root file system
  • 4GB min SD card size, 8GB recommended (shop bought emonSD cards are expanded to 8GB)
  • Latest images have been built using emonPi SD card build guide

a.) Purchase pre-built SD card

or

b.) Download image & flash to SD card:

User Guide Setup Instructions


emonSD-07Nov16

RELEASE

Download (824MB) | Mirror 1 (Canada) | Mirror 2 (US)

Forum Discussion

(.img) MD5: cf8537e90ffd98ffb5838fbe3c878d4d
(.zip) MD5: 3961e96cf2e1ab46d750d0a0cae72a2e 

File System

4GB min SD card (8GB+ recommended). If SD card is larger than 4GB, expand data partition with sudo emonSDexpand

Filesystem      Size  Used Avail Use% Mounted on
/dev/root       3.4G  2.1G  1.2G  64% /
devtmpfs        483M     0  483M   0% /dev
tmpfs           487M     0  487M   0% /dev/shm
tmpfs           487M  6.6M  480M   2% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           487M     0  487M   0% /sys/fs/cgroup
tmpfs            40M  3.8M   37M  10% /var/lib/openhab
tmpfs           1.0M  4.0K 1020K   1% /var/lib/dhcpcd5
tmpfs           1.0M     0  1.0M   0% /var/lib/dhcp
tmpfs            50M  328K   50M   1% /var/log
tmpfs            30M   52K   30M   1% /tmp
/dev/mmcblk0p1   60M   21M   40M  35% /boot
/dev/mmcblk0p3  194M   37M  147M  21% /home/pi/data

Linux

  • Update Linux kernal to at least 4.4.26-v7+ to get latest security & raspi firmware fixes (e.g. Dirty Cow) (dist-upgrade) forum topic
  • $ apt-get clean all (free up unused packages, approx 700Mb)

Emoncms

  • Latest Emoncms (currently V9.7.7)
    • New graph module
    • Lots of dashboard fixes and improvements

emonPi

nodeRED

OpenHAB

Emoncms Server Info

Server Information
Emoncms Version low-write 9.7.7 | 2016.10.29
Modules app, config, dashboard, graph, wifi
Buffer  0 feed points pending write
Writer  Daemon is running with sleep 60s
Server  OS  Linux 4.4.26-v7+
Host    emonpi emonpi (127.0.1.1)
Date    2016-11-01 00:52:38 UTC
Uptime  00:52:38 up 5 min, 1 user, load average: 0.76, 0.65, 0.31
HTTP    Server  Apache/2.4.10 (Raspbian) HTTP/1.1 CGI/1.1 80
Database    Version MySQL 5.5.52-0+deb8u1
Host    localhost (127.0.0.1)
Date    2016-11-01 00:52:38 (UTC 00:00‌​)
Stats   Uptime: 5583 Threads: 3 Questions: 1699 Slow queries: 0 Opens: 61 Flush tables: 1 Open tables: 50 Queries per second avg: 0.304
Redis   Version 2.8.17
Host    localhost:6379 (127.0.0.1)
Size    0 keys (471.91K)Flush
Uptime  0 days
MQTT    Version 1.4.10
Host    localhost:1883 (127.0.0.1)
Pi  CPU Temp    41.86°CShutdownReboot
Release emonSD-07Nov16
Memory  RAM 
Used 25.23%
Total: 973.11 MB Used: 245.53 MB Free: 727.58 MB
Disk    Mount   Stats
/   
Used 60.45%
Total: 3.33 GB Used: 2.01 GB Free: 1.16 GB
/boot   
Used 34.67%
Total: 59.95 MB Used: 20.78 MB Free: 39.16 MB
/home/pi/data   
Used 19.04%
Total: 193.66 MB Used: 36.87 MB Free: 146.8 MB
PHP Version 5.6.27-0+deb8u1 (Zend Version 2.6.0)
Modules Core   date   ereg   libxml   openssl   pcre   zlib   bcmath   bz2   calendar   ctype   dba   dom   hash   fileinfo   filter   ftp   gettext   SPL   iconv   mbstring   session   posix   Reflection   standard   shmop   SimpleXML   soap   sockets   Phar   exif   sysvmsg   sysvsem   sysvshm   tokenizer   wddx   xml   xmlreader   xmlwriter   zip   apache2handler   PDO   curl   dio   json   mcrypt   mosquitto   mysql   mysqli   pdo_mysql   readline   redis   mhash   Zend OPcache  

By default emonSD has a number of services running. If you don't want to use them, they can be disabled with:

pi@emonpi:~ $ sudo systemctl disable openhab.service  
pi@emonpi:~ $ sudo systemctl disable nodered.service  
pi@emonpi:~ $ sudo systemctl disable emonPiLCD.service  
pi@emonpi:~ $ sudo systemctl disable apache2.service  

emonSD-03May16- RELEASE

Download (1.7GB) | UK Mirror 1 | Forum Discussion

MD5 Checksum (zip): d102aff6dafd89d2e4d3209eee964251
MD5 Checksum (.img): 08557bda1c12daa76ab94bef0c04f3fd

New Changes forum discussion

  • Append gpu_mem=16 to /boot/config.txt to give us more RAM at expense of GPU
  • Symlink fstab in emonpi repo to /etc/fstab to allow updating
  • Reduce garbage in /var/log/messages but to Raspbian bug
  • Fix log rotate to includue all log files to ensure /var/log does not fill up
  • RasPi3 SSHD fix
  • Fix language pack support (install gettext & locales), language setting in 'Account' now works out the box
  • Fix node-RED flows to survive update cycle
  • Trim SD card (allow 60mB of unallocated partition) to fit on all (or majority) of 4GB SD cards, shop pre-built SD cards included with emonPi / emonBase will be 8GB with ~/data partition expanded accordingly.
  • Generate new SSH keys

By default emonSD has a number of services running, if you don't want to use these they can be disabled with:

pi@emonpi:~ $ sudo systemctl disable openhab.service  
pi@emonpi:~ $ sudo systemctl disable nodered.service  
pi@emonpi:~ $ sudo systemctl disable emonPiLCD.service  
pi@emonpi:~ $ sudo systemctl disable apache2.service  

March 29th - RC2

Forum Discussion

MD5 Checksum (zip): 15e5fef75dd9729c13ef9f9de1a290b2
MD5 Checksum (.img): 78f6caaf926b255438367244f6faa71d

emonSD-20Feb16 - RC1 

Forum thread

  • Based on RASPBIAN JESSIE LITE (2015-11-21) 
  • LightWave RF OOK
  • NodeRED 
  • OpenHab
  • ​Mosquitto MQTT with authentication (port open) 
  • Nodes module depreciated in favour of MQTT_input script direct to Emoncms Inputs. see MQTT info

  • Includes service-runner method for executing backup imports, exports and update process​

  • Nodes module depreciated in favour of MQTT_input script direct to Emoncms Inputs. see MQTT info

emonSD-16Feb16 - Beta2

Forum Thread

  • Based on RASPBIAN JESSIE LITE (2015-11-21) 
  • LightWave RF OOK
  • NodeRED 
  • OpenHab
  • ​Mosquitto MQTT with authentication (port open) 
  • Nodes module depreciated in favour of MQTT_input script direct to Emoncms Inputs. see MQTT info

emonSD-12Feb16 - Alpha1

Forum Thread

  • Based on RASPBIAN JESSIE LITE (2015-11-21) 
  • LightWave RF OOK
  • NodeRED 
  • OpenHab
  • ​Mosquitto MQTT with authentication (port open) 
  • Nodes module depreciated in favour of MQTT_input script direct to Emoncms Inputs. see MQTT info

emonSD-22Dec15 - Beta1

Forum Thread

  • Based on minibian lightweight Jessie (12-11-15) 
  • Includes node module 
  • LightWave RF OOK
  • NodeRED 
  • OpenHab
  • ​Mosquitto MQTT with authentication (port open) 

emonSD-17Jun15 - STABLE (but outdated)

Download | Forum Thread

  • Shipped on all emonPi's Jun15-March16
  • Emoncms V8 
  • 2015-05-05 version of Raspbian 
  • Mosquitto MQTT with no authentication (port closed) 

emonpi-28may2015

  • First emonPi release
  • Emoncms V8
  • Shipped with first batch of Kickstarter backer units 
  • Shipped on emonpi's May15-June15

Development

Moved to emonSD-dev