Demandshaper timer

I recently ran an update on EmonCMS and I saw that the Demandshaper got updated. I noticed after the update that the Timer section on it was not retaining the times I put in. Not sure if this is intentional or not.

Server Information

Server Information

Services

  • emonhub :- Failed Failed
  • emoncms_mqtt :- Active Running
  • feedwriter :- Active Running - sleep 300s 52 feed points pending write
  • service-runner :- Active Running
  • emonPiLCD :- Failed Failed
  • redis-server :- Active Running
  • mosquitto :- Active Running
  • demandshaper :- Active Running

Emoncms

Server

  • OS :- Linux 4.19.75-v7+
  • Host :- emonpi | emonpi | (192.168.1.24)
  • Date :- 2020-10-03 11:43:18 BST
  • Uptime :- 11:43:18 up 1 day, 9:43, 0 users, load average: 0.27, 0.14, 0.09

Memory

  • RAM :- Used: 17.50%
    • Total :- 975.62 MB
    • Used :- 170.72 MB
    • Free :- 804.9 MB
  • Swap :- Used: 0.00%
    • Total :- 100 MB
    • Used :- 0 B
    • Free :- 100 MB
      Write Load Period

Disk

  • / :- Used: 52.66%
    • Total :- 3.92 GB
    • Used :- 2.07 GB
    • Free :- 1.66 GB
    • Write Load :- n/a
  • /boot :- Used: 20.55%
    • Total :- 252.05 MB
    • Used :- 51.79 MB
    • Free :- 200.26 MB
    • Write Load :- 0 B/s (1 days 9 hours 43 mins)
  • /var/opt/emoncms :- Used: 5.14%
    • Total :- 9.98 GB
    • Used :- 525.52 MB
    • Free :- 8.96 GB
    • Write Load :- n/a
  • /var/log :- Used: 3.14%
    • Total :- 50 MB
    • Used :- 1.57 MB
    • Free :- 48.43 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 :- 2020-10-03 11:43:17 (UTC 01:00‌​)
  • Stats :- Uptime: 121392 Threads: 16 Questions: 339075 Slow queries: 0 Opens: 54 Flush tables: 1 Open tables: 48 Queries per second avg: 2.793

Redis

  • Version :-
    • Redis Server :- 5.0.3
    • PHP Redis :- 5.0.2
  • Host :- localhost:6379
  • Size :- 359 keys (869.48K)
  • Uptime :- 1 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 :- apache2handlercalendar Core ctype curl date dom v20031129exif fileinfo filter ftp gd gettext hash iconv json v1.7.0libxml mbstring mosquitto v0.4.0mysqli mysqlnd vmysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $openssl pcre PDO pdo_mysql Phar posix readline redis v5.0.2Reflection session shmop SimpleXML sockets sodium SPL standard sysvmsg sysvsem sysvshm tokenizer wddx xml xmlreader xmlwriter xsl Zend OPcache zlib

Pi

  • Model :- Raspberry Pi 3 Model B+ Rev 1.3 - 1GB (Sony UK)

  • Serial num. :- 3BD68E61

  • CPU Temperature :- 52.08°C

  • GPU Temperature :- 52.6°C

  • emonpiRelease :- emonSD-17Oct19

  • File-system :- read-only

Client Information

Client Information

HTTP

  • Browser :- Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36
  • Language :- en-US,en;q=0.9

Window

  • Size :- 1351 x 669

Screen

  • Resolution :- 1366 x 768

Hello @Ryan_S sorry it looks live I’ve somehow missed off a whole part of the implementation here… I will get this fixed and update back here soon.

Not a problem. Noticed it and thought I should let you know before it goes to long.

1 Like

Hello @Ryan_S I’ve fixed this now and it should work better in particular with the OpenEVSE that only supports a single timer at a time. The latest version (v2.1.0) is now available in stable, via emonPi/base update.

Will perform an update after IotaWatt finishes uploading historical data.

1 Like

Great, I’ve made a minor update to the stylesheet that makes the timer interface look a bit better on mobile. I’ve you have already updated it might be worth updating again now.

This is odd. Getting this error.

LAST ENTRIES ON THE LOG FILE
Starting update via service-runner-update.sh (v3.0) >
- emonSD version: emonSD-24Jul20
- supported images: emonSD-24Jul20 emonSD-02Oct19 emonSD-17Oct19
/opt/openenergymonitor/EmonScripts/update/service-runner-update.sh: line 75: cannot create temp file for here-document: No space left on device
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
Stopping update

Check on the admin page especially the log partition.

Have you installed anything else onto the Pi?

Crud, I did. I loaded Node-Red. Sigh…

Still, I’m not full.

Server Information

Server Information

Services

  • emonhub :- Active Running
  • emoncms_mqtt :- Active Running
  • feedwriter :- Active Running - sleep 300s 97910 feed points pending write
  • service-runner :- Active Running
  • emonPiLCD :- Failed Failed
  • redis-server :- Active Running
  • mosquitto :- Active Running
  • demandshaper :- Active Running

Emoncms

Server

  • OS :- Linux 5.4.51-v7+
  • Host :- emonpi | emonpi | (192.168.1.24)
  • Date :- 2020-10-25 17:25:48 UTC
  • Uptime :- 17:25:48 up 4:33, 0 users, load average: 0.29, 0.41, 0.54

Memory

  • RAM :- Used: 23.74%
    • Total :- 925.85 MB
    • Used :- 219.75 MB
    • Free :- 706.1 MB
  • Swap :- Used: 0.50%
    • Total :- 100 MB
    • Used :- 512 KB
    • Free :- 99.5 MB
      Write Load Period

Disk

  • / :- Used: 53.92%
    • Total :- 4.06 GB
    • Used :- 2.19 GB
    • Free :- 1.68 GB
    • Write Load :- 26.81 KB/s (4 hours 30 mins)
  • /var/opt/emoncms :- Used: 3.46%
    • Total :- 9.84 GB
    • Used :- 348.66 MB
    • Free :- 9 GB
    • Write Load :- 107.32 B/s (4 hours 30 mins)
  • /boot :- Used: 21.15%
    • Total :- 252.05 MB
    • Used :- 53.32 MB
    • Free :- 198.73 MB
    • Write Load :- 0 B/s (4 hours 30 mins)
  • /var/log :- Used: 2.18%
    • Total :- 50 MB
    • Used :- 1.09 MB
    • Free :- 48.91 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.23-MariaDB-0+deb10u1
  • Host :- localhost:6379 (127.0.0.1)
  • Date :- 2020-10-25 17:25:47 (UTC 00:00‌​)
  • Stats :- Uptime: 16686 Threads: 14 Questions: 74732 Slow queries: 0 Opens: 46 Flush tables: 1 Open tables: 40 Queries per second avg: 4.478

Redis

  • Version :-
    • Redis Server :- 5.0.3
    • PHP Redis :- 5.3.1
  • Host :- localhost:6379
  • Size :- 324 keys (8.73M)
  • Uptime :- 0 days

MQTT Server

  • Version :- Mosquitto 1.5.7
  • Host :- localhost:1883 (127.0.0.1)

PHP

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

Pi

  • Model :- Raspberry Pi 3 Model B+ Rev 1.3 - 1GB (Sony UK)

  • Serial num. :- 3BD68E61

  • CPU Temperature :- 58.00°C

  • GPU Temperature :- 58.5°C

  • emonpiRelease :- emonSD-24Jul20

  • File-system :- read-write

Client Information

Client Information

HTTP

  • Browser :- Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36
  • Language :- en-US,en;q=0.9

Window

  • Size :- 1351 x 669

Screen

  • Resolution :- 1366 x 768

And I performed a reboot and now it seems to be working. Go figure.

1 Like

Just to note, the emonSD image has been tuned to be reasonably sympathetic in writing to SD Card and thus increasing the life of the card. Adding other software that may not be so considerate can cause increased wear and lessen the life of the card.

That is something I figured I might be taking a chance on, but I want to automate the backup process and upload it to my Google Drive. Helps prevent the loss that occurred when I had an HDD failure. I lucked out with an old backup I did perform so the only rebuilding I have to do is having IotaWatt upload the historical data.

I’m hoping an automatic backup function gets added to EmonSD/EmonCMS in the future along with the ability to upload it to either a local NAS or even Google Drive/Dropbox or otherwise. In the meantime, I will see if Node-Red can automate it and do the job. I will also replace the SDcard every 2-3 years and with a new EmonSD release.