thermostat-pi-dht
Version:
A Node.js framework (standalone app + lib) to control a heating system with a Raspberry Pi using DHT11 or DHT22/AM2302 sensors and GPIO actuators.
13 lines (12 loc) • 557 B
TypeScript
import { ThermostatSetpoint } from './ThermostatSetpoint';
/** Configuration data for a single thermostat. */
export interface ThermostatConfiguration extends ThermostatSetpoint {
/** GPIO pin to which the sensor is connected. */
sensorPin?: number;
/** The sensor's type. Must be either 11 (DHT11) or 22 (DHT22/AM2302). */
sensorType?: number;
/** GPIO pin to which the actuator is connected. */
actuatorPin?: number;
/** A simple correction of the measured temperature by a fixed summand. */
temperatureSummand?: number;
}