Community
OpenEnergyMonitor

Community

Emoncms V10.0.0-beta master branch release

(Glyn Hudson) #1

Following on from:

Emoncms V10 with sidebar UI has been released to master branch for core and all modules :tada:.

Big thanks to @emrys for a lot of hard work getting to this point and @borpin for helping to test

It’s important that core and modules are updated together for full V10 side bar support

Please help us test and report any bugs.

The modules with the following version number have support for V10:

10.0.0-beta emoncms
2.0.0 app
2.0.0 dashboard
2.0.0 graph
1.0.0 find
1.0.0 demandshaper
2.0.0 postprocess
2.0.0 backup
2.0.0 wifi
2.0.0 config
2.0.0 group
2.0.0 device
2.0.0 sync
1.0.0 remoteacess-client

**

Stable branch users

Stable branch users (emonPi / emonBase / emonSD) will not yet have these changes unless running the following modules: find, deamandshaper, postprocess, group, device, sync, remoteacess-client. These modules do not have a separate stable branch therefore V10 sidebar UI changes have been merged into these modules. This will result in these modules disappearing from the menu if running Emoncms V9.x.x and emonPi update is ran. The modules can still be accessed via the URL. We are aiming to get V10 core released soon which will resolve this issue.


Emoncms V10 screenshots

27

1 Like
Missing postprocess and sync menu entries emoncms 9.9.9
(Brian Orpin) #2

Initial look and all seems fine.

Just a note for others, anything looks weird, force a reload of the page to clear cache.

(Brian Orpin) #3

I’m going to say it again, but the Settings cog on the other side to (almost) everything else, and the ‘settings’ menu not then appearing as a sidebar, just feels wrong.

On the Dashboard page, I think the ‘Toolbox’ cog might be better as a menu item at the bottom of the list of dashboards. Just feels out of the way and easily missed. Perhaps rename to ‘Edit Dashboard’?

YMMV.

(Glyn Hudson) pinned #4
(Glyn Hudson) #5

Great, good to hear :slight_smile:

Hopefully this should not be required since the version numbers of the js and css have been bumped which should force browser to reload.

(Brian Orpin) #6

It didn’t for me, I had to force-reload, hence the note.

(Glyn Hudson) #7

That’s interesting, what behaviour did you see? Would good to get a screenshot to figure out which file needs its version bumped. It seems to be upgraded ok for me on our test units without a browser cache clear. Only tested on Chrome so far.

(Craig Fryer) #8

Should this be “demandshaper”?

(Glyn Hudson) #9

Thanks, it’s been corrected.

(Glyn Hudson) #10

Admin page has been update to be more mobile friendly and log output display has been improved.

Copy server info to clipboard is now in markdown format for the forum which is both human readable and render well in a collapsed form on the forum. A popup notification has been added to notify the user that the content has been copied.

Example markdown output:

Server Information

Server Information

Services

  • emonhub :- ActiveRunning
  • emoncms_mqtt :- ActiveRunning
  • feedwriter :- ActiveRunning - sleep 60s 97 feed points pending write
  • service-runner :- ActiveRunning
  • emonPiLCD :- ActiveRunning
  • redis-server :- ActiveRunning
  • mosquitto :- ActiveRunning

Emoncms

  • Version :- low-write 10.0.0-beta
  • Modules :- Administration | App v2.0.0 | Backup v2.0.0 | EmonHub Config v2.0.0 | Dashboard v2.0.0 | demandshaper | Device v2.0.0 | EventProcesses | Feed | Find v1.0.0 | Graph v2.0.0 | Group v2.0.0 | Input | Postprocess v2.0.0 | CoreProcess | remoteaccess | Schedule | Network Setup v1.0.0 | sync | Time | User | Visualisation | WiFi v2.0.0
  • Git :- - URL :- https://github.com/emoncms/emoncms.git
  • Branch :- * master
  • Describe :- 9.9.9-121-gd0ce3847

Server

  • OS :- Linux 4.14.98-v7+
  • Host :- emonpi2 | emonpi2 | (127.0.0.1)
  • Date :- 2019-05-09 15:14:21 UTC
  • Uptime :- 15:14:21 up 6 days, 16:15, 1 user, load average: 1.08, 1.29, 1.29

Memory

  • RAM :- Used: 26.37%
    • Total :- 976.74 MB
    • Used :- 257.57 MB
    • Free :- 719.17 MB
  • Swap :- Used: 0.75%
    • Total :- 100 MB
    • Used :- 768 KB
    • Free :- 99.25 MB

Disk

  • / :- Used: 64.08%
    • Total :- 3.81 GB
    • Used :- 2.44 GB
    • Free :- 1.19 GB
  • /home/pi/data :- Used: 19.38%
    • Total :- 3.21 GB
    • Used :- 636.55 MB
    • Free :- 2.42 GB
  • /boot :- Used: 50.62%
    • Total :- 42.52 MB
    • Used :- 21.52 MB
    • Free :- 21 MB

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 :- 2019-05-09 15:14:20 (UTC 00:00‌​)
  • Stats :- Uptime: 505058 Threads: 4 Questions: 355630 Slow queries: 0 Opens: 34 Flush tables: 1 Open tables: 28 Queries per second avg: 0.704

Redis

  • Version :- 3.2.6
  • Host :- localhost:6379
  • Size :- 334 keys (923.61K)
  • Uptime :- 6 days

MQTT Server

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

PHP

  • Version :- 7.0.33-0+deb9u3 (Zend Version 3.0.0)
  • Modules :- apache2handler | calendar v7.0.33-0+deb9u3 | Core v7.0.33-0+deb9u3 | ctype v7.0.33-0+deb9u3 | curl v7.0.33-0+deb9u3 | date v7.0.33-0+deb9u3 | dom v20031129 | exif v7.0.33-0+deb9u3 | fileinfo v1.0.5 | filter v7.0.33-0+deb9u3 | ftp v7.0.33-0+deb9u3 | gd v7.0.33-0+deb9u3 | gettext v7.0.33-0+deb9u3 | hash v1.0 | iconv v7.0.33-0+deb9u3 | igbinary v2.0.1 | json v1.4.0 | libxml v7.0.33-0+deb9u3 | mbstring v7.0.33-0+deb9u3 | mcrypt v7.0.33-0+deb9u3 | mosquitto v0.4.0 | mysqli v7.0.33-0+deb9u3 | mysqlnd vmysqlnd 5.0.12-dev - 20150407 - $Id: b5c5906d452ec590732a93b051f3827e02749b83 $ | openssl v7.0.33-0+deb9u3 | pcre v7.0.33-0+deb9u3 | PDO v7.0.33-0+deb9u3 | pdo_mysql v7.0.33-0+deb9u3 | Phar v2.0.2 | posix v7.0.33-0+deb9u3 | readline v7.0.33-0+deb9u3 | redis v4.1.1 | Reflection v7.0.33-0+deb9u3 | session v7.0.33-0+deb9u3 | shmop v7.0.33-0+deb9u3 | SimpleXML v7.0.33-0+deb9u3 | sockets v7.0.33-0+deb9u3 | SPL v7.0.33-0+deb9u3 | standard v7.0.33-0+deb9u3 | sysvmsg v7.0.33-0+deb9u3 | sysvsem v7.0.33-0+deb9u3 | sysvshm v7.0.33-0+deb9u3 | tokenizer v7.0.33-0+deb9u3 | wddx v7.0.33-0+deb9u3 | xml v7.0.33-0+deb9u3 | xmlreader v7.0.33-0+deb9u3 | xmlwriter v7.0.33-0+deb9u3 | xsl v7.0.33-0+deb9u3 | Zend OPcache v7.0.33-0+deb9u3 | zlib v7.0.33-0+deb9u3

Pi

  • Model :- Raspberry Pi 3 Model B Rev 1.2 - 1 GB (Sony UK)
  • SoC :- Broadcom BCM2835
  • Serial num. :- 8568CCB
  • Temperature :- 47.24°C - 47.2°C
  • emonpiRelease :- emonSD-30Oct18
  • File-system :- read-write
Client Information

Client Information

HTTP

  • Browser :- Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36
  • Language :- en-GB,en;q=0.9,es-ES;q=0.8,es;q=0.7,en-US;q=0.6

Window

  • Size :- 411 x 731

Screen

  • Resolution :- 411 x 731

All changes are now in master branch, please report any issues. Planning a stable Emoncms V10 release very soon.

(Brian Orpin) #11

Can all the update stuff be moved down? This need is even more obvious on the mobile view.

When you go to the admin page, I suggest the first thing you need is status (so all the services), next Log and finally update.

Think about it in terms of what info/action do you most frequently access on the page. It certainly isn’t update!

Splitting it into sub pages or tabs would IMHO be even better.

(Brian Orpin) #12

Admin page, I’m getting this on a selfhosted - all modules on master

image

(Brian Orpin) #13

Just updated - jumped the gun it has all moved :clap: :clap: :clap:

(Glyn Hudson) #14

By default the update section is collapsed (see below)

Also the update section is not visible to non emonSD users. It’s only visible if $allow_emonpi_admin = true; is enabled in settings.php.

I disagree, I think update is the main reason a non technical user would visit the admin page for. Even myself I don’t often look much at the server info.

I’m unable to recreate this, could you post some more info regarding your setup?

Sorry, what has moved?

(Brian Orpin) #15
Server Information

Server Information

Services

  • emoncms_mqtt :- ActiveRunning
  • feedwriter :- ActiveRunning - sleep 10s 5 feed points pending write
  • service-runner :- ActiveRunning
  • redis-server :- ActiveRunning

Emoncms

  • Version :- low-write 10.0.0-beta
  • Modules :- Administration | App v2.0.0 | Backup v2.0.0 | Dashboard v2.0.0 | Device v2.0.0 | EventProcesses | Feed | Graph v2.0.0 | Input | CoreProcess | Schedule | Time | User | Visualisation
  • Git :- - URL :- https://github.com/emoncms/emoncms.git
  • Branch :- * master
  • Describe :- 9.9.9-121-gd0ce3847

Server

  • OS :- Linux 4.9.0-6-amd64
  • Host :- DietPi-EmoncmsVM | DietPi-EmoncmsVM | (192.168.7.47)
  • Date :- 2019-05-09 17:08:21 BST
  • Uptime :- 17:08:21 up 11 days, 18:40, 1 user, load average: 0.08, 0.03, 0.01

Memory

  • RAM :- Used: 45.40%
    • Total :- 492.5 MB
    • Used :- 223.59 MB
    • Free :- 268.91 MB
  • Swap :- Used: 0.00%
    • Total :- 1.52 GB
    • Used :- 48 KB
    • Free :- 1.52 GB

Disk

  • / :- Used: 43.62%
    • Total :- 7.81 GB
    • Used :- 3.41 GB
    • Free :- 4.31 GB

HTTP

  • Server :- lighttpd/1.4.45 HTTP/1.1 CGI/1.1 443

MySQL

  • Version :- 5.5.5-10.1.26-MariaDB-0+deb9u1
  • Host :- localhost:6379 (127.0.0.1)
  • Date :- 2019-05-09 17:08:21 (UTC 01:00‌​)
  • Stats :- Uptime: 1017608 Threads: 2 Questions: 1856448 Slow queries: 0 Opens: 37 Flush tables: 1 Open tables: 31 Queries per second avg: 1.824

Redis

  • Version :- 3.2.6
  • Host :- localhost:6379
  • Size :- 281 keys (965.68K)
  • Uptime :- 11 days

MQTT Server

  • Version :- Mosquitto ?
  • Host :- 192.168.7.50:1883 (192.168.7.50)

PHP

  • Version :- 7.0.33-0+deb9u3 (Zend Version 3.0.0)
  • Modules :- apcu v5.1.8 | calendar v7.0.33-0+deb9u3 | cgi-fcgi | Core v7.0.33-0+deb9u3 | ctype v7.0.33-0+deb9u3 | curl v7.0.33-0+deb9u3 | date v7.0.33-0+deb9u3 | dom v20031129 | exif v7.0.33-0+deb9u3 | fileinfo v1.0.5 | filter v7.0.33-0+deb9u3 | ftp v7.0.33-0+deb9u3 | gd v7.0.33-0+deb9u3 | gettext v7.0.33-0+deb9u3 | hash v1.0 | iconv v7.0.33-0+deb9u3 | json v1.4.0 | libxml v7.0.33-0+deb9u3 | mbstring v7.0.33-0+deb9u3 | mcrypt v7.0.33-0+deb9u3 | mosquitto v0.4.0 | mysqli v7.0.33-0+deb9u3 | mysqlnd vmysqlnd 5.0.12-dev - 20150407 - $Id: b5c5906d452ec590732a93b051f3827e02749b83 $ | openssl v7.0.33-0+deb9u3 | pcre v7.0.33-0+deb9u3 | PDO v7.0.33-0+deb9u3 | pdo_mysql v7.0.33-0+deb9u3 | Phar v2.0.2 | posix v7.0.33-0+deb9u3 | readline v7.0.33-0+deb9u3 | redis v3.1.6 | Reflection v7.0.33-0+deb9u3 | session v7.0.33-0+deb9u3 | shmop v7.0.33-0+deb9u3 | SimpleXML v7.0.33-0+deb9u3 | sockets v7.0.33-0+deb9u3 | SPL v7.0.33-0+deb9u3 | standard v7.0.33-0+deb9u3 | sysvmsg v7.0.33-0+deb9u3 | sysvsem v7.0.33-0+deb9u3 | sysvshm v7.0.33-0+deb9u3 | tokenizer v7.0.33-0+deb9u3 | wddx v7.0.33-0+deb9u3 | xml v7.0.33-0+deb9u3 | xmlreader v7.0.33-0+deb9u3 | xmlwriter v7.0.33-0+deb9u3 | xsl v7.0.33-0+deb9u3 | Zend OPcache v7.0.33-0+deb9u3 | zip v1.13.5 | zlib v7.0.33-0+deb9u3
Client Information

Client Information

HTTP

  • Browser :- Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36
  • Language :- en-GB,en-US;q=0.9,en;q=0.8

Window

  • Size :- 1624 x 898

Screen

  • Resolution :- 1920 x 1080

DietPi on a VM so nothing particularly special. Viewed in Chrome.

All the update stuff, but it hasn’t moved it’s been hidden. The dropdown though is rather obscure. I think an arrow to open up the options should be done and then an option to chose the update route.

Which is not what was wanted. The idea of the new update options is to provide an update route for all types of installations.

I do like the ability to switch log level though :smile:

(Glyn Hudson) #16

Thanks, we’ll take a look. Assuming the admin page looks ok after you click ok? Also assuming you have cleared browser cache? The css version has been bumped so this should not be an issue.

One of the main differences I notice is that you’re running lightpd rather than apache, this should not be relevant to this issue though. Interesting that Emoncms does not detect your HW as a Pi, on my system I get a RasPi specific section to the admin page:

True, although not sure we’re quite there yet. Does the updated for you on a non emonSD? Obviously the FW update sectionl not be applicable.

I don’t think this is possible since www users should not be able to edit settings.php? Currently it just displays the log level. We plan to use this feature to edit the emonhub log level

(Brian Orpin) #17

Tried it ingcognito - same error

Yes and have done for several years.

That’s because it isn’t :laughing:. It is on an HP Microserver with Esxi.

Honestly I did not try it. I’ll take a snapshot and then try it just in case. I run a script to do it and all the modules.

Ah OK.

Perhaps only read that out of settings once or set an override? It is a good idea to be able to change it on the fly.

1 Like
(Glyn Hudson) #18

This issue should now be fixed by this PR which has now been merged into master. Please could you try to update and test.

Thanks

(Brian Orpin) #19

Yes fixed. Thanks.

2 Likes
(Glyn Hudson) split this topic #20

A post was split to a new topic: emonSD issues created using new scripts