Hi, can anyone show me how to update Demand Shaper, I managed to get it working ages ago and would like to see how future developments have come on. I updated my Emoncms through admin, and my install is showing the demand shaper module but I have no tab at the top. Probably really obvious, sorry if it is. I’m not very good with github.
Can you click on the button Copy as Markdown next to Server Information on the Admin page and paste into a reply here please (no further formatting required).
Is there anything in the update log?
Server Information
Server Information
Services
- emonhub :- Active Running
- emoncms_mqtt :- Active Running
- feedwriter :- Active Running - sleep 60s 6 feed points pending write
- service-runner :- Active Running
- emonPiLCD :- Active Running
- redis-server :- Active Running
- mosquitto :- Active Running
- demandshaper :- Active Running
Emoncms
- Version :- low-write 10.2.0
- Modules :- Administration | App v2.1.0 | Backup v2.2.1 | EmonHub Config v2.0.4 | Dashboard v2.0.6 | demandshaper | Device v2.0.4 | EventProcesses | Feed | Graph v2.0.8 | Input | Postprocess v2.1.2 | CoreProcess | Schedule | Network Setup v1.0.0 | sync | Time | User | Visualisation | WiFi v2.0.2
-
Git :-
- URL :- GitHub - emoncms/emoncms: Web-app for processing, logging and visualising energy, temperature and other environmental data
- Branch :- * stable
- Describe :- 10.2.0
Server
- OS :- Linux 4.14.71-v7+
- Host :- emonpi | emonpi | (192.168.1.133)
- Date :- 2020-02-21 22:56:55 UTC
- Uptime :- 22:56:55 up 3:51, 0 users, load average: 0.20, 0.16, 0.17
Memory
-
RAM :- Used: 17.74%
- Total :- 976.74 MB
- Used :- 173.28 MB
- Free :- 803.46 MB
-
Swap :- Used: 0.00%
- Total :- 100 MB
- Used :- 0 B
-
Free :- 100 MB
Write Load Period
Disk
-
/ :- Used: 40.11%
- Total :- 3.81 GB
- Used :- 1.53 GB
- Free :- 2.1 GB
- Write Load :- 32.06 B/s (3 hours 50 mins)
-
/boot :- Used: 51.69%
- Total :- 42.52 MB
- Used :- 21.98 MB
- Free :- 20.54 MB
- Write Load :- 0 B/s (3 hours 50 mins)
-
/home/pi/data :- Used: 2.34%
- Total :- 10.32 GB
- Used :- 246.74 MB
- Free :- 9.55 GB
- Write Load :- 353.35 B/s (3 hours 50 mins)
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 :- localhost:6379 (127.0.0.1)
- Date :- 2020-02-21 22:56:54 (UTC 00:00)
- Stats :- Uptime: 13897 Threads: 4 Questions: 1592 Slow queries: 0 Opens: 26 Flush tables: 1 Open tables: 20 Queries per second avg: 0.114
Redis
-
Version :-
- Redis Server :- 3.2.6
- PHP Redis :- 4.1.1
- Host :- localhost:6379
- Size :- 473 keys (909.89K)
- Uptime :- 0 days
MQTT Server
- Version :- Mosquitto 1.4.10
- Host :- localhost:1883 (127.0.0.1)
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
Pi
-
Model :- Raspberry Pi 3 Model B+ Rev 1.3 - 1GB (Sony UK)
-
Serial num. :- 38B18BC0
-
Temperature :- 41.86°C - 41.9°C
-
emonpiRelease :- emonSD-30Oct18
-
File-system :- read-write
Update log is to long to post unless I split it over two post.
What version of emoncms? Older versions need a manual git pull. Demandshaper was not in the update script.
Think current version is 10.2
Post as a txt file attachment.
Have a look at the log and see what it says about demandshaper.
Update script should pick this up - new enough.
Does the original image version make a difference? I am on emonSD-30Oct18 image but version 10.2
My demandshaper seems to need manual update after I have run the update script.
cd /home/pi/demandshaper
git pull
Yes might do. @TrystanLea?
Here’s the update log
emonpiupdate.txt (52.1 KB)
@ian the emonSD-30Oct18 image needs a manual update for the demandshaper. Its automatic from emonSD-17Oct19 onwards
@Rjallan21 it looks like you have the older image there that will need a manual update for the demandshaper. The steps are:
SSH into the pi, then in /home/pi
cd demandshaper
git pull
./install.sh
sudo service demandshaper restart
Thanks Trystan, now working.