UNPKG

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.

8 lines (7 loc) 206 B
/** Posts a stringified JSON object and returns the response. */ export declare function httpPostJSON(params: { host: string; port: number; path?: string; json: string; }): Promise<string>;