Search found 86 matches

by bledad
07 Apr 2024, 15:21
Forum: ESP Easy: General Discussion
Topic: little rule fan bathroom timerset ?
Replies: 6
Views: 205

Re: little rule fan bathroom timerset ?

That's a totally different use-case, AFAICS, you could have started a new thread for this. ok I'll open a new post t starts to look like a school assignment we're solving for you, correct? i've 65 year , retired , I left school at 15 , self-taught , that's why my english is bad, even with the trans...
by bledad
06 Apr 2024, 17:40
Forum: ESP Easy: General Discussion
Topic: little rule fan bathroom timerset ?
Replies: 6
Views: 205

Re: little rule fan bathroom timerset ?

ok ,thank's , I need to understand the logic of espeasy exemple , i try a slide gate security by watt detection device > PZEM-004T interval 1s LongPulse_mS,14,1,600 > impulse sens < -- > if > 100 watt start detection timer 3s after 3s if watt > 400 then secu event ( impulse - wait 2s -impulse) and m...
by bledad
06 Apr 2024, 11:28
Forum: ESP Easy: General Discussion
Topic: little rule fan bathroom timerset ?
Replies: 6
Views: 205

Re: little rule fan bathroom timerset ?

thank , I'm trying to understand , my english it's verry bad

%eventvalue1% = sonde#humidity ? because it is in on -- endon ?
timerset as always "on rules#timer=x do " for expired timer ?
by bledad
06 Apr 2024, 10:01
Forum: ESP Easy: General Discussion
Topic: little rule fan bathroom timerset ?
Replies: 6
Views: 205

little rule fan bathroom timerset ?

hello,
i want wait 30mn after humidity <65 when the gpio 12 is on
but no work
my rules

Code: Select all

Let,1,0
on sonde#Humidity<65 do
  if [var#1]=1
    Timerset,1,1800 // wait 30mn before gpio 12,0
     Let,1,0
   endif
    gpio,12,0
  
endon
on sonde#Humidity>75 do
  gpio,12,1
  Let,1,1
endon
by bledad
05 Dec 2023, 11:06
Forum: ESP Easy: General Discussion
Topic: reset PZEM-004T in rules
Replies: 4
Views: 3253

Re: reset PZEM-004T in rules

ok ,thank you
I use it to safely control a sliding gate , I'm going to do a reset every time I stop sliding gate
by bledad
05 Dec 2023, 10:33
Forum: ESP Easy: General Discussion
Topic: reset PZEM-004T in rules
Replies: 4
Views: 3253

reset PZEM-004T in rules

Hello,
i see what reset PZEM-004T with http://*espeasyip*/control?cmd=resetenergy,*PZEM address*
but in rules , i can use sendtohttp or other function ??
thank
by bledad
16 Oct 2023, 16:44
Forum: ESP Easy: General Discussion
Topic: gpio14 esp12f always value 0 ??
Replies: 15
Views: 1803

Re: gpio14 esp12f always value 0 ??

I'm so sorry.
when I tell you it's not my day
I made a mistake
not GPIO4 but GPIO5
and now it's ok
thank you
by bledad
16 Oct 2023, 15:17
Forum: ESP Easy: General Discussion
Topic: gpio14 esp12f always value 0 ??
Replies: 15
Views: 1803

Re: gpio14 esp12f always value 0 ??

yes i've tryed debonce and interval = 0
by bledad
16 Oct 2023, 14:53
Forum: ESP Easy: General Discussion
Topic: gpio14 esp12f always value 0 ??
Replies: 15
Views: 1803

Re: gpio14 esp12f always value 0 ??

thank's but with opto it's good , that's why I'm not going any further other problem , it's not my day !!! i've put a push button on GPIO 04 of my esp12 in hardware > Pin mode GPIO-4 (D2) > input pullup i2c interface none none in Devices : Switch input - Switch name piet Enabled: checked Internal Pu...
by bledad
13 Oct 2023, 14:13
Forum: ESP Easy: General Discussion
Topic: gpio14 esp12f always value 0 ??
Replies: 15
Views: 1803

Re: gpio14 esp12f always value 0 ??

it's coming from the relay module
with relay with opto it's good
5vrelaymodulelabelled.jpg
5vrelaymodulelabelled.jpg (196.73 KiB) Viewed 1784 times
by bledad
13 Oct 2023, 10:36
Forum: ESP Easy: General Discussion
Topic: gpio14 esp12f always value 0 ??
Replies: 15
Views: 1803

Re: gpio14 esp12f always value 0 ??

yes sorry for comma , but
when start with power , the gpio is 1
if i do control?cmd=GPIO,14,0
state value is 0
if i do control?cmd=GPIO,14,1
state value is 1 but hardware is 0
and always hardware 0 ( multimeter )
by bledad
13 Oct 2023, 10:01
Forum: ESP Easy: General Discussion
Topic: gpio14 esp12f always value 0 ??
Replies: 15
Views: 1803

gpio14 esp12f always value 0 ??

Hello,
i no understand , that i put
gpio14 output low or ouput high or default
or control?cmd=GPIO,14.1
the state value is always 0
i have firmware ESP_Easy_mega_20230930_energy_ESP8266_4M1M
by bledad
10 Oct 2023, 10:41
Forum: ESP Easy: General Discussion
Topic: where find collection ?
Replies: 2
Views: 629

Re: where find collection ?

ok , thank you , i put the link in my bookmark
by bledad
10 Oct 2023, 10:29
Forum: ESP Easy: General Discussion
Topic: where find collection ?
Replies: 2
Views: 629

where find collection ?

Hello , i find PZEM-004Tv3
i see https://espeasy.readthedocs.io/en/lates ... /P102.html
but for the firmware esp8266 how to find it ?
between collection a ...g , custom , normal .....
i no understand
thank you
by bledad
27 Mar 2023, 08:58
Forum: ESP Easy: General Discussion
Topic: command exist for timezone ?
Replies: 6
Views: 1668

Re: command exist for timezone ?

thank you chromo23 for the tip,
I will be able to make a script to send on several at each time change

i understand the restricted TD-er , thank you for this presision
by bledad
26 Mar 2023, 15:15
Forum: ESP Easy: General Discussion
Topic: command exist for timezone ?
Replies: 6
Views: 1668

command exist for timezone ?

hello ,
Is there a command for timezone as for example ?

http://192.168.1.10/?cmd=timezone:120
thank you
by bledad
29 Nov 2022, 19:13
Forum: ESP Easy: General Discussion
Topic: 8 relay next mqtt
Replies: 12
Views: 2253

Re: 8 relay next mqtt

ok , it works ,I had forgotten to put in controllers > mqtt > controller subcribe > actions_bouton
by bledad
29 Nov 2022, 15:53
Forum: ESP Easy: General Discussion
Topic: 8 relay next mqtt
Replies: 12
Views: 2253

Re: 8 relay next mqtt

ok ,i try but in log error MQTT : Connection lost 6996172: ACT : Publish 'actions_bouton/sonnette/status', 3 6996204: ACT : Publish 'actions_bouton/fontaine/status', 0 6996226: MQTT : Connection lost, state: Disconnected 6996254: ACT : Publish 'actions_bouton/bassin/status', 2 6996374: IMPT : Error ...
by bledad
24 Nov 2022, 15:15
Forum: ESP Easy: General Discussion
Topic: 8 relay next mqtt
Replies: 12
Views: 2253

Re: 8 relay next mqtt

or give me the format that I have to publish of mqtt server
thank you
by bledad
24 Nov 2022, 14:14
Forum: ESP Easy: General Discussion
Topic: 8 relay next mqtt
Replies: 12
Views: 2253

Re: 8 relay next mqtt

i've delete slash and device put " sonnette#1 " now in log i 86259575: MQTT : Connected to broker with client ID: relais_8_0 86259576: Subscribed to: actions_bouton 86259582: EVENT: MQTT#Connected 86259592: IMPT : [rel2#Value1] subscribed to sonnette#1 86259830: MQTT : Connection lost, sta...
by bledad
24 Nov 2022, 11:52
Forum: ESP Easy: General Discussion
Topic: 8 relay next mqtt
Replies: 12
Views: 2253

Re: 8 relay next mqtt

ma config :
esp1.jpg
esp1.jpg (106.53 KiB) Viewed 2230 times
esp2.jpg
esp2.jpg (93.17 KiB) Viewed 2230 times
i receiv with mqtt broser
mqtt.jpg
mqtt.jpg (38.84 KiB) Viewed 2230 times
by bledad
24 Nov 2022, 11:25
Forum: ESP Easy: General Discussion
Topic: 8 relay next mqtt
Replies: 12
Views: 2253

Re: 8 relay next mqtt

i use mosqitto broker on linux
is what openhab is good with mosquitto ?
because i have nothing , not even a mistake in log espeasy
by bledad
23 Nov 2022, 16:18
Forum: ESP Easy: General Discussion
Topic: 8 relay next mqtt
Replies: 12
Views: 2253

8 relay next mqtt

hello , always next project 8 relay with esp8266 , where i thank's TD-er and chromo23 for the post https://www.letscontrolit.com/forum/viewtopic.php?t=9359 now I go for it with mqtt , but it doesn't go the way I want i have put in "Home Assistant (openHAB) MQTT" IP , port , Controller Subs...
by bledad
23 Nov 2022, 14:17
Forum: ESP Easy: General Discussion
Topic: error if and ife
Replies: 53
Views: 5411

Re: error if and ife

" can you test it and report? "
yes it work , a big thank you
by bledad
22 Nov 2022, 15:38
Forum: ESP Easy: General Discussion
Topic: error if and ife
Replies: 53
Views: 5411

Re: error if and ife

" can you test it and report? " , as soon as I have a moment, I test

I'm thinking of upgrading , with mqtt and html for each relay
exemple :
bouton.jpg
bouton.jpg (11.52 KiB) Viewed 675 times
by bledad
22 Nov 2022, 11:43
Forum: ESP Easy: General Discussion
Topic: error if and ife
Replies: 53
Views: 5411

Re: error if and ife

For example: - relais 1 - GPIO 13, inverted logic: "0" is "on" - When: %syssec_d% > 28800 and %syssec_d% < 72000 - forced on without %syssec_d% > 28800 and %syssec_d% < 72000 - forced off without %syssec_d% > 28800 and %syssec_d% < 72000 and for - relais 3 - same thing - add stop...
by bledad
22 Nov 2022, 10:44
Forum: ESP Easy: General Discussion
Topic: error if and ife
Replies: 53
Views: 5411

Re: error if and ife

it's my working 8 relay esp8266

be able to modify the action of each relay , ( on , off , on auto with schedule )
20221121_172948.jpg
20221121_172948.jpg (535.2 KiB) Viewed 4362 times
by bledad
21 Nov 2022, 17:18
Forum: ESP Easy: General Discussion
Topic: error if and ife
Replies: 53
Views: 5411

Re: error if and ife

I had thought about it , but i will have to reboot at each variable change ?
by bledad
21 Nov 2022, 16:54
Forum: ESP Easy: General Discussion
Topic: error if and ife
Replies: 53
Views: 5411

Re: error if and ife

yes , than you you can verifier the final code ? // relais //1=13,2=12,3=14,4=16,5=4,6=5,7=3,8=1 Let,1,0 Let,2,0 Let,11,0 // relais 1 > 0 = arret , 1 = marche force , 2 = marche auto sonnette Let,12,0 // relais 2 > 0 = arret , 1 = marche force , 2 = marche auto fontaine Let,13,0 // relais 3 > 0 = ar...
by bledad
21 Nov 2022, 16:01
Forum: ESP Easy: General Discussion
Topic: error if and ife
Replies: 53
Views: 5411

Re: error if and ife

with the toggle code , this ( with new code ), it's good ?

Code: Select all

 if [Var#13]=2 and  %syssec_d% > 36000 and %syssec_d% < 68400 //de 10h a 19h
        	Let,1,1 
        elseif [Var#12]=1
			gpio,14,0
   	    Else
        	Let,1,0       
  	    Endif
	endif
by bledad
21 Nov 2022, 15:56
Forum: ESP Easy: General Discussion
Topic: error if and ife
Replies: 53
Views: 5411

Re: error if and ife

sorry , another bad paste On Rules#Timer=1 Do If [Var#1]=1 GPIOToggle,14 Else GPIO,14,1 Endif Endon On Clock#Time=All,**:** Do If %syssec_d% > 36000 and %syssec_d% < 68400 //de 10h a 19h Let,1,1 // 1 = pompe bassin en marche Else Let,1,0 Endif Endon
by bledad
21 Nov 2022, 15:49
Forum: ESP Easy: General Discussion
Topic: error if and ife
Replies: 53
Views: 5411

Re: error if and ife

ok ,sorry , I had modified in my code, but not in the paste
by bledad
21 Nov 2022, 15:37
Forum: ESP Easy: General Discussion
Topic: error if and ife
Replies: 53
Views: 5411

Re: error if and ife

ok for 1 minute but you lost me with toggle i want start and stop gpio 14 every 15 minutes of 10h am to 7h pm the code work : On System#Boot Do LoopTimerSet,1,900 Endon On Rules#Timer=1 Do If [Var#1]=1 GPIOToggle,14 Else GPIO,14,1 Endon On Clock#Time=All,**:** Do If %syssec_d% > 36000 and %syssec_d%...
by bledad
21 Nov 2022, 15:16
Forum: ESP Easy: General Discussion
Topic: error if and ife
Replies: 53
Views: 5411

Re: error if and ife

yes ok , but if , by example , i want start relay 6 ( gpio 5 ) with Let variable without time ?,
by bledad
21 Nov 2022, 15:06
Forum: ESP Easy: General Discussion
Topic: error if and ife
Replies: 53
Views: 5411

Re: error if and ife

ok , i understand
why 1min later?
by bledad
21 Nov 2022, 14:32
Forum: ESP Easy: General Discussion
Topic: error if and ife
Replies: 53
Views: 5411

Re: error if and ife

hi , thank you , i've redone my rules for 8 relay where let variable if 0 = stop , 1 = forced work , automatique work it's good for you ?? // relais //1=13,2=12,3=14,4=16,5=4,6=5,7=3,8=1 Let,1,0 Let,2,0 Let,11,0 // relais 1 > 0 = arret , 1 = marche force , 2 = marche auto Let,12,0 // relais 2 > 0 = ...
by bledad
21 Nov 2022, 10:13
Forum: ESP Easy: General Discussion
Topic: error if and ife
Replies: 53
Views: 5411

Re: error if and ife

?? ,example , because i do google translate , my english is very bad
by bledad
21 Nov 2022, 10:03
Forum: ESP Easy: General Discussion
Topic: error if and ife
Replies: 53
Views: 5411

Re: error if and ife

yes good idea
by bledad
21 Nov 2022, 09:43
Forum: ESP Easy: General Discussion
Topic: error if and ife
Replies: 53
Views: 5411

Re: error if and ife

yes , hi have missing endif , but it works !! On Rules#Timer=1 Do If [Var#1]=1 GPIOToggle,14 Else GPIO,14,1 endif Endon for this : On Clock#Time=All,**:** Do If %syssec_d% > 36000 and %syssec_d% < 68400 //de 10h a 19h Let,1,0 // 1 = pump start 0 =pump stop Else Let,1,0 Endif If %syssec_d% > 3600 and...
by bledad
20 Nov 2022, 13:39
Forum: ESP Easy: General Discussion
Topic: error if and ife
Replies: 53
Views: 5411

Re: error if and ife

no problem : origine : On System#Boot Do LoopTimerSet,1,900 Endon On Rules#Timer=1 Do If [Var#1]=1 GPIOToggle,14 Else GPIO,14,1 Endon On Clock#Time=All,**:** Do If %syssec_d% > 36000 and %syssec_d% < 68400 //de 10h a 19h Let,1,0 // 1 = pompe bassin en marche Else Let,1,0 Endif modif : On System#Boot...
by bledad
20 Nov 2022, 11:42
Forum: ESP Easy: General Discussion
Topic: error if and ife
Replies: 53
Views: 5411

Re: error if and ife

ok , the algorithm is good , it took a long time , I was able to access it and correct the error
thank you very much
by bledad
19 Nov 2022, 17:37
Forum: ESP Easy: General Discussion
Topic: error if and ife
Replies: 53
Views: 5411

Re: error if and ife

in Clock#time=all,**:** do
it reboot , reboot .....
by bledad
19 Nov 2022, 16:51
Forum: ESP Easy: General Discussion
Topic: error if and ife
Replies: 53
Views: 5411

Re: error if and ife

yes in the rules , i've no access at serial log
by bledad
19 Nov 2022, 16:45
Forum: ESP Easy: General Discussion
Topic: error if and ife
Replies: 53
Views: 5411

error if and ife

hello, on esp8266 i have do a error , i have put ife instead if
now , i've no access
is there any way to get the access back?
thank you
by bledad
28 Jul 2022, 13:56
Forum: ESP Easy: General Discussion
Topic: [solved]mqtt button ?
Replies: 3
Views: 2595

Re: mqtt button ?

ok , iv'e renamed the mqtt states by value now , in my mqtt server i have channel : actions_bouton topics : sonnette if i put in rules : Publish sonnette_status auto mqtt server not receive i do : in controllers : openhab(mqtt) enable with ip , Controller Subscribe : actions_bouton/# and Controller ...
by bledad
27 Jul 2022, 17:16
Forum: ESP Easy: General Discussion
Topic: [solved]mqtt button ?
Replies: 3
Views: 2595

Re: mqtt button ?

ok ,
i use "ESP_Easy_mega_20220616_normal_ESP8266_4M1M"
i think have a probleme , because some buttons has three state ( on, off , auto)
I need to rename the mqtt states?
ex : on > 1 , off > 2 , auto >3

and after for link mqtt with dummy in rules ?
by bledad
27 Jul 2022, 16:17
Forum: ESP Easy: General Discussion
Topic: [solved]mqtt button ?
Replies: 3
Views: 2595

[solved]mqtt button ?

hello, before I start, I would like to know if it is possible i've mqtt server , the channel is : actions_bouton i publish : sonnette#on , sonnette#off from the espeasy side I would like example : On Clock#Time=All,**:** Do if mqtt#sonnette = on if %syssec_d% > 28800 and %syssec_d% < 72000 //de 7h a...
by bledad
23 Jul 2022, 18:22
Forum: ESP Easy: General Discussion
Topic: vl53l0x lost !!
Replies: 6
Views: 3258

Re: vl53l0x lost !!

thank you , it's work , with range normal > 0 , but with range long it's good