Search found 25 matches

by DaveS
23 Apr 2019, 19:25
Forum: ESP Easy: Software
Topic: Why does this rule stop working ?
Replies: 2
Views: 3717

Re: Why does this rule stop working ?

Will have the timer set a variable,
Thanks for the info.
Regards Dave
by DaveS
11 Apr 2019, 19:23
Forum: ESP Easy: Software
Topic: Why does this rule stop working ?
Replies: 2
Views: 3717

Why does this rule stop working ?

Hi Chaps, I am using version mega-20190305 This is a home brew beer fermentation chamber controller. I need a 15 minute timeout after the fridge compressor turns off before it gets turned on again. The rules below work once after boot when the temp rises above 18 degrees but once the temperature dro...
by DaveS
02 Apr 2019, 19:49
Forum: ESP Easy: Hardware
Topic: Support for PZEM 004T Energy monitor
Replies: 309
Views: 6664026

Re: Support for PZEM 004T Energy monitor

Cheers mate.
Very nice work !
by DaveS
01 Apr 2019, 18:29
Forum: ESP Easy: Hardware
Topic: Support for PZEM 004T Energy monitor
Replies: 309
Views: 6664026

Re: Support for PZEM 004T Energy monitor

@serjkru. Please could you post the wiring schematic for the PZEM-004 modules to the ESP-8266 module,I do not see the pdf file. Looking at the wiring picture posted earlier, you are sequentially supplying power to the PZEM modules and taking readings to send to openhab. Good idea to save IO pins ! T...
by DaveS
26 Feb 2019, 19:03
Forum: ESP Easy: Software
Topic: How to read an IO pin state in rules ?
Replies: 4
Views: 5400

Re: How to read an IO pin state in rules ?

grovkillen wrote: 25 Feb 2019, 19:24 If you use custom events you can use those to do more advanced rules.
This now working well.
Thank you for the tip :idea:
by DaveS
25 Feb 2019, 17:07
Forum: ESP Easy: Software
Topic: How to read an IO pin state in rules ?
Replies: 4
Views: 5400

How to read an IO pin state in rules ?

Hi All, I have the rule below working fine,however I want to be able to disable both rules when needed by setting an IO pin high from openhab. I can successfully toggle IO12 from openhab,I can see this in tools > pin state buffer,how do I read this pin state in rules to disable them when IO12 is hig...
by DaveS
28 Jan 2019, 19:04
Forum: ESP Easy: Projects / Applications
Topic: MQTT control IRsend plugin ?
Replies: 2
Views: 4688

Re: MQTT control IRsend plugin ?

Hi Iron, It works perfectly. Thanks for your help ! FYI - I had to use ESPeasy _V147_RC8 to get the amp to respond to IR commands. The later version of ESPeasy I tried first,flashed the red LED I fitted across the IR LED (so I can see if anything is going on) but amp did not respond. Looks like a va...
by DaveS
25 Jan 2019, 19:02
Forum: ESP Easy: Projects / Applications
Topic: MQTT control IRsend plugin ?
Replies: 2
Views: 4688

MQTT control IRsend plugin ?

I am running espeasy mega-20180822 and have it controlling my home theatre amp using HTTP but would like to use MQTT to send IR signals. http://192.168.100.1/control?cmd=IRSEND,NEC,3CC302FD,32 turns my amp on or off. What should the MQTT command look like if the unit name is BarIR and the device nam...
by DaveS
17 Jan 2019, 16:40
Forum: ESP Easy: General Discussion
Topic: endif vs endon
Replies: 2
Views: 3861

Re: endif vs endon

Thanks,
Are looking at the linked age now,
Cheers
by DaveS
17 Jan 2019, 16:15
Forum: ESP Easy: General Discussion
Topic: endif vs endon
Replies: 2
Views: 3861

endif vs endon

Hi Chaps,
Could someone explain the difference between endif and endon used in espeasy rules and when each one should be used ?
I have looked at the wiki and it seems endif is needed when if / else statements are used,would like some further explanation.
cheers
by DaveS
11 Jan 2019, 19:59
Forum: ESP Easy: Software
Topic: Possible to use previoustate in rules ?
Replies: 4
Views: 5320

Re: Possible to use previoustate in rules ?

Thanks iron for the idea,rule below working perfectly, I was thinking of setting up a dummy item but this is a simpler method .. On WaterLevel#Litres>220 do if [TankSolenoid#State]=0 gpio,13,1 gpio,14,0 Pulse,4,1,500 endon On WaterLevel#Litres<220 do if [MuniSolenoid#State]=0 gpio,14,1 gpio,13,0 Pul...
by DaveS
10 Jan 2019, 19:26
Forum: ESP Easy: Software
Topic: Possible to use previoustate in rules ?
Replies: 4
Views: 5320

Re: Possible to use previoustate in rules ?

Hi,
Thanks for the reply,however I am trying to configure the rules so they trigger once only when the waterlevel#litres>10 and again when waterlevel#litres<10 condition is met,not pulse the solenoid control IO's over and over.
by DaveS
10 Jan 2019, 17:48
Forum: ESP Easy: Software
Topic: Possible to use previoustate in rules ?
Replies: 4
Views: 5320

Possible to use previoustate in rules ?

Hi Chaps, ESPeasy is monitoring my rain water tanks and controlling 2 latching solenoid valves - one on tank supply to house and another on the council water feed. I use the rules below but the solenoids are pulsed every few seconds even if their state does not need to change. On WaterLevel#Litres>1...
by DaveS
01 Oct 2018, 17:45
Forum: ESP Easy: Software
Topic: How to disable rule at a specific time ?
Replies: 28
Views: 33323

Re: How to disable rule at a specific time ?

Good idea,will set it up like that.
Thank you
by DaveS
28 Sep 2018, 20:08
Forum: ESP Easy: Software
Topic: How to disable rule at a specific time ?
Replies: 28
Views: 33323

Re: How to disable rule at a specific time ?

on Pir_Sensor#Pir=1 do if [LDR#Analog]>1000 AND [Saturday#Inhibit]=0 Publish RGB/0017F169/color/set,200,200,200 Publish RGB/0017F169/brightness/set,200 endif endon on Pir_Sensor#Pir=0 do if [LDR#Analog]>1000 AND [Saturday#Inhibit]=0 Publish RGB/0017F169/state/set,OFF endif endon These rules are wor...
by DaveS
28 Aug 2018, 17:50
Forum: ESP Easy: Software
Topic: How to disable rule at a specific time ?
Replies: 28
Views: 33323

Re: How to disable rule at a specific time ?

The PIR delay is set to 1 as I wanted a quick response once motion is detected.
Will this constant publishing slow broker response down at all ?
Openhab and mosquitto broker is running on a Pi 2.
Thanks again for the help chaps !
by DaveS
27 Aug 2018, 17:56
Forum: ESP Easy: Software
Topic: How to disable rule at a specific time ?
Replies: 28
Views: 33323

Re: How to disable rule at a specific time ?

On Clock#Time=Sat,16:00 do TaskValueSet 3, 1, 1 endon On Clock#Time=Sat,22:00 do TaskValueSet 3, 1, 0 endon on Pir_Sensor#Pir=1 do if [LDR#Analog]>1000 AND [Saturday#Inhibit]=0 Publish RGB/0017F169/color/set,200,200,200 Publish RGB/0017F169/brightness/set,200 endif endon on Pir_Sensor#Pir=0 do if [...
by DaveS
24 Aug 2018, 17:35
Forum: ESP Easy: Software
Topic: How to disable rule at a specific time ?
Replies: 28
Views: 33323

Re: How to disable rule at a specific time ?

Thank you Toffel969,
That is exactly what I want to achieve.
Will try it.
Regards
Dave
by DaveS
23 Aug 2018, 17:59
Forum: ESP Easy: Software
Topic: How to disable rule at a specific time ?
Replies: 28
Views: 33323

Re: How to disable rule at a specific time ?

I saw that but it details how to enable a rule or some operation,not disabling a rule.
I understand the day and time configuration but do not know how to implement the disabling of the rule between the 2 times
I will search further then.
by DaveS
22 Aug 2018, 19:02
Forum: ESP Easy: Software
Topic: How to disable rule at a specific time ?
Replies: 28
Views: 33323

How to disable rule at a specific time ?

Hi All, How can I disable the rule below every saturday from 16:00 till 23:00 only,every other day rule must be active. on Pir_Sensor#Pir=1 do if [LDR#Analog]<500 Publish RGB/0017F169/color/set,200,200,200 Publish RGB/0017F169/brightness/set,200 else Publish RGB/0017F169/brightness/set,0 endif endon...
by DaveS
23 Jul 2018, 19:24
Forum: ESP Easy: Software
Topic: Filter Rule For Ultrasonic Distance Sensor
Replies: 0
Views: 2738

Filter Rule For Ultrasonic Distance Sensor

Hi All, Please help a noob with espeasy rules ... I have a JSN-SR04T waterproof ultrasonic sensor I intend to measure water level in a rain water harvesting tank. These sensors also work with the newping libary. When testing the sensor,every so often a zero value is returned otherwise readings are q...
by DaveS
04 May 2018, 17:46
Forum: ESP Easy: Hardware
Topic: Support for PZEM 004T Energy monitor
Replies: 309
Views: 6664026

Re: Support for PZEM 004T Energy monitor

Thank you maluko.
Will compile this and test it.
Only need MQTT functionality !
by DaveS
03 May 2018, 19:24
Forum: ESP Easy: Hardware
Topic: Support for PZEM 004T Energy monitor
Replies: 309
Views: 6664026

Re: Support for PZEM 004T Energy monitor

Hi All, Have flashed a wemos D1 mini and a nodemcu module with the firmware build posted on this thread (ESPEasy-2.0.0-dev12_test_4096.bin.zip) with the same results. All options can be configured with no issues until selecting the PZEM004 as a device and configuring GPIO's and pressing submit radio...
by DaveS
12 Feb 2018, 18:21
Forum: ESP Easy: Software
Topic: ESP Rules
Replies: 3
Views: 4722

Re: ESP Rules

Those rules perfectly,thanks

Do ESPeasy rules support =< and => or only <,> and =
by DaveS
12 Feb 2018, 17:46
Forum: ESP Easy: Software
Topic: ESP Rules
Replies: 3
Views: 4722

ESP Rules

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 b...