Skip to content
/ config Public
forked from emoncms/config

Emoncms emonhub.conf and emoncms configuration module for low-write raspberry pi based installations of emoncms

Notifications You must be signed in to change notification settings

emrysr/config

 
 

Repository files navigation

emonHub Config Module

Emoncms emonhub.conf and emoncms configuration module for low-write raspberry pi based installations of emoncms

config

Prerequisites

Emoncms, Emonhub (emon-pi varient) should be installed

Install

Install module

cd /var/www/emoncms/Modules
git clone https://github.com/emoncms/config

Check for database updates in Emoncms admin

Change permissions on emonhub.conf to allow web user to edit

sudo chmod 666 /home/pi/data/emonhub.conf

Install sudoers entry to allow emonhub to be restarted

sudo cp emonhub-sudoers /etc/sudoers.d/
sudo chmod 0440 /etc/sudoers.d/emonhub-sudoers

Give web user permission to read the emonhub systemd log

Emonhub service has now been swtiched to using systemd, to allow the emonhub config module to read the systemd log we need to add the following group permissions.

sudo usermod -a -G systemd-journal www-data

About

Emoncms emonhub.conf and emoncms configuration module for low-write raspberry pi based installations of emoncms

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 87.6%
  • PHP 12.0%
  • Other 0.4%