Search found 469 matches
- 03 May 2019, 11:48
- Forum: ESP Easy: Hardware
- Topic: No I2C with Sonoff 4CH R2
- Replies: 7
- Views: 26747
Re: No I2C with Sonoff 4CH R2
Here is the known GPIO list for the Sonoff 4CH R2: GPIO 00 - Button 1 GPIO 04 - Relay 3 GPIO 05 - Relay 2 GPIO 09 - Button 2 GPIO 10 - Button 3 GPIO 12 - Relay 1 GPIO 13 - WiFi LED GPIO 14 - Button 4 GPIO 15 - Relay 4 Then there are chances you can't use I2C with yout sonoff 4CH Pro due to the fact...
- 05 Dec 2018, 09:23
- Forum: ESP Easy: Software
- Topic: LED, LDR and timer using Rules
- Replies: 2
- Views: 4367
Re: LED, LDR and timer using Rules
I really thought I would be able to get this to work, but apparently not. I am not sure if I am supposed to use a virtual switch. Idea: LDR measures light level. If light level is < 600 turn on LED and start a 5 second timer. After 5 seconds turn off the LED. If the light level is > 600 turn off th...
- 19 Nov 2018, 14:09
- Forum: uPyEasy: Hardware
- Topic: Input switch ... only ON needed
- Replies: 1
- Views: 15775
Re: Input switch ... only ON needed
Hi! First I want to tell you how much I am impressed on what you are doing!!! Great Job! It is related to the Volkszaehler.org and the transmission of pulses from the meter. When a pulse is given, I need to post a "1" via http to the server. Everyhing I could manage very easily - thanks t...
- 14 Nov 2018, 09:47
- Forum: ESP Easy: Projects / Applications
- Topic: BH1750 - heating status
- Replies: 14
- Views: 11587
Re: BH1750 - heating status
ok, thx. So I will try to setup a dummy switch which will be set by a rule if lux >2. This will indicated the LED is on. But I have a question on the timer and long press. How does the sample rule distinguish between short press and still pressed? Is this because the timer was triggered and when th...
- 14 Nov 2018, 09:38
- Forum: ESP Easy: Software
- Topic: Sliding average dummy device
- Replies: 6
- Views: 9044
- 02 Oct 2018, 14:37
- Forum: ESP Easy: Software
- Topic: Help with Rules
- Replies: 4
- Views: 5551
Re: Help with Rules
Hi all I have connected a ESP8266-01 to PCF8574 in order to control four relays and using two input for getting the status from my GaragePort. All is working, but the status of the two inputs is being sent to my Domoticz server every 30 sec via rules: n GaragePortStatusClose#Switch=0.00 do SendToHT...
- 02 Oct 2018, 14:19
- Forum: ESP Easy: General Discussion
- Topic: Tips for shortening rules
- Replies: 16
- Views: 14693
Re: Tips for shortening rules
Hi Maybe a small improvement only,but I think you could already shorten the rules quite a bit. On [RFID#Tag]=1899267376 do gpio,13,0 gpio,14,1 event,open Endon On [RFID#Tag]=2271020827 // Jerome gpio,13,0 gpio,14,1 event,open endon On Rules#Timer=1 do gpio,13,1 gpio,14,0 publish domoticz/in,{"c...
- 10 Sep 2018, 17:59
- Forum: Staff Announcements forum
- Topic: BIG announcement, the future of ESP Easy. [READ THIS IF YOU LOVE OUR FW]
- Replies: 105
- Views: 2182210
Re: BIG announcement, the future of ESP Easy. [READ THIS IF YOU LOVE OUR FW]
Hello Grov, I'm using a firewall with ipfire ( https://www.ipfire.org ). They do these things in a way that might be interesting. On the webpage one can donate - as usual. On top you may suggest changes / new addons / whatever. They calculate the development costs and publish them on the page. Ever...
- 29 Aug 2018, 09:57
- Forum: ESP Easy: Projects / Applications
- Topic: Tipping bucket rain gauge -> Pulse counter
- Replies: 30
- Views: 41391
Re: Tipping bucket rain gauge -> Pulse counter
With a similar challenge to the OP, I thought I'd pick up on this thread. I plan to use a good old CMOS Binary counter to count the bucket tips while the ESP8266 sleeps. The CD4520 is my chosen device which has a quiescent current drain of just 2.5uA. With a small RC debounce circuit on the reed sw...
- 29 Aug 2018, 07:48
- Forum: ESP Easy: Software
- Topic: How to disable rule at a specific time ?
- Replies: 28
- Views: 67507
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 ! Ya just set that delay to 0 and the unit will behave the way you want.
- 28 Aug 2018, 15:16
- Forum: ESP Easy: General Discussion
- Topic: Changing ESP controller port lose connection RPi
- Replies: 4
- Views: 6191
Re: Changing ESP controller port lose connection RPi
Hi there Toffel969, In Domoticz settings I only see the Remote shared poort (For remote Domoticz clients), nothing about the iP port settings of the connected ESP’s. Maybe I have to search in the settingsbof the Raspberry itself? I don’t remember there are settings of iP ports in my modem. The only...
- 28 Aug 2018, 12:47
- Forum: ESP Easy: General Discussion
- Topic: Changing ESP controller port lose connection RPi
- Replies: 4
- Views: 6191
Re: Changing ESP controller port lose connection RPi
Hello friends. On my running project (esp8266 and RPi) the used “Controller Port” is the standard 8080 (in the config tab). For some reason I attempted to change it (for example) to 84. Immediately and also after restarting the ESP and the RPi they lost contact with each other. It looks like the RP...
- 27 Aug 2018, 23:52
- Forum: ESP Easy: Software
- Topic: How to disable rule at a specific time ?
- Replies: 28
- Views: 67507
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 [...
- 27 Aug 2018, 09:36
- Forum: ESP Easy: Software
- Topic: Rule/script or blockly
- Replies: 24
- Views: 24337
Re: Rule/script or blockly
Hi Toffel969, I implemented the changed rule whiteout the yellow highlighted part. The charger starts at the given voltage value (slightly changed for test) but its does not stop at the given time (also slightly changed for the test). Is it possible that the yellow highlighted part needs to be in t...
- 26 Aug 2018, 11:31
- Forum: ESP Easy: Software
- Topic: Rule/script or blockly
- Replies: 24
- Views: 24337
Re: Rule/script or blockly
Ok I think then you are fine with the 24h. Just try with that 86400 sec. For the poll of the INA219, what delay time you advise...10sec? How often does Domoticz actually log them ? 10 sec seems like a good start. It also depends a bit on what you do with the values. Another question, on the first pa...
- 26 Aug 2018, 10:23
- Forum: ESP Easy: Software
- Topic: Rule/script or blockly
- Replies: 24
- Views: 24337
Re: Rule/script or blockly
Just forget the comment about the 1h. With a 23V threshold it will only charge again if voltage drops below 23V. Thats not what you want. I will try to think about something better. or There are a couple of voltages to distinguish : V_min --> lower voltage where you would like to start charging V_ok...
- 26 Aug 2018, 10:04
- Forum: ESP Easy: Software
- Topic: Rule/script or blockly
- Replies: 24
- Views: 24337
Re: Rule/script or blockly
Hello grovkillen, thanks for your answer, You mean Accu1 instead of Accu 1 and so on? And which weblog viewer? Thanks Hi Neteye On pcfgpio,4 or 7 --> of course you are right, I swapped IDX and port no. I see there are more switch input devices on your node. Does each battery have their own relay? I...
- 25 Aug 2018, 09:49
- Forum: ESP Easy: Software
- Topic: How to disable rule at a specific time ?
- Replies: 28
- Views: 67507
Re: How to disable rule at a specific time ?
On Time#Initialized do TaskValueSet,8,2,[%sysweekday%][%syshour%][%sysmin%] Event,SetDummy EndOn On SetDummy do If [Set#Dummy2]<71600 OR [Set#Dummy2]>72300 TaskValueSet,8,1,1 Else TaskValueSet,8,1,0 EndIf EndOn On Clock#Time=Sat,16:00 do Taskvalueset,8,1,1 Endon On Clock#Time=Sat,23:00 do Taskvalue...
- 24 Aug 2018, 23:32
- Forum: ESP Easy: Software
- Topic: How to disable rule at a specific time ?
- Replies: 28
- Views: 67507
Re: How to disable rule at a specific time ?
As splendid as sophisticatedgrovkillen wrote: ↑24 Aug 2018, 23:18 And it's a add on to your splendid rule that you suggested. Thumbs up!

- 24 Aug 2018, 23:31
- Forum: ESP Easy: Software
- Topic: How to disable rule at a specific time ?
- Replies: 28
- Views: 67507
Re: How to disable rule at a specific time ?
grovkillen wrote: ↑24 Aug 2018, 23:29 And please bear in mind that this is me "coding" a rule on my phone on a Friday evening after two beers down![]()

- 24 Aug 2018, 23:16
- Forum: ESP Easy: Software
- Topic: How to disable rule at a specific time ?
- Replies: 28
- Views: 67507
Re: How to disable rule at a specific time ?
it works as far as the module does not reboot for any given reason on saturday between 16:00 and 23:00 :| Agreed, thats a flaw. On System#Boot do TaskValueSet,8,2,[%sysweekday%] TaskValueSet,8,3,[%syshour%] TaskValueSet,8,4,[Sat#Dummy2][Sat#Dummy3] Event,SetDummy EndOn On SetDummy do If [Set#Dummy]...
- 24 Aug 2018, 22:53
- Forum: ESP Easy: Software
- Topic: How to disable rule at a specific time ?
- Replies: 28
- Views: 67507
- 24 Aug 2018, 09:45
- Forum: ESP Easy: Software
- Topic: How to disable rule at a specific time ?
- Replies: 28
- Views: 67507
Re: How to disable rule at a specific time ?
Can't you use a dummy variable and a if statement that will execute the rule of the dummy variable is set to zero? I agree that's a viable route Lets assume a dummy device on Task 8, called Sat#dummy On Clock#Time=Sat,16:00 do Taskvalueset,8,1,1 Endon On Clock#Time=Sat,23:00 do Taskvalueset,8,1,0 E...
- 24 Aug 2018, 09:37
- Forum: ESP Easy: Software
- Topic: Rule/script or blockly
- Replies: 24
- Views: 24337
Re: Rule/script or blockly
Dear TD-er and toffel969, Great that you have some time for me, trying to solve it. After research the INA219 and the relay are on the same ESP. I have 3x 24V batteries, accu 1,accu 2 and accu 3 (see attachment 8,9 and 10) And the relay is working via a IO Expander PCF8574 (see attachment 7). Every...
- 23 Aug 2018, 09:58
- Forum: ESP Easy: Software
- Topic: Relay recovery last state after power failure
- Replies: 3
- Views: 16113
- 21 Aug 2018, 11:35
- Forum: ESP Easy: Software
- Topic: Possibility to invert input on IO port expanders (PCF,MCP)
- Replies: 2
- Views: 4668
Re: Possibility to invert input on IO port expanders (PCF,MCP)
I don't know how much work it would be to implement in those switch options, but I agree all GPIO pins should at least be treated equal when it comes to options. But I guess these extra pins should be usable as normal GPIO pins and be usable in all existing plugins. And that will be a lot of work t...
- 20 Aug 2018, 10:55
- Forum: ESP Easy: Software
- Topic: Rule/script or blockly
- Replies: 24
- Views: 24337
Re: Rule/script or blockly
Hi Neteye
The desired functionality can be achieved using rules, sending http commands from one unit to the other.
Please provide us with:
- Screenshots of the devices pages of both esp
- Ip adresses of both esp
I am sure we can figure it out.
The desired functionality can be achieved using rules, sending http commands from one unit to the other.
Please provide us with:
- Screenshots of the devices pages of both esp
- Ip adresses of both esp
I am sure we can figure it out.
- 20 Aug 2018, 10:53
- Forum: ESP Easy: Software
- Topic: Possibility to invert input on IO port expanders (PCF,MCP)
- Replies: 2
- Views: 4668
Possibility to invert input on IO port expanders (PCF,MCP)
Hi
On the "normal"(GPIO) switch input, there is a check box to invert the value (0-->1, 1-->). This option is not available on the I2C expander switch input.
Would it be a big problem to implement that ? Do you see it as a useful feature?
Best regards
On the "normal"(GPIO) switch input, there is a check box to invert the value (0-->1, 1-->). This option is not available on the I2C expander switch input.
Would it be a big problem to implement that ? Do you see it as a useful feature?
Best regards
- 12 Jun 2018, 13:19
- Forum: ESP Easy: Projects / Applications
- Topic: Soil moisture with long cable...
- Replies: 2
- Views: 5105
Re: Soil moisture with long cable...
Hi. I have a problem with my soil moisture sensor (P47), I have connected it to ESP board with a 5 mt. cable. If I use a ESP01 board it's ok and work fine but with ESP07, ESP12 or NODEMCU board id don't work at all. I'm sure the cause is cable lenght, if I short it I have no problem. I tried to use...
- 05 Jun 2018, 12:41
- Forum: ESP Easy: Software
- Topic: GPIO after Sleep
- Replies: 1
- Views: 3706
Re: GPIO after Sleep
Hello, I am using this Rule on shpy#HintertuerZiel=1 do Publish %sysname%/setze,1 gpio,15,1 delay 100 gpio,15,0 endon on shpy#HintertuerZiel=0 do Publish %sysname%/setze,0 gpio,13,1 delay 100 gpio,13,0 endon and deep-sleep. shpy#HintertuerZiel is set/triggered by MQTT. The rule is executed and I se...
- 29 May 2018, 16:54
- Forum: ESP Easy: Software
- Topic: help to create a rule
- Replies: 1
- Views: 3783
Re: help to create a rule
hi guys i want control a relay with espeasy that way , when i send a code with domoticz (for example "on") so relay goto "on" after 1s "off".in other word similar to this code(a rule): when receive "on" code to espeasy so relay1 go to "on" after 1s ...
- 19 Apr 2018, 16:19
- Forum: ESP Easy: Hardware
- Topic: Soil moisture
- Replies: 20
- Views: 24762
- 18 Apr 2018, 22:22
- Forum: ESP Easy: Hardware
- Topic: Soil moisture
- Replies: 20
- Views: 24762
Re: Soil moisture
I think many use the fork soil sensor incorrectly (don't hold this against me if I'm wrong, I don't have one myself) by letting them operate 24/7. The DC current will make the cathode loose the metallic part fairly fast if operated 100% of the time. I would suspect the life time to increase if you ...
- 17 Apr 2018, 22:09
- Forum: ESP Easy: Hardware
- Topic: Powering of nodeMCU V3 - can I use pins instead of microUSB?
- Replies: 18
- Views: 22703
Re: Powering of nodeMCU V3 - can I use pins instead of microUSB?
Isn't the voltage regulator on the NodeMCU a switching one? And I'm not sure whether the USB chip on the board will survive that high voltage. If I remember well, it is an ams1117 ldo, 800mA. I put a lms2596 in-between 12vdc to get to 5v. Also I believe USB on nodemcu is protected by diode.(not sure)
- 17 Apr 2018, 16:42
- Forum: ESP Easy: Hardware
- Topic: Powering of nodeMCU V3 - can I use pins instead of microUSB?
- Replies: 18
- Views: 22703
Re: Powering of nodeMCU V3 - can I use pins instead of microUSB?
I suppose you can. Be aware though, that the power regulator will heat up substantially, it converts the extra voltage into heat( current stays the same). For that kind of voltage drop (12v to 3,3v) a switching power regulator is the better choice. There is one for example on the wemos D1 R2. More r...
- 17 Apr 2018, 16:33
- Forum: ESP Easy: Hardware
- Topic: Soil moisture
- Replies: 20
- Views: 24762
Re: Soil moisture
For the first one a definite yes. You can use the analog output to adc or the digital to any other gpio. The threshold is set up with the poti.
- 13 Apr 2018, 16:32
- Forum: ESP Easy: Hardware
- Topic: Powering of nodeMCU V3 - can I use pins instead of microUSB?
- Replies: 18
- Views: 22703
Re: Powering of nodeMCU V3 - can I use pins instead of microUSB?
Hi, thanks for info, I know this wiki page, but there is no information about powering boards directly from pins .. I already know that I need reliable power supply (I have MW 5V/3A power supply available) and good thick cable with as lowest AWG as possible :]. I have three the same boards, one of ...
- 09 Apr 2018, 13:47
- Forum: ESP Easy: Hardware
- Topic: HC-SR04 default value for over max distance
- Replies: 2
- Views: 4272
Re: HC-SR04 default value for over max distance
With rules and dummy device you can do this. Yes I am using that exactly, works perfectly You check the value for "sanity", then you write it into a dummy device. Further reactions only when the dummy is rewritten. On dist#scr4<400 do Taskvalueset,7,1,[dist#scr4] Taskrun,7 Endon On distan...
- 09 Apr 2018, 13:13
- Forum: ESP Easy: General Discussion
- Topic: Status of the switch when the power is turned off
- Replies: 6
- Views: 8326
Re: Status of the switch when the power is turned off
Which gpio are you using? Gpio 0,2,15 have fixed boot states that could be a src of error. Alternatively you could add a rule to send device state manually after boot. I use GPIO 4. How to create a rule? Hi, if using GPIO4, make sure that I2C is deactivated in the hardware tab. I would try that fir...
- 08 Apr 2018, 12:24
- Forum: ESP Easy: Hardware
- Topic: Energy meter counter
- Replies: 2
- Views: 4854
Re: Energy meter counter
Hello, for the last few weeks I've been looking for the best readout for an analog electricity meter- and I finally found. It works great. Only problem is -how to connect it to esp? I have two problems: -The output is 4,2v -When detect black line in power meter led diode blink very short. What do Y...
- 08 Apr 2018, 12:19
- Forum: ESP Easy: General Discussion
- Topic: Status of the switch when the power is turned off
- Replies: 6
- Views: 8326
Re: Status of the switch when the power is turned off
Hi, ESP firmware - mega-20180407. I created a SWITCH, the option - Send Boot state - activated. If the power supply ESP is missing, Domoticz does not determine the status of the switch. When the power ESP is turned on, the SWITCH will be turned off, and Domotics can show the old information that th...
- 08 Apr 2018, 12:15
- Forum: ESP Easy: Software
- Topic: load of esp too high?
- Replies: 3
- Views: 5464
Re: load of esp too high?
Hi I experienced the high load 98% between 85 and 98 I disabled some sensors, having only 2 attached and one system info. using: v2.0-2018012 there are events created for disabled sensors, why? 66514090 : EVENT: IP_04#IP_04=139.00 disabling controllers fhem and thingsspeak reduced load to 27% any e...
- 08 Apr 2018, 12:09
- Forum: ESP Easy: Projects / Applications
- Topic: Pleas give me some help for my first application remote switsch
- Replies: 1
- Views: 4069
Re: Pleas give me some help for my first application remote switsch
I would like to set up two wemos mini one with a wisch attached the other with a relay, in p2p configuration is that possible and may be i find here somewhere a easy Institution how i can establish this. I know i should perhaps figure out this my self quite easy but i am absolutely new in using thi...
- 05 Apr 2018, 09:45
- Forum: ESP Easy: General Discussion
- Topic: Long press button delay
- Replies: 7
- Views: 9075
Re: Long press button delay
Maybe use the new way to directly read gpio : [Plugin#GPIO#Pinstate#13] After 250 mS delay? Hi martinus Is there doc/info available on that new feature, so that we can update the wiki ( couldn't find a PR on github)? Does this also work on mcp/pcf gpio? Since when is it part of the nightlies? regards
- 03 Apr 2018, 08:54
- Forum: ESP Easy: Software
- Topic: Own idx, rules and domoticz
- Replies: 51
- Views: 68301
Re: Own idx, rules and domoticz
I agree with cyberclwn, the spaces are the problem, not the rule itself. Two events seems easier for the use case, that's why I suggested it... it works because it also doesn't have spaces 

- 02 Apr 2018, 22:22
- Forum: ESP Easy: Software
- Topic: Own idx, rules and domoticz
- Replies: 51
- Views: 68301
Re: Own idx, rules and domoticz
Try
Code: Select all
on Gas#Switch=1 do // Task Gas which reads GPIO-13 (D7)
gpio,14,1 // Statusled GPIO-14 (D5) aan
Endon
On gas#Switch=0 do
gpio,14,0 // Statusled GPIO-14 (D5) uit
endon
- 31 Mar 2018, 12:12
- Forum: uPyEasy: General Discussion
- Topic: support of INA219 and ADS1115
- Replies: 18
- Views: 49433
- 31 Mar 2018, 09:19
- Forum: uPyEasy: General Discussion
- Topic: support of INA219 and ADS1115
- Replies: 18
- Views: 49433
Re: support of INA219 and ADS1115
Hi, I have no clue how to get these sensors supported... can anyone help? regards karl I think its not easily possible, but has been discussed on github. https://github.com/letscontrolit/ESPEasy/issues?utf8=%E2%9C%93&q=multiplex time beeing, I would go with multiple ESPs to achieve funciontality
- 31 Mar 2018, 09:14
- Forum: ESP Easy: Software
- Topic: Strange problem with HC-SR04
- Replies: 8
- Views: 11443
Re: Strange problem with HC-SR04
This problem is back. It seems like it starts when I connect HC-SR04. I use, as suggested in that document, GPIO-13 and GPIO-12. Also, I have PCF-8574A attached to this device. Any ideas? Could be a power problem. What is your power supply? Are the cables thick enough? Hypothesis: Sending an US-pin...
- 29 Mar 2018, 11:26
- Forum: ESP Easy: Software
- Topic: Own idx, rules and domoticz
- Replies: 51
- Views: 68301
Re: Own idx, rules and domoticz
For the SDS011, I use these rules: On System#Boot do //This will happen at boot ESP8266 timerSet,1,30 //Set and start timer 1 at 30 seconds endon On Rules#Timer=1 do //When the timer 1 is up: SendToHTTP 192.168.1.28,8080,/json.htm?type=command¶m=udevice&idx=105&nvalue=0&svalue=[...