ESP Rules

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
DaveS
Normal user
Posts: 25
Joined: 12 Feb 2018, 17:35

ESP Rules

#1 Post by DaveS » 12 Feb 2018, 17:46

Good Day All,

Thanks to everyone involved in the development of this brilliant firmware for the ESP8266, I have found it most useful and stable.

I am building a peltier temperature controller for home brewing fermentation, IO 12 to cool and IO 14 to heat,the rules below are working well,but I need both GPIO pins taken low when temperature is between 6 and 7 degrees.

What rule can be used to implement this ?

Does ESPeasy support =< and => ?

Have tried but it does not seem to work,unless my syntax is wrong.

On Fermenter_Temp#Fermenter_Temperature<6 do
gpio,12,0
gpio,14,1
endon

On Fermenter_Temp#Fermenter_Temperature>7 do
gpio,14,0
gpio,12,1
endon

Cheers Dave

Micha_he
Normal user
Posts: 372
Joined: 07 Feb 2018, 19:14
Location: Helmstedt, Germany

Re: ESP Rules

#2 Post by Micha_he » 12 Feb 2018, 17:52

add...

Code: Select all

On Fermenter_Temp#Fermenter_Temperature>6 do
	gpio,14,0
endon

On Fermenter_Temp#Fermenter_Temperature<7 do
	gpio,12,0
endon

DaveS
Normal user
Posts: 25
Joined: 12 Feb 2018, 17:35

Re: ESP Rules

#3 Post by DaveS » 12 Feb 2018, 18:21

Those rules perfectly,thanks

Do ESPeasy rules support =< and => or only <,> and =

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: ESP Rules

#4 Post by grovkillen » 12 Feb 2018, 18:25

DaveS wrote: 12 Feb 2018, 18:21 Those rules perfectly,thanks

Do ESPeasy rules support =< and => or only <,> and =
Only < > = are supported.

But X=>10 can be changed to X>9.99 for almost the same result.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

Post Reply

Who is online

Users browsing this forum: No registered users and 64 guests