Check the article published at: https://pdcastro.github.io/mains-io
This repo contains:
-
docs
folder - Contents of the article (Jekyll website) linked above. -
lib
,scripts
,Dockerfile
and others - Trivial Raspberry Pi app to support some experiments. The app monitors a GPIO input pin and replicates the input state to an output pin. The pin numbers are currently defined inlib/index.ts
.
The app was tested with the balena platform
(docs).
If your balena fleet was called "ssr", the app could be deployed with the balena
CLI's command "balena push ssr"
on the directory where this repo was cloned.