This commit is contained in:
Skylar Grant 2022-12-21 14:16:29 -05:00
parent 595d46dda2
commit 8890e8acbd
3 changed files with 4 additions and 62 deletions

View File

@ -1,5 +1,5 @@
# pscontrolpanel
Node.js Raspberry Pi Pellet Stove Controller
# Hestia
Node.js Raspberry Pi Pellet Stove Controller, named after the Greek virgin goddess of the hearth.
# About
This project seeks to replace the OEM control panel on a Lennox Winslow PS40 pellet stove with a Raspberry Pi. I will be utilizing a Raspberry Pi Zero W, relays, and switches already installed on the pellet stove. I chose a Pi Zero W for its small form factor, the lack of pre-installed headers, its wireless connectivity, and familiarity with the platform. I had previously used an Arduino Nano for a much more rudimentary version of this project and found great difficulty in making adjustments to the code. Additionally the Raspberry Pi platform will allow for expansion in the future to include IoT controls and logging of usage utilizing networked databases. The project will be written using Node.js and the rpi-gpio Node module. I've chosen Node.js for its familiarity as well as ease of implementation of a web server for future expansion.

58
log.txt
View File

@ -1,58 +0,0 @@
[0] I: Not running on a Raspberry Pi.
== Lennox Winslow PS40
== Pellet Stove Control Panel
== Author: Skylar Grant
== Version: v0.2.1
==
== Startup Time: 2022-12-21T18:47:51.607Z
==
== Environment variables:
== == ONTIME=500
== == OFFTIME=1500
== == PAUSETIME=3000
== == DEBUG=true
== == ONPI=false
[0.008] I: == GPIO Not Available
[0.008] I: Pausing for 3000ms
[3.012] I: Pausing for 3000ms
[6.014] I: Pausing for 3000ms
[9.016] I: Pausing for 3000ms
[12.018] I: Pausing for 3000ms
[15.019] I: Pausing for 3000ms
[18.02] I: Pausing for 3000ms
[21.021] I: Pausing for 3000ms
[24.022] I: Pausing for 3000ms
[27.024] I: Pausing for 3000ms
[30.027] I: Pausing for 3000ms
[33.029] I: Pausing for 3000ms
[36.031] I: Pausing for 3000ms
[39.032] I: Pausing for 3000ms
[42.032] I: Pausing for 3000ms
[45.034] I: Pausing for 3000ms
[48.035] I: Pausing for 3000ms
[51.037] I: Pausing for 3000ms
[54.039] I: Pausing for 3000ms
[57.04] I: Pausing for 3000ms
[60.041] I: Pausing for 3000ms
[63.043] I: Pausing for 3000ms
[66.044] I: Pausing for 3000ms
[69.046] I: Pausing for 3000ms
[72.048] I: Pausing for 3000ms
[75.049] I: Pausing for 3000ms
[78.05] I: Pausing for 3000ms
[81.052] I: Pausing for 3000ms
[84.054] I: Pausing for 3000ms
[87.055] I: Pausing for 3000ms
[90.057] I: Pausing for 3000ms
[93.059] I: Pausing for 3000ms
[96.061] I: Pausing for 3000ms
[99.063] I: Pausing for 3000ms
[102.064] I: Pausing for 3000ms
[105.065] I: Pausing for 3000ms
[108.065] I: Pausing for 3000ms
[111.067] I: Pausing for 3000ms
[114.069] I: Pausing for 3000ms
[117.071] I: Pausing for 3000ms
[120.071] I: Pausing for 3000ms
[123.073] I: Pausing for 3000ms
[126.075] I: Pausing for 3000ms

View File

@ -1,12 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<title>Pellet Stove Web Portal</title>
<title>Hestia Web Portal</title>
<link rel="stylesheet" href="/main.css">
</head>
<body onload="refreshData()">
<%- include('trial.html') -%>
<div id="title">Pellet Stove Web Portal</div>
<div id="title">Hestia Web Portal</div>
<div id="status">Auger: <span id="auger-status"></span> | Igniter: <span id="igniter-status"></span> | Combustion Blower: <span id="blower-status"></span></div>
<div id="safeties">Vacuum: <span id="vacuum-status"></span> | Proof of Fire: <span id="pof-status"></span></div>
<div id="controls-container">