Finally, our new Raspberry Pi pre-built image (emonSD) based on Raspbien Stretch is ready for release
This image has been the accumulation of many months of preparation and testing. Thanks to everyone who helped contribute. The image has undergone extensive testing. Please report any issues.
emonPi / emonBase units shipped via the OpenEnergyMonitor store will be using the new image by the end of this week.
We would recommend users update to the new image by using the Emoncms backup module to migrate data. See backup and restore user guide.
Here are the release notes duplicated from the emonPi WIki Download Page.
emonSD-30Oct18
(.img) MD5: eb24460efcd8af7bc568415002581649
(.zip) MD5: 0c6cbfc59403ba536ad7c0120bb687e5
- Based on Debian Raspbian Stretch minimal
- Compatible with Raspberry Pi 3 & 3B+ (minor change required for Pi2*)
- No longer use read-only root file system
- Emoncms data is logged to low-write ext2 partition mounted in
~/data
- Log partition
/var/log
mounted as tmpfs, non persistent between boots -
SSH access disabled by default, long press emonPi LCD push button for 5s to enable. Or create file
/boot/ssh
in FAT partition. - OpenHAB & NodeRED removed, can easily be installed via apt-get
* To use this image on Pi2 remove the following lines from /boot/config.txt
:
arm_freq=1200
arm_freq_min=600
Kernel
$ uname -a
Linux emonpi 4.14.71-v7+ #1145 SMP Fri Sep 21 15:38:35 BST 2018 armv7l GNU/Linux
$ sudo /opt/vc/bin/vcgencmd version
Sep 21 2018 15:44:25
Copyright (c) 2012 Broadcom
version 07f57128b8491ffdefcdfd13f7b4961b3006d9a9 (clean) (release)
File System
Note: the emonSD pre-loaded SD cards shipped via the OpenEnergyMonitor store or pre-loaded in emonPi / emonBase will be expanded to fill the 16GB card. The default download image is 8GB, if using a larger SD card follow the instructions near the top of this page to expand the data partition
$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 3.9G 1.6G 2.2G 42% /
devtmpfs 484M 0 484M 0% /dev
tmpfs 489M 0 489M 0% /dev/shm
tmpfs 489M 13M 476M 3% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 489M 0 489M 0% /sys/fs/cgroup
tmpfs 1.0M 0 1.0M 0% /var/tmp
tmpfs 50M 1004K 50M 2% /var/log
tmpfs 30M 0 30M 0% /tmp
/dev/mmcblk0p1 43M 22M 21M 52% /boot
/dev/mmcblk0p3 3.3G 113M 3.0G 4% /home/pi/data
tmpfs 98M 0 98M 0% /run/user/1000
Emoncms
- Emoncms V9.9.3, see change log.
Note: On first boot the image will update to the latest Emoncms version (stable branch). This first boot will take place in the factory for emonBase / emonPi units therefore the actual version users will experiance will be the latest stable release.
Server Information (click to expand)
Emoncms Version low-write 9.9.3 Modules Administration : App v1.2.0 : Backup v1.1.5 : EmonHub Config v1.0.0 : Dashboard v1.3.1 : Device v1.1.1 : EventProcesses : Feed : Graph v1.2.1 : Input : Postprocess v1.0.0 : CoreProcess : Schedule : Network Setup v1.0.0 : sync : Time : User : Visualisation : WiFi v1.3.0 Git URL GitHub - emoncms/emoncms: Web-app for processing, logging and visualising energy, temperature and other environmental data Git Branch * stable Buffer loadingā¦ Writer Daemon is running with sleep 60s Server OS Linux 4.14.71-v7+ Host emonpi emonpi (192.168.86.36) Date 2018-10-30 01:34:56 UTC Uptime 01:34:56 up 27 min, 1 user, load average: 1.75, 1.59, 1.34 HTTP Server Apache/2.4.25 (Raspbian) HTTP/1.1 CGI/1.1 80 MySQL Version 5.5.5-10.1.23-MariaDB-9+deb9u1 Host 127.0.0.1 (127.0.0.1) Date 2018-10-30 01:34:56 (UTC 00:00ā) Stats Uptime: 1667 Threads: 3 Questions: 68 Slow queries: 0 Opens: 23 Flush tables: 1 Open tables: 17 Queries per second avg: 0.040 Redis Version 3.2.6 Host localhost:6379 (127.0.0.1) Size 44 keys (840.02K) Uptime 0 days MQTT Server Version Mosquitto 1.4.10 Host localhost:1883 (127.0.0.1) Pi Model Raspberry Pi 3 Model B Rev 1.2 - 1 GB (Stadium) SoC Broadcom BCM2835 Serial num. 68D8124E Temperature CPU: 49.39Ā°C - GPU: 49.4āC Release emonSD-30Oct18 File-system Current: read-write - Set root file-system temporarily to read-write, (default read-only) Memory RAM Used: 15.91% Total: 976.74 MB Used: 155.45 MB Free: 821.29 MB Swap Used: 0.00% Total: 100 MB Used: 0 B Free: 100 MB Disk Mount Stats / Used: 39.77% Total: 3.81 GB Used: 1.52 GB Free: 2.12 GB /boot Used: 51.69% Total: 42.52 MB Used: 21.98 MB Free: 20.54 MB /home/pi/data Used: 3.43% Total: 3.21 GB Used: 112.78 MB Free: 2.93 GB PHP Version 7.0.30-0+deb9u1 (Zend Version 3.0.0) Modules apache2handler : calendar v7.0.30-0+deb9u1 : Core v7.0.30-0+deb9u1 : ctype v7.0.30-0+deb9u1 : curl v7.0.30-0+deb9u1 : date v7.0.30-0+deb9u1 : dom v20031129 : exif v7.0.30-0+deb9u1 : fileinfo v1.0.5 : filter v7.0.30-0+deb9u1 : ftp v7.0.30-0+deb9u1 : gd v7.0.30-0+deb9u1 : gettext v7.0.30-0+deb9u1 : hash v1.0 : iconv v7.0.30-0+deb9u1 : igbinary v2.0.1 : json v1.4.0 : libxml v7.0.30-0+deb9u1 : mbstring v7.0.30-0+deb9u1 : mcrypt v7.0.30-0+deb9u1 : mosquitto v0.4.0 : mysqli v7.0.30-0+deb9u1 : mysqlnd vmysqlnd 5.0.12-dev - 20150407 - $Id: b5c5906d452ec590732a93b051f3827e02749b83 $ : openssl v7.0.30-0+deb9u1 : pcre v7.0.30-0+deb9u1 : PDO v7.0.30-0+deb9u1 : pdo_mysql v7.0.30-0+deb9u1 : Phar v2.0.2 : posix v7.0.30-0+deb9u1 : readline v7.0.30-0+deb9u1 : redis v4.1.1 : Reflection v7.0.30-0+deb9u1 : session v7.0.30-0+deb9u1 : shmop v7.0.30-0+deb9u1 : SimpleXML v7.0.30-0+deb9u1 : sockets v7.0.30-0+deb9u1 : SPL v7.0.30-0+deb9u1 : standard v7.0.30-0+deb9u1 : sysvmsg v7.0.30-0+deb9u1 : sysvsem v7.0.30-0+deb9u1 : sysvshm v7.0.30-0+deb9u1 : tokenizer v7.0.30-0+deb9u1 : wddx v7.0.30-0+deb9u1 : xml v7.0.30-0+deb9u1 : xmlreader v7.0.30-0+deb9u1 : xmlwriter v7.0.30-0+deb9u1 : xsl v7.0.30-0+deb9u1 : Zend OPcache v7.0.30-0+deb9u1 : zlib v7.0.30-0+deb9u1
Known Issues
- Current bug in rpi-gpio 0.6.4 causes LCD push button to stop working, solution is to continue using 0.6.3
pip install RPi.GPIO==0.6.3
. Open issue. - Mosquitto 1.4.10 is included in this release, this is a downgrade from 1.4.14 included in the previous image (emonSD-26Oct17). This is because 1.4.10 is the current stable Stretch apt release. Newer version can be manually installed if required Download | Eclipse Mosquitto