Skip to content

mikeboers/risa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

Setup sensor overlay.

vim /boot/config.txt

add: dtoverlay=w1-gpio

Install our dependencies (system-wide).

ntp is required to keep the clocks accurate

pacman -S python-setuptools python-pip make gcc ntp pip install rpi.gpio

Create a group for those who have permission to do GPIO.

groupadd --system gpio

Create the user for running as.

useradd -m -d /var/lib/risa risa usermod -aG gpio risa

If you want to be in that group too!

usermod -aG gpio mikeboers

Setup the config; atleast SECRET and DEVICE_NAME

touch /etc/risa chown risa:risa /etc/risa chmod ug=rw,o= /etc/risa vi /etc/risa # EDIT HERE

Setup systemd

cp etc/systemd/* /etc/systemd/system/ systemctl enable gpio-perms systemctl start gpio-perms

About

A DIY themostat

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages