emonSD-17Oct19 release

Following on from the beta release of the EmonScripts automated emoncms build script. This image is the first pre built emonSD image release that uses the scripts for the full image build.

Feel free to build the image from scratch rather than download the image. This can be done using the automated build script, see: GitHub - openenergymonitor/EmonScripts: Emoncms Stack Installation and Update scripts

Special thanks to @borpin for all his help and guidance throughout the development process and to @pb66 for helping early on with the log2ram configuration and logrotate approach.

emonSD Documentation

emonSD-17Oct19

Download (1.1 GB)

(.img) MD5: a7d12ac6b589ae0d470c4a6f1ce38414
(.zip) MD5: 52ecf81c2ad4afbd9da42a6e703b5c59
  • Built using EmonScripts emoncms installation script, see
    https://github.com/openenergymonitor/EmonScripts.
  • Based on Raspbian Buster 2019-09-26-raspbian-buster-lite.zip
  • Compatible with Raspberry Pi 3, 3B+ & 4
  • Emoncms data is logged to low-write ext2 partition mounted in /var/opt/emoncms
  • Log partition /var/log mounted as tmpfs using log2ram, now presistant after reboot
  • SSH access disabled by default, long press emonPi LCD push button for 5s to enable. Or create file /boot/ssh in FAT partition.

Kernel

$ uname -a
Linux emonpi 4.19.75-v7+ #1270 SMP Tue Sep 24 18:45:11 BST 2019 armv7l GNU/Linux

$ sudo /opt/vc/bin/vcgencmd version
Sep 24 2019 17:37:47 
Copyright (c) 2012 Broadcom
version 6820edeee4ef3891b95fc01cf02a7abd7ca52f17 (clean) (release) (start_cd)

File System

$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       4.0G  1.9G  2.0G  49% /
devtmpfs        484M     0  484M   0% /dev
tmpfs           488M     0  488M   0% /dev/shm
tmpfs           488M  6.6M  482M   2% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           488M     0  488M   0% /sys/fs/cgroup
tmpfs           1.0M  4.0K 1020K   1% /var/lib/php/sessions
tmpfs           1.0M     0  1.0M   0% /var/tmp
tmpfs            30M   16K   30M   1% /tmp
/dev/mmcblk0p3   10G  5.3M  9.5G   1% /var/opt/emoncms
/dev/mmcblk0p1  253M   52M  201M  21% /boot
log2ram          50M  2.1M   48M   5% /var/log
tmpfs            98M     0   98M   0% /run/user/1000

Emoncms

Server Information
-----------------------

Emoncms
	Version :	 low-write 10.1.9
	Modules :	 Administration | App v2.0.7 | Backup v2.1.4 | EmonHub Config v2.0.4 | Dashboard v2.0.5 | DemandShaper v1.0.2 | Device v2.0.2 | EventProcesses | Feed | Graph v2.0.5 | Input | Postprocess v2.1.1 | CoreProcess | Schedule | Network Setup v1.0.0 | sync | Time | User | Visualisation | WiFi v2.0.2
	Git :	 
		URL :	 https://github.com/emoncms/emoncms.git
		Branch :	 * stable
		Describe :	 10.1.9

Server
	OS :	 Linux 4.19.75-v7+
	Host :	 emonpi | emonpi | (192.168.0.109)
	Date :	 2019-10-17 13:10:53 BST
	Uptime :	 13:10:53 up 15 min,  1 user,  load average: 0.10, 0.11, 0.09

Memory
	RAM :	 Used: 19.37%
		Total :	 975.62 MB
		Used :	 188.99 MB
		Free :	 786.63 MB
	Swap :	 Used: 0.00%
		Total :	 100 MB
		Used :	 0 B
		Free :	 100 MB

Disk
	/ :	 Used: 46.42%
		Total :	 3.92 GB
		Used :	 1.82 GB
		Free :	 1.91 GB
		Write Load :	 n/a
	/var/opt/emoncms :	 Used: 0.05%
		Total :	 9.98 GB
		Used :	 5.27 MB
		Free :	 9.47 GB
		Write Load :	 n/a
	/boot :	 Used: 20.55%
		Total :	 252.05 MB
		Used :	 51.79 MB
		Free :	 200.26 MB
		Write Load :	 n/a
	/var/log :	 Used: 4.20%
		Total :	 50 MB
		Used :	 2.1 MB
		Free :	 47.9 MB
		Write Load :	 n/a

HTTP
	Server :	 Apache/2.4.38 (Raspbian) HTTP/1.1 CGI/1.1 80

MySQL
	Version :	 5.5.5-10.3.17-MariaDB-0+deb10u1
	Host :	 localhost:6379 (127.0.0.1)
	Date :	 2019-10-17 13:10:52 (UTC 01:00‌​)
	Stats :	 Uptime: 899  Threads: 14  Questions: 1757  Slow queries: 0  Opens: 70  Flush tables: 1  Open tables: 36  Queries per second avg: 1.954

Redis
	Version :	 
		Redis Server :	 5.0.3
		PHP Redis :	 5.0.2
	Host :	 localhost:6379
	Size :	 114 keys (810.42K)
	Uptime :	 0 days
MQTT Server
	Version :	 Mosquitto 1.5.7
	Host :	 localhost:1883 (127.0.0.1)

PHP
	Version :	 7.3.9-1~deb10u1 (Zend Version 3.3.9)
	Modules :	 apache2handler | calendar v7.3.9-1~deb10u1 | Core v7.3.9-1~deb10u1 | ctype v7.3.9-1~deb10u1 | curl v7.3.9-1~deb10u1 | date v7.3.9-1~deb10u1 | dom v20031129 | exif v7.3.9-1~deb10u1 | fileinfo v7.3.9-1~deb10u1 | filter v7.3.9-1~deb10u1 | ftp v7.3.9-1~deb10u1 | gd v7.3.9-1~deb10u1 | gettext v7.3.9-1~deb10u1 | hash v7.3.9-1~deb10u1 | iconv v7.3.9-1~deb10u1 | json v1.7.0 | libxml v7.3.9-1~deb10u1 | mbstring v7.3.9-1~deb10u1 | mosquitto v0.4.0 | mysqli v7.3.9-1~deb10u1 | mysqlnd vmysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $ | openssl v7.3.9-1~deb10u1 | pcre v7.3.9-1~deb10u1 | PDO v7.3.9-1~deb10u1 | pdo_mysql v7.3.9-1~deb10u1 | Phar v7.3.9-1~deb10u1 | posix v7.3.9-1~deb10u1 | readline v7.3.9-1~deb10u1 | redis v5.0.2 | Reflection v7.3.9-1~deb10u1 | session v7.3.9-1~deb10u1 | shmop v7.3.9-1~deb10u1 | SimpleXML v7.3.9-1~deb10u1 | sockets v7.3.9-1~deb10u1 | sodium v7.3.9-1~deb10u1 | SPL v7.3.9-1~deb10u1 | standard v7.3.9-1~deb10u1 | sysvmsg v7.3.9-1~deb10u1 | sysvsem v7.3.9-1~deb10u1 | sysvshm v7.3.9-1~deb10u1 | tokenizer v7.3.9-1~deb10u1 | wddx v7.3.9-1~deb10u1 | xml v7.3.9-1~deb10u1 | xmlreader v7.3.9-1~deb10u1 | xmlwriter v7.3.9-1~deb10u1 | xsl v7.3.9-1~deb10u1 | Zend OPcache v7.3.9-1~deb10u1 | zlib v7.3.9-1~deb10u1

Pi
	Model :	 Raspberry Pi 3 Model B+ Rev 1.3 - 1GB (Sony UK)
	Serial num. :	 78A9D9F
	Temperature :	 48.31°C - 47.8°C
	emonpiRelease :	 emonSD-17Oct19
	File-system :	 read-write
4 Likes

The Build script works well on UbuntuLTS once the modules to be installed have been adjusted. There is also some work going on to use the script on a Pi ZeroW.

1 Like

Awesome, been hanging for a chance to refresh the pi! Great job all involved (as always), will advise if I hit any snags over the next couple of days.

3 Likes

2 posts were split to a new topic: EMONSD Image partition sizes