rpid can be installed as a systemd service. Before installation, you can run it in foreground mode to check if it works as expected.
- pi user must be added to the same group as /dev/gpiomem in (source).
- i2c interface should be enabled using
Interface Options
menu inraspi-config
. Installingi2c-tools
could be beneficial as well, to runi2cdetect -y
for example. - /var/log directory must be writable by the user under which the service will be running
Download the latest release from https://github.com/parMaster/rpid/releases
$ tar -xvf rpid-<version>.tar.gz
$ cd rpid-<version>
edit config.yml according to your needs
edit rpid.service file, specify user under which the service will be running, default is: User=pi
then run:
$ ./rpid
If you want to run it as a service, use this command to install it:
$ make deploy
$ git clone https://github.com/parMaster/rpid.git
$ cd rpid
edit config/config.yml according to your needs
$ make deploy
Download the latest release from https://github.com/parMaster/rpid/releases
$ tar -xvf rpid-<version>.tar.gz
$ cd rpid-<version>
$ make deploy
$ make remove
stops service and removes everything