Python and Node.js scripts for a weather station
JavaScript Python
Switch branches/tags
Nothing to show
Clone or download
leon-anavi weather-station.js: fix timer bug
Signed-off-by: Leon Anavi <leon@anavi.org>
Latest commit 9b1edca Jan 4, 2016

README.md

weather-station

Python and Node.js scripts for a weather station using Raspberry Pi Sense HAT

#Hardware

  • Raspberry Pi
  • Raspberry Pi Sense HAT

#Installation

mkdir -p /opt/rabbitpi/
git clone https://github.com/RabbitPi/weather-station.git /opt/rabbitpi/weather-station/
  • Install
cd /opt/rabbitpi/weather-station
npm install
  • Copy and edit configurations
mkdir -p /etc/rabbitpi/
cp /opt/rabbitpi/weather-station/weather-station.json /etc/rabbitpi/weather-station.json
  • Deploy systemd service
cp /opt/rabbitpi/weather-station/systemd/rabbitpi-weather-station.service /lib/systemd/system/rabbitpi-weather-station.service
systemctl daemon-reload
  • Launch automatically the systemd service on every boot
systemctl enable rabbitpi-weather-station
  • Start manually the systemd service
systemctl start rabbitpi-weather-station