Relay
Moderators: grovkillen, Stuntteam, TD-er
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Relay
You have the event which is infact the GPIO 5. So what is the input, not the relay by itself I suspect.
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
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: Relay
Nice, but still -what is relay#rele ?
I can see only rele#rele in your last picture.
And on new firmwares, checking relay status by defining input on the same pin is problematic.
I am using it, but on older versions _dev13 and v2.0
And you are using event:
When toggle relay (change its status - but how?? ) measure humidity and according its value switch on or off the same relay
I can see only rele#rele in your last picture.
And on new firmwares, checking relay status by defining input on the same pin is problematic.
I am using it, but on older versions _dev13 and v2.0
And you are using event:
When toggle relay (change its status - but how?? ) measure humidity and according its value switch on or off the same relay
Re: Relay
82/5000kimot wrote: ↑26 Mar 2019, 19:58 Nice, but still -what is relay#rele ?
I can see only rele#rele in your last picture.
And on new firmwares, checking relay status by defining input on the same pin is problematic.
I am using it, but on older versions _dev13 and v2.0
And you are using event:
When toggle relay (change its status - but how?? ) measure humidity and according its value switch on or off the same relay
Hello, I installed the version Release v2.0.0-dev13 just like yours.
now how can i do the select input.
Re: Relay
As Kimot stated, reading the relay pin with a Switch device is problematic. It used to be tolerated (and there are many examples of doing it in the wiki), but I do not believe it is supported anymore. To avoid surprises the solution is to use dummy variables to report the state of a relay to a rule.can you help me about this. appreciate
I seem to recall that any release before Dec 2018 will support reading the relay control pin as an input if the I/O pin is defined in a Switch device.Hello, I installed the version Release v2.0.0-dev13 just like yours.
now how can i do the select input.
But even if you use a release that supports reading a relay pin with the Switch device, I think there may be a logic issue in the rules. The rules will attempt to change the state of the relay whenever the relay's state has changed. But the rules also change the state of the relay. So perhaps this creates an endless loop.
- Thomas
- schnurzel59
- Normal user
- Posts: 32
- Joined: 18 Feb 2019, 12:41
- Location: Germany
- Contact:
Re: Relay
Hi Ro_64
It would be easier to help if you had an idea of what you want to do. What is bo # bo? A switch? When is the condition = "0" given?
hum # hum is the water level. OK.What does your relay do? A little more detail would be helpful.
Your switch rele is labeled wrong. On the one picture it has the name "rele#rele" on the other picture it is "relay#rele". What should it be?
It would be better to set the pictures right here without the weird gallery pictures. Then you would see that immediately.
Switch and relay together is also very unfavorable. For status storage take a dummy device. An event "rele#rele" only occurs if
an interval > 0 is entered in the switch device. A few more detailed information from you and it will be easier to help.
It would be easier to help if you had an idea of what you want to do. What is bo # bo? A switch? When is the condition = "0" given?
hum # hum is the water level. OK.What does your relay do? A little more detail would be helpful.
Your switch rele is labeled wrong. On the one picture it has the name "rele#rele" on the other picture it is "relay#rele". What should it be?
It would be better to set the pictures right here without the weird gallery pictures. Then you would see that immediately.
Switch and relay together is also very unfavorable. For status storage take a dummy device. An event "rele#rele" only occurs if
an interval > 0 is entered in the switch device. A few more detailed information from you and it will be easier to help.
Greetings Martin
Oh God, my English is horrible.
Oh God, my English is horrible.
Who is online
Users browsing this forum: No registered users and 29 guests