Search found 10 matches

by margan
20 May 2019, 13:53
Forum: ESP Easy: Software
Topic: Level control or rules ?
Replies: 16
Views: 11459

Re: Level control or rules ?

My fault if missing on first post wich v was flashed on the board. A lot of attempts to install a fresh updated bin was made with an old flasher exited with a wifi failure or a bootloop of the board, since the new flasher included in the new release does'nt work in my PC. I'll try to work with anoth...
by margan
19 May 2019, 10:23
Forum: ESP Easy: Software
Topic: Level control or rules ?
Replies: 16
Views: 11459

Re: Level control or rules ?

Found the answer by myself. Could be an help for guys interested in. On devices page of your v2.0.0-dev12 esp easy , you CANNOT change the name of value as you want (i.e. State or Fantasy) ! You must leave the name SWITCH ! So, if you do it, leaving the name of value as is by default (Switch) your g...
by margan
19 May 2019, 07:40
Forum: ESP Easy: Software
Topic: Level control or rules ?
Replies: 16
Views: 11459

Re: Level control or rules ?

Sorry, does not work with any rules. Not found any way to toggle the relay, one or other. I resume here: The lux sensor who makes as switch ( state 1 or 0) is connected to GPIO 16 ( setting or not in <<pull up>> mode). The Input switch is setted in <<normal switch>> mode ( does not work in any mode)...
by margan
16 May 2019, 21:13
Forum: ESP Easy: Software
Topic: Level control or rules ?
Replies: 16
Views: 11459

Re: Level control or rules ?

Ah, OK, thanks to everyone.
by margan
16 May 2019, 08:11
Forum: ESP Easy: Software
Topic: Level control or rules ?
Replies: 16
Views: 11459

Re: Level control or rules ?

@ grovkillen
Ah,
so isn't necessary to repeat the same instruction for the second relay when the state is different from 1 ?
Is this the sense of "else" ?

@ Domosapiens: where is endif missing ?
by margan
15 May 2019, 18:53
Forum: ESP Easy: Software
Topic: Level control or rules ?
Replies: 16
Views: 11459

Re: Level control or rules ?

Oh, not so far then...... Sure, I had already made some correction before your answer, i.e. state instead of Rinnaimonitor, but now with your help I have some concrete roots for a bench test and then transfer it in the "real life". Thanks a lot ! edit: but the code probably should be this:...
by margan
15 May 2019, 18:19
Forum: ESP Easy: Software
Topic: Level control or rules ?
Replies: 16
Views: 11459

Re: Level control or rules ?

Ok, My photoresistor read on the GPIO 16 Flagged internal pull up on the devices section and selected GPIO 16 with switch type. So I wrote this rule: On Rinnaimonitor#Rinnaimonitor=1 do gpio,12,1 timerset,1,30 Endon On Rinnaimonitor#Rinnaimonitor=0 do gpio,14,1 timerset,1,30 Endon Where on GPIO 12 a...
by margan
15 May 2019, 13:39
Forum: ESP Easy: Software
Topic: Level control or rules ?
Replies: 16
Views: 11459

Re: Level control or rules ?

Thanks for your fast feedback at first. No I don't have any rule wrote ! Your answer already sounds like a first suggestions: I need a rule! Until now I was uncertain about this. So it's not enough to use level control plugin alone for this project? I'll read with more attention wiki and so on, beca...
by margan
15 May 2019, 12:53
Forum: ESP Easy: Software
Topic: Level control or rules ?
Replies: 16
Views: 11459

Level control or rules ?

I admit that initially thought was easyer to do a very little project I had in mind, but it was more complicated than expected in practice. It seems that sometime Esp Easy makes what is difficult easy and makes what seems easy difficult. I need to toggle two relays, the first when a sensor connected...
by margan
15 May 2019, 12:26
Forum: Introduce yourself
Topic: Nice to meet you
Replies: 1
Views: 4411

Nice to meet you

Hi,
I'm new here, but have some esp easy gadgets working from years at home. Anyway I need some support sometimes and a few times give help to someone.