Community
OpenEnergyMonitor

Community

Emoncms v9.7 - Emoncms admin Raspberry Pi system stats & reboot

Tags: #<Tag:0x00007fc9c4110d38> #<Tag:0x00007fc9c4110bf8>

Emoncms v9.7 has just been merged into stable branch, see full change log. This release includes several nice changes to the admin page that @Andy_Taylor has been working on.

  • Improved system stats
    • File system Disk space usage
    • RAM usage, CPU temp (Raspberry Pi only)
  • Shutdown / Reboot via admin web interface (Raspberry Pi only)

The shutdown / reboot button functionality requires ,/sbin/shutdown appended onto the end of the www-data line in /etc/sudoers. We will roll out an emonPi update soon to automate this change for all emonSD users. Until the change in sudoers file is made the shutdown / reboot button will not appear.

2 Likes

For the self-build emonbase users, add;

www-data ALL=(ALL) NOPASSWD:/sbin/shutdown

at the end of the /etc/sudoers file.

Paul

1 Like

I’ve finally got round to adding an entry to the emonPi Emoncms updater script to auto add the sudoers entry for the reboot button for all users.

Finally as of this evening, all users (after hitting emonPi update) will be able to benefit from @Andy_Taylor 's great work adding a reboot / shutdown button :grinning:

Here is the entry to the updater script:

Please feedback if it works for you :slight_smile: