This code provide ability to control Load - Electric Radiator (ER) with Solid State Relay SSR. The application supports 2 modes of control:
- Manual enable/disable the ER.
- Automatic KEEP mode - will keep defined temperature in given range. The application has many security checks, in order to protect the work with the heater, while the user is sleeping or not at home. See Security section.
- DallasTemperature https://github.com/milesburton/Arduino-Temperature-Control-Library
- NTPClient https://github.com/arduino-libraries/NTPClient
- ESP8266Ping https://github.com/dancol90/ESP8266Ping
https://easyeda.com/normal/SmartRoomHeater_Scheme-ce48bbb9c10f4db7baa1a9dd215906da https://easyeda.com/editor#id=ce48bbb9c10f4db7baa1a9dd215906da
Put folders from downloaded archives under /home/USER/Arduino/libraries/
In Smart Heater project used:
- 2 * DS1822+ https://datasheets.maximintegrated.com/en/ds/DS1822.pdf 9-12bit -55-125
- 1 * nodeMCU
- 1 * Solid state Relay FOTEK SSR-25 DA
- 1 * 220v to 5v USB PS
- On WiFi disconnect the load will be disabled(KEEP mode only)
- Delay between disable to enable- default 60 seconds(KEEP mode only)
- In case temperature value is anomalous the load will be disabled
- Watch inside thermometer, the maximum inside temperature is MAX_POSSIBLE_TMP_INSIDE
- Check Internet connectivity, if there is no ping to 8.8.8.8, load will be disabled
- Add reconnect after X pings failures
- Added _FLAG_FORCE_TMP_CHECK, When true will cause to immediately check, used also when thermometer wire were troubled
Releases and pre-releases can be found here https://github.com/AndreyShamis/SmartRoomHeater/releases Production release v0.5
- Enable/Disable graph
- Timer for KEEP mode
- Timer for disable
- Add scheme of connection
For code review used https://review.gerrithub.io Integrated with TRAVIS CI
Andrey Shamis [email protected] @AndreyShamis