https://www.letscontrolit.com/wiki/inde ... velControl
The documentation about the plugin assumes that the gpio/relay will be ON below the target temperature +0.5 hysteresis etc. - (heating regime)
Is it possible to reverse the logic i.e. gpio/relay OFF when below and ON when above? - (that will correspond to cooling regime)
An earlier version of the plugin had different interface, with temperature ON and temperature OFF which is enough to define target temperature, hysteresis and regime
https://www.letscontrolit.com/forum/vie ... ?f=6&t=220
LevelControl - reverse logic/regime
Moderators: grovkillen, Stuntteam, TD-er
Re: LevelControl - reverse logic/regime
I was looking for the same.pmitev wrote: ↑06 May 2017, 11:10 https://www.letscontrolit.com/wiki/inde ... velControl
The documentation about the plugin assumes that the gpio/relay will be ON below the target temperature +0.5 hysteresis etc. - (heating regime)
Is it possible to reverse the logic i.e. gpio/relay OFF when below and ON when above? - (that will correspond to cooling regime)
An earlier version of the plugin had different interface, with temperature ON and temperature OFF which is enough to define target temperature, hysteresis and regime
https://www.letscontrolit.com/forum/vie ... ?f=6&t=220
You have two options :
1. modify source code of plugin and compile espeasy yourself
In the source code, look where the GPIO is being written (some DigitalWrite...) and there swap HIGH and LOW --> Compile your own version of ESP Easy
Keep in mind, that from that day (until someone enables the reverse tick box again...) you will have to do that on every firmware update.
2. Don't use the level control
It is fairly easy to give the same functionality via the rules engine. I prefer that way, more flexible.
3. Use formula option in the temp device and use "*-1" to make the values negative. should also work
I use option two. By far the easiest.
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8
Re: LevelControl - reverse logic/regime
Indeed, this what I amusing.2. Don't use the level control
It is fairly easy to give the same functionality via the rules engine. I prefer that way, more flexible.
This is really smart workaround! Thanks.3. Use formula option in the temp device and use "*-1" to make the values negative. should also work
Who is online
Users browsing this forum: Bing [Bot] and 23 guests