Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.
/ apstatus Public archive

Node & React.js application for monitoring apartment status

License

Notifications You must be signed in to change notification settings

rrudd/apstatus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

apstatus

A lightweight node.js & react.js application for monitoring apartment status using the Raspberry Pi. Currently supports temperature and humidity readings.

Prerequisites

Installation

  1. Run npm install node-dht-sensor to install sensor module. Omitted from requirements for development purposes. More information here.
  2. Run npm install to install server dependencies.

Usage

Run sudo npm start, and access the application on port 8080. The server needs root access in order to get readings from the sensor.

Note that the default configuration uses a DHT22 connected via GPIO4, this can be configured in sensor.js by editing the line dhtSensor.initialize(22, 4);.

Known issues

The default repositories on Raspbian may have an outdated version of node.js. The easiest way of solving this is installing node from the Adafruit repo.

About

Node & React.js application for monitoring apartment status

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published