Search found 81 matches

by dr.zorg82
22 Mar 2023, 13:30
Forum: ESP Easy: Projects / Applications
Topic: Rules in ESPeasy
Replies: 137
Views: 37611

Re: Rules in ESPeasy

chromo23 wrote: 22 Mar 2023, 13:22 you can always head over to the log-viewer in the /tools tab
I always forget about it :oops: . Thanks a lot.
by dr.zorg82
22 Mar 2023, 13:12
Forum: ESP Easy: Projects / Applications
Topic: Rules in ESPeasy
Replies: 137
Views: 37611

Re: Rules in ESPeasy

and hello again. :) I have part of the code On down#gerkon Do if %eventvalue1%=1 GPIO,21,1 GPIO,26,1 TimerSet,1,900 Endif Endon On Rules#Timer=1 do GPIO,4,1 PWM,25,500 TimerSet,2,50 Endon On Rules#Timer=2 Do [garag#analog] Endon On garag#analog Do If %eventvalue1% < 999.00 And [plugin#gpio#pinstate#...
by dr.zorg82
21 Mar 2023, 18:07
Forum: ESP Easy: Projects / Applications
Topic: Rules in ESPeasy
Replies: 137
Views: 37611

Re: Rules in ESPeasy

chromo23 wrote: 21 Mar 2023, 17:49Sorry, but
I see. Thanks!! it's a pity. although needed to make an experience and maybe that's enough :roll:
by dr.zorg82
21 Mar 2023, 16:45
Forum: ESP Easy: Projects / Applications
Topic: Rules in ESPeasy
Replies: 137
Views: 37611

Re: Rules in ESPeasy

Give it a try. :) ] Thanks a lot. works. :) At first you need an interval for "garag#analog" ..like 1s, but one second is long :( Can you please tell me if it is possible to reduce the polling time of an analog sensor? it is impossible to take a big step to increase the PWM . now i increa...
by dr.zorg82
21 Mar 2023, 05:54
Forum: ESP Easy: Projects / Applications
Topic: Rules in ESPeasy
Replies: 137
Views: 37611

Re: Rules in ESPeasy

At first you need an interval for "garag#analog" ..like 1s, Good morning. Thanks, I'll try it tonight. but why do you think it won't work very well? Fine. if you forget about my project. how to make smooth adjustment of the LED in espeasy? For example, in C++ it can be done like this (tak...
by dr.zorg82
20 Mar 2023, 17:06
Forum: ESP Easy: Projects / Applications
Topic: Rules in ESPeasy
Replies: 137
Views: 37611

Re: Rules in ESPeasy

dr.zorg82 wrote: 19 Mar 2023, 17:01

Is it enough in my case to do so?

Code: Select all

ON garag#analog do
 if %eventvalue1% < 1000.00
  PWM,25,++2
 if %eventvalue1% > 1000.00
  PWM,25,--2
EndIf
endon
doesn't work like that.
by dr.zorg82
19 Mar 2023, 17:01
Forum: ESP Easy: Projects / Applications
Topic: Rules in ESPeasy
Replies: 137
Views: 37611

Re: Rules in ESPeasy

https://letscontrolit.com/forum/viewtopic.php?p=62958#p62958 Good afternoon. finally I got the second module and the analog current sensor. and I can keep asking questions :oops: I need to maintain a stable current in the reactor by using a salt pump. that is, if the current in the reactor is lower ...
by dr.zorg82
06 Feb 2023, 16:10
Forum: ESP Easy: Projects / Applications
Topic: Rules in ESPeasy
Replies: 137
Views: 37611

Re: Rules in ESPeasy

TD-er wrote: 06 Feb 2023, 10:07 I think this is just about all you need:
put your code. everything works as it should. I bow before you :)
by dr.zorg82
06 Feb 2023, 15:04
Forum: ESP Easy: Projects / Applications
Topic: Rules in ESPeasy
Replies: 137
Views: 37611

Re: Rules in ESPeasy

TD-er wrote: 06 Feb 2023, 14:53
I guess that would be a rather constant current indeed.
yes, this current does not change very often. it's pretty constant. although I'll still look at the oscilloscope to be sure. thank you for your patience. :)
by dr.zorg82
06 Feb 2023, 14:20
Forum: ESP Easy: Projects / Applications
Topic: Rules in ESPeasy
Replies: 137
Views: 37611

Re: Rules in ESPeasy

If for example the motor is a brushed DC motor, the current will change every time the brush connects to the next coil and the currents will be 'all over the scale'. Maybe even spike >100A for a very short time. No. motor current does not need to be measured. brine enters the reactor. a constant vo...
by dr.zorg82
06 Feb 2023, 13:50
Forum: ESP Easy: Projects / Applications
Topic: Rules in ESPeasy
Replies: 137
Views: 37611

Re: Rules in ESPeasy

That's why I mentioned you should be able to 'look' at the signal output of the sensor before trying to make sense of it using rules. If I understand you correctly, I will answer: this sensor has an analog signal at the output. for every ampere of current it produces 100 mV of DC voltage. that is, ...
by dr.zorg82
06 Feb 2023, 13:26
Forum: ESP Easy: Projects / Applications
Topic: Rules in ESPeasy
Replies: 137
Views: 37611

Re: Rules in ESPeasy

I'll try to explain. disinfection of water in the pool is carried out using a device that produces chlorine from a 10% salt solution (NaCl). but the solution is not always the same, sometimes there is more water, sometimes more salt, and the current in the reactor of the device and, accordingly, the...
by dr.zorg82
06 Feb 2023, 12:27
Forum: ESP Easy: Projects / Applications
Topic: Rules in ESPeasy
Replies: 137
Views: 37611

Re: Rules in ESPeasy

or maybe you will recommend another current sensor that will be easier to set up in espeasy? my task is to measure the direct current in the circuit and, according to the values ​​of this current, increase or decrease the speed of the collector motor
by dr.zorg82
06 Feb 2023, 12:22
Forum: ESP Easy: Projects / Applications
Topic: Rules in ESPeasy
Replies: 137
Views: 37611

Re: Rules in ESPeasy

TD-er wrote: 06 Feb 2023, 11:35 That's just a simple hall-effect sensor, outputting an analog value, right?
it's right.
oscilloscope and multimeter are available. I will use them when setting up the current sensor
by dr.zorg82
06 Feb 2023, 10:48
Forum: ESP Easy: Projects / Applications
Topic: Rules in ESPeasy
Replies: 137
Views: 37611

Re: Rules in ESPeasy

Fine. I understand. Thank you. I will study the code and try in practice. By the way, I'll get back to you. I will need to make control of the current in the circuit and adjust the speed of rotation of the collector motor. and I feel like I can't do it myself. but this is later, while I'm waiting fo...
by dr.zorg82
06 Feb 2023, 10:31
Forum: ESP Easy: Projects / Applications
Topic: Rules in ESPeasy
Replies: 137
Views: 37611

Re: Rules in ESPeasy

Thanks a lot. I'll try a little later. :) and the pump is always running, the water must constantly circulate. only from 22.00 to 02.00 I turn it off. but if the water temperature drops, then the boiler turns on and the pump also turns on now I see why it was easier for you to write the code yoursel...
by dr.zorg82
06 Feb 2023, 08:23
Forum: ESP Easy: Projects / Applications
Topic: Rules in ESPeasy
Replies: 137
Views: 37611

Re: Rules in ESPeasy

thank you/ it's should be godd :oops:
by dr.zorg82
05 Feb 2023, 16:08
Forum: ESP Easy: Projects / Applications
Topic: Rules in ESPeasy
Replies: 137
Views: 37611

Re: Rules in ESPeasy

unfortunately I didn't understand the question:cry: . pin 26 is an input (temperature sensor), pin 12.13.27.32.33 is an output, they control devices. at the moment there are no more pins involved. use esp32 wroom32d.
by dr.zorg82
05 Feb 2023, 06:26
Forum: ESP Easy: Projects / Applications
Topic: Rules in ESPeasy
Replies: 137
Views: 37611

Re: Rules in ESPeasy

on Time#Initialized do If %systm_hm_0% <=22:00 And %systm_hm_0% >= 02:00 gpio,33,1 gpio,12,1 else gpio,33,0 endif endon On Clock#Time=All,22:00 do // каждый день выкл. насос If [boiler#boiler]=1 gpio,33,1 else gpio,33,0 Endif endon On Clock#Time=All,02:00 do // каждый день вкл. нас gpio,33,1 endon ...
by dr.zorg82
04 Feb 2023, 19:55
Forum: ESP Easy: Projects / Applications
Topic: Rules in ESPeasy
Replies: 137
Views: 37611

Re: Rules in ESPeasy

I'm sorry, but I don't understand. I will try to explain again: the main setting is to turn on pin 27 at 18:00 and turn it off at 19:30. but the boiler can work during this period of time, so I need to shift the work of pin 27. but pin 27 should work for an hour and a half, despite the fact that the...
by dr.zorg82
04 Feb 2023, 18:16
Forum: ESP Easy: Projects / Applications
Topic: Rules in ESPeasy
Replies: 137
Views: 37611

Re: Rules in ESPeasy

thanks for the clarification. I'm trying to figure out the rest.
by dr.zorg82
04 Feb 2023, 17:09
Forum: ESP Easy: Projects / Applications
Topic: Rules in ESPeasy
Replies: 137
Views: 37611

Re: Rules in ESPeasy

it's me again :oops: ihave part of the code: On Clock#Time=All,18:00 do // каждый день вкл химия If [boiler#boiler]=0 and [pump#pump]=1 gpio,27,1 TimerSet_ms,1,2500 Else gpio,27,0 Endif Endon On Rules#Timer=1 do // timer 1 action Pulse,32,1,500 TimerSet_ms,2,2500 Endon On Rules#Timer=2 do // timer 2...
by dr.zorg82
03 Feb 2023, 11:24
Forum: ESP Easy: Projects / Applications
Topic: Rules in ESPeasy
Replies: 137
Views: 37611

Re: Rules in ESPeasy

TD-er wrote: 03 Feb 2023, 10:12 And the fix to your rules problem is very simple:
thanks for the help ;)
by dr.zorg82
03 Feb 2023, 09:11
Forum: ESP Easy: Projects / Applications
Topic: Rules in ESPeasy
Replies: 137
Views: 37611

Re: Rules in ESPeasy

There are (at least) 3 ways to it's not that. for example if i write this code On [boiler#boiler]=0 do // every day on chemistry (Google translated...) If %systm_hm_0% >22:00 And %systm_hm_0% < 02:00 gpio,27,1 Else gpio,27,0 Endif Endon then nothing works. though the colors are beautiful :D that is...
by dr.zorg82
03 Feb 2023, 08:26
Forum: Introduce yourself
Topic: Hello, I'm from Russia,
Replies: 8
Views: 4223

Re: Hello, I'm from Russia,

here came. thank you 8-)
by dr.zorg82
03 Feb 2023, 08:23
Forum: Introduce yourself
Topic: Hello, I'm from Russia,
Replies: 8
Views: 4223

Re: Hello, I'm from Russia,

Ath wrote: 03 Feb 2023, 08:19 Just keep asking questions
that's what I do, thanks! :D
by dr.zorg82
03 Feb 2023, 08:22
Forum: ESP Easy: Projects / Applications
Topic: Rules in ESPeasy
Replies: 137
Views: 37611

Re: Rules in ESPeasy

Is there an espeasy emulator for windows? it would be great not having a module, configure and test the rules. for example, I don’t have Wi-Fi at work and I don’t really want to carry a module with me to write rules. and so I would set everything up on the computer and then transfer it to the module
by dr.zorg82
03 Feb 2023, 07:40
Forum: Introduce yourself
Topic: Hello, I'm from Russia,
Replies: 8
Views: 4223

Re: Hello, I'm from Russia,

Ath wrote: 03 Feb 2023, 07:31
That's in the User Control Panel:
i have not this sett :?:
Безымянный.png
Безымянный.png (35.55 KiB) Viewed 2955 times
by dr.zorg82
03 Feb 2023, 07:11
Forum: Introduce yourself
Topic: Hello, I'm from Russia,
Replies: 8
Views: 4223

Re: Hello, I'm from Russia,

gd. i am from russia too)) us so many here)) By the way, I tried to indicate my location in the profile and nothing happened. where is this setting?
by dr.zorg82
02 Feb 2023, 09:27
Forum: ESP Easy: Projects / Applications
Topic: Rules in ESPeasy
Replies: 137
Views: 37611

Re: Rules in ESPeasy

Ath wrote: 02 Feb 2023, 08:29

That is the cause of the erratic behavior, as dela
thank you very much
by dr.zorg82
02 Feb 2023, 07:48
Forum: ESP Easy: Projects / Applications
Topic: Rules in ESPeasy
Replies: 137
Views: 37611

Re: Rules in ESPeasy

gd. firmware ESP_Easy_mega_20221224_energy_ESP32_4M316k Dec 24 2022, modul esp32 wroom 32d. here is part of the code: On Clock#Time=All,17:37 do // каждый день вкл. химия If [boiler#boiler]=0 and [pump#pump]=1 gpio,27,1 delay,2500 Pulse,32,1,500 delay,2500 Pulse,13,1,500 Else gpio,27,0 Endif endon a...