MQTT Listener and RGPIO manager
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
modules
params
systemd
.gitignore
LICENSE
README.md
index.js
package.json
yarn.lock

README.md

🏠 👂

  • Add your user on gpio group
sudo adduser <your user> gpio
  • Add permission to the library access the GPIO
cat >/etc/udev/rules.d/20-gpiomem.rules <<EOF
SUBSYSTEM=="bcm2835-gpiomem", KERNEL=="gpiomem", GROUP="gpio", MODE="0660"
EOF

Systemd

  • Copy systemd/housear.service to /etc/systemd/system/housear.service
  • Run sudo systemctl enable housear.service to enable the service
  • Run sudo systemctl start housear.service to start the service
  • Run sudo systemctl status housear.service to check the service status