Node Pi Alarm brings alarm zones and altitude-corrected pressure to a Raspberry Pi dashboard

Raspberry Pi, IoT, alarms

This is the read-only HTML version. For the full Visual Space experience, open the app.

Raspberry Pi, sensor dashboard

Raspberry Pi, sensor dashboard

Source: Node Pi Alarm on Hackaday.io · Alpha Charlie

Sensors, Node.js, barometer

A JavaScript home-alarm project doubles as an environmental dashboard. Its June 2016 logs show how altitude and heat behind a TV complicated the pressure readout—and how its creator adjusted the display to make it more useful.

🎉 1

A home-alarm dashboard can collect plenty of sensor readings, but making those readings useful takes more than putting them on a screen. Alpha Charlie’s Node Pi Alarm on Hackaday.io combines a Raspberry Pi alarm system with a Node.js web interface and environmental monitoring. Its June 2016 logs offer a particularly useful detail: even a barometer needs to account for where the hardware lives.

Created on June 21, 2015, the project is described as written entirely in JavaScript. The overview lists separate zones for motion, entry and fire sensors, alongside email alerts, a local alarm, remote unlock, camera integration and logging. Temperature, humidity and pressure readings share that broader monitoring role. These are the creator’s described capabilities, not evidence of a certified security or fire-alarm system.

One interface for alarm and environmental sensors

The visible component list includes a Raspberry Pi 2 or 3, six HC-SR501 PIR motion sensors and a Pimoroni VESA mount. The project also describes analog-to-digital conversion for analog smoke and gas sensors, bringing different sensor types into the same application.

In the June 7, 2016 interface update, Alpha Charlie described replacing text-based sensor readouts with Google Charts gauges. The revised interface had six labeled, color-coded gauges and an icon beside the barometer showing whether pressure was rising, falling or stable.

That distinction matters: a pressure number gives a current reading, while a trend indicator helps show how conditions are changing. The later log explains how the application derived that trend rather than merely decorating the gauge.

The barometer needed location and mounting corrections

Node Pi Alarm initially displayed absolute pressure. Alpha Charlie reported that this was accurate but didn’t line up with local weather reports because the installation was almost 2,000 metres above sea level. In the barometer adjustment log, also dated June 7, 2016, the creator added a sea-level correction using altitude and temperature.

The mounting position introduced another wrinkle. Installed behind a TV, the system reportedly ran about 3°C warmer than ambient. Alpha Charlie accounted for that in the pressure calculation, with altitude and temperature-offset variables declared near the beginning of the file. The correction therefore depended on both the site’s elevation and the installation’s local heat.

For the trend display, the application sampled pressure every two minutes and maintained two rolling averages: one covering ten minutes and another covering eight hours. A short average above the long average indicated rising pressure; the reverse indicated falling pressure. Alpha Charlie described the approach as imperfect but apparently working. The excerpt doesn’t specify the threshold used for the interface’s “stable” state.

Installation is part of the measurement

The project links its Node Pi Alarm code repository and a separate node-ads1x15 repository for anyone interested in investigating the implementation. The supplied logs document these dashboard changes in 2016, rather than establishing present-day maintenance or operational reliability.

The useful lesson is in the gap between collecting data and interpreting it. Here, the enclosure’s surroundings affected temperature, temperature entered a pressure correction, and averaging turned readings into a trend. For a similar IoT dashboard, checking sensor placement and calibration is at least as important as choosing the gauge that displays the result.

Source: Node Pi Alarm

Internet Of Things

2 Followers

Connect useful things with clear purpose. Explore sensors, embedded devices, networks and automation; share projects, troubleshoot integrations, and compare approaches to reliability, power use, security and maintaining connected systems.

Visual Space is built for projects like this—where creators collaborate, organize goals, and grow communities around real work.