rkoshak / sensorReporter

A python based service that receives sensor inputs and publishes them in various ways.
Apache License 2.0
105 stars 41 forks source link

fix lgpio permission for service #130

Closed DanielDecker closed 6 months ago

DanielDecker commented 6 months ago

The lgpio library writes a state file to the sensorReporter root directory. Tests showed missing permissions for the sensorReporter user when running as a service.

updated GPIO readme to mention this fact set folder permissions during setup to allow read/write access for user pi and sensorReporter (if service selected)

rkoshak commented 6 months ago

LGTM!