Difference between revisions of "LevelControl"
Line 21: | Line 21: | ||
=== Remote Threshold configuration === | === Remote Threshold configuration === | ||
+ | (feature implemented only on github version dated after Aug 10th, 2017) | ||
+ | |||
This plugin has the ability to change the Treshold (Set value in the GUI) with a command that can be send through HTTP/MQTT. | This plugin has the ability to change the Treshold (Set value in the GUI) with a command that can be send through HTTP/MQTT. | ||
Revision as of 19:05, 10 August 2017
Many people have requested some sort of local level control on the ESP Easy. This is something that would normally be handled by the Home Automation controller. But if you really need to have something like a locally controlled heater, you could use the Level Control plugin.
Contents
Introduction
The ESP module can be used as a level controlling device, think of a simple temperature control unit. Use a DS18B20 temperature sensor and a solid state relay to control a heater. Connect this solid state relay to a GPIO pin.
Hardware
Depends on what you want to control. For a 220 Volts heater, you could use classic or solid state relay.
Connections
You need to connect a relay to the selected GPIO.
Software
ESP Easy
You have to enter some IDX, even if this is not used. In this sample, we have connected a DS18B20 sensor and the heater is controlled using GPIO 12. We have set the required temperature to 21 degree with a hysteresis of 1 degree.
Remote Threshold configuration
(feature implemented only on github version dated after Aug 10th, 2017)
This plugin has the ability to change the Treshold (Set value in the GUI) with a command that can be send through HTTP/MQTT.
Syntax
config,task,<taskname>,setlevel,<value|calculation>
Example if your task name is set to "heater" and the threshold needs to be 21 degrees:
config,task,heater,setlevel,21