Search found 17 matches

by s_p2003
14 Jan 2021, 17:39
Forum: ESP Easy: General Discussion
Topic: releay bounce at boot
Replies: 20
Views: 9732

Re: releay bounce at boot

I don't think this is it. What happens is strange, because it is not related to the rules, but to what happened to the relays BEFORE the reboot. it is as if the MQTT broker updates the GPIO status before the sonoff rules intervene. I instead want the sonoff boot to update the broker, and not vice ve...
by s_p2003
14 Jan 2021, 14:48
Forum: ESP Easy: General Discussion
Topic: releay bounce at boot
Replies: 20
Views: 9732

Re: releay bounce at boot

Hi guys, after many days of testing, I found an almost perfect solution. on System#Boot do ControllerDisable,2 GPIO,12,0 // Rele 1 aperto GPIO,5,0 // Rele 2 aperto let,1,0 // imposta variabile 1 a 0 timerSet,1,5 // imposta un timer di 5 secondi endon on WiFi#Connected do SendToHTTP 192.168.0.140,808...
by s_p2003
13 Jan 2021, 15:13
Forum: ESP Easy: General Discussion
Topic: releay bounce at boot
Replies: 20
Views: 9732

Re: releay bounce at boot

Hi guys

is it possible to delay starting a controller on startup with a rule? 20 or 30 seconds would be enough ...
by s_p2003
02 Jan 2021, 11:56
Forum: ESP Easy: General Discussion
Topic: releay bounce at boot
Replies: 20
Views: 9732

Re: releay bounce at boot

hi

no suggestion? my doubt is that you cannot have 2 controllers active at boot, so a rule would be needed to activate domoticz HTTP after 20 or 30 seconds. it can be done?
by s_p2003
30 Dec 2020, 20:46
Forum: ESP Easy: General Discussion
Topic: releay bounce at boot
Replies: 20
Views: 9732

Re: releay bounce at boot

the problem does not arise if I exclude a controller
it doesn't matter which one it is.
by s_p2003
29 Dec 2020, 19:07
Forum: ESP Easy: General Discussion
Topic: releay bounce at boot
Replies: 20
Views: 9732

Re: releay bounce at boot

deleted the swith's rule and disabled the button on the case in devices (gpio-10).
the problem remains
by s_p2003
28 Dec 2020, 19:58
Forum: ESP Easy: General Discussion
Topic: releay bounce at boot
Replies: 20
Views: 9732

Re: releay bounce at boot

Then check out the Hardware tab, where you can configure the initial state after boot of each GPIO. Only configure the ones you actually need to control (GPIO-5 and GPIO-12). solution already tested, but not working. obviously I also changed the rules by removing the status at System#boot As TD-er ...
by s_p2003
28 Dec 2020, 19:22
Forum: ESP Easy: General Discussion
Topic: releay bounce at boot
Replies: 20
Views: 9732

Re: releay bounce at boot

after disabling the switches relating to the relays (gpio 12 and 5), there is no bounce at start-up, but there is no control with Home Assistant.
Moreover when restarting the relays are always closed and I want them open.
by s_p2003
28 Dec 2020, 16:45
Forum: ESP Easy: General Discussion
Topic: releay bounce at boot
Replies: 20
Views: 9732

Re: releay bounce at boot

hi TD-er

no intuition?
I also checked SendToHTTP wait for ack, but nothing has changed.
by s_p2003
27 Dec 2020, 11:19
Forum: ESP Easy: General Discussion
Topic: releay bounce at boot
Replies: 20
Views: 9732

Re: releay bounce at boot

sorry. you are right, but it is difficult to explain the problem. I have two controllers running on my sonoff, #1 is Home Assistant and #2 is Domoticz HTTP. It happens that when the Sonoff Dual R2 is restarted, the two relays start bouncing from open to closed quickly for several seconds, and at sto...
by s_p2003
27 Dec 2020, 10:18
Forum: ESP Easy: General Discussion
Topic: releay bounce at boot
Replies: 20
Views: 9732

Re: releay bounce at boot

good morning situation update I have disabled from send to controller the Domoticz HTTP controller onto relay devices and the reboot is normal. is it possible to have two active controllers on the same device? i added this to rules on WiFi#Connected do SendToHTTP 192.168.0.140,8080,/json.htm?type=co...
by s_p2003
26 Dec 2020, 12:30
Forum: ESP Easy: General Discussion
Topic: releay bounce at boot
Replies: 20
Views: 9732

releay bounce at boot

Hi to all I can't understand what happens. when the device, is a Sonoff Dual R2, restarts, relays bounce from on to off repeatedly. Sometimes indefinitely for both relays, other times relay 1 stops in the wrong position, other times relay 2. The reboot is normal if both controllers are disabled. htt...
by s_p2003
20 Dec 2020, 20:25
Forum: ESP Easy: Software
Topic: Rules for sonoff dual R2
Replies: 9
Views: 7064

Re: Rules for sonoff dual R2

Perfect!!

thank you
by s_p2003
20 Dec 2020, 17:46
Forum: ESP Easy: Software
Topic: Rules for sonoff dual R2
Replies: 9
Views: 7064

Re: Rules for sonoff dual R2

it works, but need to press button 2 times for status change
the gpio of button is set to active high
by s_p2003
20 Dec 2020, 09:03
Forum: ESP Easy: Software
Topic: Rules for sonoff dual R2
Replies: 9
Views: 7064

Re: Rules for sonoff dual R2

First, thank you.
I would like to replicate the behavior of a monostable relay.
first press relay 1 closed and relay 2 open
second press relay 2 open and relay 2 closed
third press relay 1 and 2 closed
fourth press relay 1 and 2 open.
on system boot all open

and maybe also set the gpio led
by s_p2003
20 Dec 2020, 00:06
Forum: ESP Easy: Software
Topic: Rules for sonoff dual R2
Replies: 9
Views: 7064

Re: Rules for sonoff dual R2

this is my rule but it does not work i tried with Active High, Active Low and normal switch on pulsante#stato do if [pulsante#stato]=1 gpio,12,1 gpio,5,0 elseif gpio,12,0 gpio,5,1 elseif gpio,12,1 gpio,5,1 elseif gpio,12,0 gpio,5,0 endif endon sw.PNG
by s_p2003
19 Dec 2020, 21:30
Forum: ESP Easy: Software
Topic: Rules for sonoff dual R2
Replies: 9
Views: 7064

Rules for sonoff dual R2

hi to all


i need help.
I would like to create a rule for the activation of the relays (on gpio 12 and gpio 5) when I press the button on the case (gpio 10).
The button on the case is set to "normal switch" so each press it switches 0-1-0.

How can it be done?

tnks
ru.PNG
ru.PNG (12.4 KiB) Viewed 7064 times