Search found 469 matches

by toffel969
03 May 2019, 11:48
Forum: ESP Easy: Hardware
Topic: No I2C with Sonoff 4CH R2
Replies: 4
Views: 499

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...
by toffel969
05 Dec 2018, 09:23
Forum: ESP Easy: Software
Topic: LED, LDR and timer using Rules
Replies: 2
Views: 378

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...
by toffel969
19 Nov 2018, 14:09
Forum: uPyEasy: Hardware
Topic: Input switch ... only ON needed
Replies: 1
Views: 375

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 to the self...
by toffel969
14 Nov 2018, 09:47
Forum: ESP Easy: Projects / Applications
Topic: BH1750 - heating status
Replies: 14
Views: 1219

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...
by toffel969
14 Nov 2018, 09:38
Forum: ESP Easy: Software
Topic: Sliding average dummy device
Replies: 6
Views: 1402

Re: Sliding average dummy device

lyndondr wrote:
13 Nov 2018, 21:55
I'm also looking for a moving or sliding average function also. Is this possible in the Rules and Custom Variables possibly?
Ya it sure is, you can use rules and dummy devices to do that.
by toffel969
02 Oct 2018, 14:37
Forum: ESP Easy: Software
Topic: Help with Rules
Replies: 4
Views: 603

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...
by toffel969
02 Oct 2018, 14:19
Forum: ESP Easy: General Discussion
Topic: Tips for shortening rules
Replies: 16
Views: 1783

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,{"comman...
by toffel969
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: 77
Views: 29107

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...
by toffel969
29 Aug 2018, 09:57
Forum: ESP Easy: Projects / Applications
Topic: Tipping bucket rain gauge -> Pulse counter
Replies: 30
Views: 11924

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...
by toffel969
29 Aug 2018, 07:48
Forum: ESP Easy: Software
Topic: How to disable rule at a specific time ?
Replies: 28
Views: 3055

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.
by toffel969
28 Aug 2018, 15:16
Forum: ESP Easy: General Discussion
Topic: Changing ESP controller port lose connection RPi
Replies: 4
Views: 715

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...
by toffel969
28 Aug 2018, 12:47
Forum: ESP Easy: General Discussion
Topic: Changing ESP controller port lose connection RPi
Replies: 4
Views: 715

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...
by toffel969
27 Aug 2018, 23:52
Forum: ESP Easy: Software
Topic: How to disable rule at a specific time ?
Replies: 28
Views: 3055

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 toffel969
27 Aug 2018, 09:36
Forum: ESP Easy: Software
Topic: Rule/script or blockly
Replies: 22
Views: 2620

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...
by toffel969
26 Aug 2018, 11:31
Forum: ESP Easy: Software
Topic: Rule/script or blockly
Replies: 22
Views: 2620

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...
by toffel969
26 Aug 2018, 10:23
Forum: ESP Easy: Software
Topic: Rule/script or blockly
Replies: 22
Views: 2620

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...
by toffel969
26 Aug 2018, 10:04
Forum: ESP Easy: Software
Topic: Rule/script or blockly
Replies: 22
Views: 2620

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...
by toffel969
25 Aug 2018, 09:49
Forum: ESP Easy: Software
Topic: How to disable rule at a specific time ?
Replies: 28
Views: 3055

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...
by toffel969
24 Aug 2018, 23:32
Forum: ESP Easy: Software
Topic: How to disable rule at a specific time ?
Replies: 28
Views: 3055

Re: How to disable rule at a specific time ?

grovkillen wrote:
24 Aug 2018, 23:18
And it's a add on to your splendid rule that you suggested. Thumbs up!
As splendid as sophisticated :lol:
by toffel969
24 Aug 2018, 23:31
Forum: ESP Easy: Software
Topic: How to disable rule at a specific time ?
Replies: 28
Views: 3055

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 :P
:-) almost the same here. Just have a check on the taskvalueset,8,2,1 at the and. I'm almost sure it must be 8,1,1
by toffel969
24 Aug 2018, 23:16
Forum: ESP Easy: Software
Topic: How to disable rule at a specific time ?
Replies: 28
Views: 3055

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]...
by toffel969
24 Aug 2018, 22:53
Forum: ESP Easy: Software
Topic: How to disable rule at a specific time ?
Replies: 28
Views: 3055

Re: How to disable rule at a specific time ?

papperone wrote:
24 Aug 2018, 20:01
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.
by toffel969
24 Aug 2018, 09:45
Forum: ESP Easy: Software
Topic: How to disable rule at a specific time ?
Replies: 28
Views: 3055

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...
by toffel969
24 Aug 2018, 09:37
Forum: ESP Easy: Software
Topic: Rule/script or blockly
Replies: 22
Views: 2620

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...
by toffel969
23 Aug 2018, 09:58
Forum: ESP Easy: Software
Topic: Relay recovery last state after power failure
Replies: 3
Views: 604

Re: Relay recovery last state after power failure

papperone wrote:
21 Aug 2018, 21:22
you must use MQTT and use the message persistance features in order to do this (I have this feature in some of my modules even thou I don't use Domoticz)
To clarify, papperone says you must activate the "MQTT retain" feature on the advanced tab.
by toffel969
21 Aug 2018, 11:35
Forum: ESP Easy: Software
Topic: Possibility to invert input on IO port expanders (PCF,MCP)
Replies: 2
Views: 428

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...
by toffel969
20 Aug 2018, 10:55
Forum: ESP Easy: Software
Topic: Rule/script or blockly
Replies: 22
Views: 2620

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.
by toffel969
20 Aug 2018, 10:53
Forum: ESP Easy: Software
Topic: Possibility to invert input on IO port expanders (PCF,MCP)
Replies: 2
Views: 428

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
by toffel969
12 Jun 2018, 13:19
Forum: ESP Easy: Projects / Applications
Topic: Soil moisture with long cable...
Replies: 2
Views: 815

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...
by toffel969
05 Jun 2018, 12:41
Forum: ESP Easy: Software
Topic: GPIO after Sleep
Replies: 1
Views: 472

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...
by toffel969
29 May 2018, 16:54
Forum: ESP Easy: Software
Topic: help to create a rule
Replies: 1
Views: 465

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 relay1 go to "off" can you help me? thank you http...
by toffel969
19 Apr 2018, 16:19
Forum: ESP Easy: Hardware
Topic: Soil moisture
Replies: 15
Views: 4710

Re: Soil moisture

jme wrote:
19 Apr 2018, 14:29
Thx for your answers
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.
Which device type do i have to choose in Esp easy ?
Analog input.
https://www.letscontrolit.com/wiki/index.php/Analog
by toffel969
18 Apr 2018, 22:22
Forum: ESP Easy: Hardware
Topic: Soil moisture
Replies: 15
Views: 4710

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 ...
by toffel969
17 Apr 2018, 22:09
Forum: ESP Easy: Hardware
Topic: Powering of nodeMCU V3 - can I use pins instead of microUSB?
Replies: 18
Views: 3699

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)
by toffel969
17 Apr 2018, 16:42
Forum: ESP Easy: Hardware
Topic: Powering of nodeMCU V3 - can I use pins instead of microUSB?
Replies: 18
Views: 3699

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...
by toffel969
17 Apr 2018, 16:33
Forum: ESP Easy: Hardware
Topic: Soil moisture
Replies: 15
Views: 4710

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.
by toffel969
13 Apr 2018, 16:32
Forum: ESP Easy: Hardware
Topic: Powering of nodeMCU V3 - can I use pins instead of microUSB?
Replies: 18
Views: 3699

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 ...
by toffel969
09 Apr 2018, 13:47
Forum: ESP Easy: Hardware
Topic: HC-SR04 default value for over max distance
Replies: 2
Views: 769

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 distance#dummy d...
by toffel969
09 Apr 2018, 13:13
Forum: ESP Easy: General Discussion
Topic: Status of the switch when the power is turned off
Replies: 6
Views: 1284

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...
by toffel969
08 Apr 2018, 12:24
Forum: ESP Easy: Hardware
Topic: Energy meter counter
Replies: 2
Views: 895

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...
by toffel969
08 Apr 2018, 12:19
Forum: ESP Easy: General Discussion
Topic: Status of the switch when the power is turned off
Replies: 6
Views: 1284

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...
by toffel969
08 Apr 2018, 12:15
Forum: ESP Easy: Software
Topic: load of esp too high?
Replies: 3
Views: 851

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...
by toffel969
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: 667

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...
by toffel969
05 Apr 2018, 09:45
Forum: ESP Easy: General Discussion
Topic: Long press button delay
Replies: 7
Views: 2070

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
by toffel969
03 Apr 2018, 08:54
Forum: ESP Easy: Software
Topic: Own idx, rules and domoticz
Replies: 51
Views: 12062

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 ;)
by toffel969
02 Apr 2018, 22:22
Forum: ESP Easy: Software
Topic: Own idx, rules and domoticz
Replies: 51
Views: 12062

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
by toffel969
31 Mar 2018, 12:12
Forum: uPyEasy: General Discussion
Topic: support of INA219 and ADS1115
Replies: 18
Views: 3688

Re: support of INA219 and ADS1115

karl222 wrote:
31 Mar 2018, 10:52
hi
You are talking just about the multiplexer...

isn’t upyeasy different to espeasy in general?

Regards
Karl
Yes, sorry I got here by "active toics" and didn't see its about upyeasy. Haven't had time to try that yet... so nerver mind :)
by toffel969
31 Mar 2018, 09:19
Forum: uPyEasy: General Discussion
Topic: support of INA219 and ADS1115
Replies: 18
Views: 3688

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
by toffel969
31 Mar 2018, 09:14
Forum: ESP Easy: Software
Topic: Strange problem with HC-SR04
Replies: 8
Views: 2003

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...
by toffel969
29 Mar 2018, 11:26
Forum: ESP Easy: Software
Topic: Own idx, rules and domoticz
Replies: 51
Views: 12062

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=[SDS011#PM25] //S...