Search found 19 matches

by abhelou
29 Nov 2023, 11:45
Forum: ESP Easy: General Discussion
Topic: usable gpio
Replies: 1
Views: 1039

usable gpio

hello everyone i'm trying to tweak my room espeasy controller (node mcu) now im using gpio 4,5 for I2C gpio 1,2,3, for rotary encoder gpio 13 as pwm output gpio 12 as output for IR led i would like to control additional 2 relays for shutter (up/down). which configuration i can use for my application...
by abhelou
14 Mar 2023, 12:33
Forum: ESP Easy: General Discussion
Topic: TaskValueSet
Replies: 18
Views: 1973

Re: TaskValueSet

What version of ESPEasy are you running? (Name of the .bin file installed, please, should be shown on every page bottom right, and if not, on the Tools/Info page) no, all intervals for dummy and encoder are 0 If the Interval is set to 0, then no event is generated when the value for Dummy,Pwm is se...
by abhelou
12 Mar 2023, 19:59
Forum: ESP Easy: General Discussion
Topic: TaskValueSet
Replies: 18
Views: 1973

Re: TaskValueSet

Ath wrote: 12 Mar 2023, 19:46 Do you have an Interval > 0 set on the Dummy Device?
no, all intervals for dummy and encoder are 0
by abhelou
12 Mar 2023, 19:01
Forum: ESP Easy: General Discussion
Topic: TaskValueSet
Replies: 18
Views: 1973

Re: TaskValueSet

by the way, my switch configuration is push button active high. anything i can do to switch state in rules while using this type of switch? That plugin is intended to reflect the state of a switch connected to a GPIO pin, not to emulate an electronic button, so there are no commands to manipulate t...
by abhelou
12 Mar 2023, 16:03
Forum: ESP Easy: General Discussion
Topic: TaskValueSet
Replies: 18
Views: 1973

Re: TaskValueSet

by the way, my switch configuration is push button active high. anything i can do to switch state in rules while using this type of switch?
by abhelou
12 Mar 2023, 13:10
Forum: ESP Easy: General Discussion
Topic: TaskValueSet
Replies: 18
Views: 1973

Re: TaskValueSet

yes it is enabled. on devices page, i can see state turn to 0, and light turn off, but when i click the switch again, it seems like it is still 1, but is shows 0. so i have to click once again to be able to toggle state to 1 I think i know what your issue is. You have a toggle switch, which sets a ...
by abhelou
09 Mar 2023, 17:56
Forum: ESP Easy: General Discussion
Topic: TaskValueSet
Replies: 18
Views: 1973

Re: TaskValueSet

You have a mistake in your rules on rotary#counter do TaskValueSet 3,1,1023-(%eventvalue%*10.23) endif <---------------------------------------- if there is an "endif" there should be an "if" or no "endif" at all rotary#counter=%eventvalue% <----------- what is this fo...
by abhelou
09 Mar 2023, 17:10
Forum: ESP Easy: General Discussion
Topic: TaskValueSet
Replies: 18
Views: 1973

Re: TaskValueSet

The Switch is checking the current level of the GPIO pin, not the task state, and with TaskValueSet you only change that state. Instead of changing the state using TaskValueSet, you could set the level of the GPIO pin, using the GPIO,0,1 command or toggle the level by using GPIOToggle,0 that doesn'...
by abhelou
08 Mar 2023, 23:42
Forum: ESP Easy: General Discussion
Topic: TaskValueSet
Replies: 18
Views: 1973

Re: TaskValueSet

Have you checked the checkbox on the Tools->Advanced page for "Allow TaskValueSet on all plugins" ? yes it is enabled. on devices page, i can see state turn to 0, and light turn off, but when i click the switch again, it seems like it is still 1, but is shows 0. so i have to click once ag...
by abhelou
08 Mar 2023, 23:17
Forum: ESP Easy: General Discussion
Topic: TaskValueSet
Replies: 18
Views: 1973

TaskValueSet

hii i have been doing this room controller for dimming the light. i made an AC dimmer which can be used using pwm. toggle switch 0 ->pwm = 1023 -> turn off lamp toggle switch 1 -> pwm = 0 -> turn on lamp full brightness rotary encoder to control pwm now my issue is when switch is 0, and i turn modif...
by abhelou
12 Jan 2023, 14:06
Forum: ESP Easy: General Discussion
Topic: HC-SR04 distance sensor value via Serial proxy
Replies: 8
Views: 1396

Re: HC-SR04 distance sensor value via Serial proxy

ESP side: DI, DE and /RE, tied three pins and connected to echo GPIO via voltage divider RO pin connected to trigger GPIO Sensor side: DI, DE and /RE, tied three pins and connected to echo pin RO pin connected to trigger pin used 120ohm between A and B, using short cable for testing. connection betw...
by abhelou
12 Jan 2023, 13:29
Forum: ESP Easy: General Discussion
Topic: HC-SR04 distance sensor value via Serial proxy
Replies: 8
Views: 1396

Re: HC-SR04 distance sensor value via Serial proxy

"N.B. the trigger pin on the ESP is connected to DI (Data in) on the MAX485 and the RO on the MAX485 to the trigger in GPIO on the ESP (via level converter or resistors)" ?

you meant RO on the MAX485 to echo in GPIO on the ESP (via level converter or resistors)
am I right ?
by abhelou
12 Jan 2023, 12:09
Forum: ESP Easy: General Discussion
Topic: HC-SR04 distance sensor value via Serial proxy
Replies: 8
Views: 1396

Re: HC-SR04 distance sensor value via Serial proxy

I have both the trigger and the echo be connected to the RO and DI respectively.
crossed the A and B pins between 2 MAX485
what do you mean tie RE & DE to the sending pin ?
if D5 and D6 are used for the sensor on the ESP, which pins from second MAX485 should i connect to it?
by abhelou
12 Jan 2023, 09:46
Forum: ESP Easy: General Discussion
Topic: HC-SR04 distance sensor value via Serial proxy
Replies: 8
Views: 1396

Re: HC-SR04 distance sensor value via Serial proxy

I have already tried to extend the sensor cable and added a one capacitor to stabilize the voltage over a cable of 30 meters, and it worked well, but not sure about its reliability without signal converter.
I have on the shelf some MAX485, does it do the job or I need different type of converters?
by abhelou
12 Jan 2023, 01:25
Forum: ESP Easy: General Discussion
Topic: HC-SR04 distance sensor value via Serial proxy
Replies: 8
Views: 1396

HC-SR04 distance sensor value via Serial proxy

Hii I installed distance sensor on espeasy for water tank level. as tank level on roof, espeasy can't connect to wifi, so i am trying to send the HC-SR04 distance to another ESP at home which is connected to the wifi. i connected both ESP via rx-tx (D9-D10), it is sending to each other all the log a...
by abhelou
19 Dec 2022, 11:51
Forum: ESP Easy: General Discussion
Topic: p2p and espeasy-now
Replies: 4
Views: 2318

Re: p2p and espeasy-now

Understood, switching to a lower bandwidth when an ESP-NOW packet isn't acknowledged is a great way to improve the signal range.
unfortunately we can't send commands to nodes via espeasy-now mesh. hope to have this feature ready soon :D
Thanks TD-er
by abhelou
16 Dec 2022, 10:46
Forum: ESP Easy: General Discussion
Topic: p2p and espeasy-now
Replies: 4
Views: 2318

Re: p2p and espeasy-now

in my setup, both esp are esp8266. esp1(node1) is connected to wifi and to mqtt broker, esp2(node2) connected to dht12. even though node 1 is connected to mqtt broker via wifi, i'm still not able to receive from node via espeasy-now controller, while i can see in log of node 1 that i'm receiving dat...
by abhelou
15 Dec 2022, 14:34
Forum: ESP Easy: General Discussion
Topic: p2p and espeasy-now
Replies: 4
Views: 2318

p2p and espeasy-now

hello! i used custom build using the controller espeasy-now (c019) and dht12. esp1 connected to screen showing temperature received from esp2 esp2 is connected to dht12 esp1 controllers: 1- mqtt, 2- espeasy p2p, 3-espeasy-now both esp have espeasy-now enabled from advanced tab. espeasy-now peer mac ...
by abhelou
01 Sep 2021, 11:27
Forum: Introduce yourself
Topic: Hello from Beirut
Replies: 1
Views: 3193

Hello from Beirut

Hello, my name is Abdo, i do use espeasy since longtime. thank you all for the effort