Search found 35 matches

by iz8mbw
29 Oct 2023, 21:38
Forum: ESP Easy: Software
Topic: Switch input - Push button on longpress
Replies: 12
Views: 2241

Re: Switch input - Push button on longpress

since it's a bug, please I'll prefer to talk about it on GitHub.
Thanks!
by iz8mbw
29 Oct 2023, 19:42
Forum: ESP Easy: Software
Topic: Switch input - Push button on longpress
Replies: 12
Views: 2241

Re: Switch input - Push button on longpress

Here my Switch Input config:
switch_input.JPG
switch_input.JPG (59.52 KiB) Viewed 2130 times
by iz8mbw
29 Oct 2023, 15:00
Forum: ESP Easy: Software
Topic: Switch input - Push button on longpress
Replies: 12
Views: 2241

Re: Switch input - Push button on longpress

@chromo23 I suppose we should change that behavior in the plugin.
EVENT 0 (or 1) should NOT be sent if EVENT 10 (or 11) is generated, so IF Logpress THEN no EVENT1 (or 0).
Now both EVENT 0 (or 1) AND EVENT 10 (or 11) are generated.

A longpress IS NOT a short press.
by iz8mbw
29 Oct 2023, 10:43
Forum: ESP Easy: Software
Topic: Switch input - Push button on longpress
Replies: 12
Views: 2241

Re: Switch input - Push button on longpress

Thank you for the link provided.
Anyway I have the issue that the "EVENT10" (Logpress) is generated also if I press for a very very short time the push button, and this is a problem.
by iz8mbw
27 Oct 2023, 19:15
Forum: ESP Easy: Software
Topic: Switch input - Push button on longpress
Replies: 12
Views: 2241

Switch input - Push button on longpress

Hello. I have notices the Switch input - Push button on longpress does not work as I expect. What I notices is EVENT 10 (the long press event) is always generated also if the press duration of push button is less than what is configured in "Longpress min. interval (ms)". Example I have Lon...
by iz8mbw
23 Oct 2023, 19:27
Forum: ESP Easy: Software
Topic: Set Input GPIO values via Rules
Replies: 5
Views: 1271

Re: Set Input GPIO values via Rules

So if I have a push button switch connected to a GPIO (pulled down via a resistor) and I press the button (so I gives to that GPIO a 3V3 just the time of pushing the button), the GPO changes to 1, if I press again it will switch to 0 and so on in loop at every press. Well, it works OK and by design....
by iz8mbw
23 Oct 2023, 18:35
Forum: ESP Easy: Software
Topic: Set Input GPIO values via Rules
Replies: 5
Views: 1271

Set Input GPIO values via Rules

Hello. I need to set an Input GPIO value to 0 (zero) via Rules on ESP32 board. For example in Rules if I have some like that: On Rules#Timer=2 do GPIO,34,0 Let,8,0 Endon but it does not put GPIO 34 to 0. If I use instead an Input/Output GPIO it works. How can I set an Input GPO value via Rules? Than...
by iz8mbw
14 Oct 2023, 07:55
Forum: ESP Easy: General Discussion
Topic: Missing "Notifications" tab in Custom build
Replies: 10
Views: 1223

Missing "Notifications" tab in Custom build

Hello.
I have created some Custom build by edit "Custom.h" in order to have a bin with all Plugins I need but I was not able to have the "Notifications" tab in the Web interface.
Both

Code: Select all

#define USES_N001   // Email
#define USES_N002   // Buzzer
are enabled.

What I miss?

Thanks.
by iz8mbw
15 Sep 2023, 21:25
Forum: ESP Easy: Software
Topic: Push button switch with multiple pushed combinations providing multiple commands
Replies: 2
Views: 990

Re: Push button switch with multiple pushed combinations providing multiple commands

Hello and thanks @chromo23. I have tried the code but it works like as expected only every two push, so: push 1 -> nothing push 2 -> command 1 push 3 -> nothing push 4 -> command 2 push 5 -> nothing push 6 -> command 3 push 7 -> nothing push 8 -> command 4 so I have modified the Rule removing the If...
by iz8mbw
11 Sep 2023, 14:19
Forum: ESP Easy: Software
Topic: Push button switch with multiple pushed combinations providing multiple commands
Replies: 2
Views: 990

Push button switch with multiple pushed combinations providing multiple commands

Hello. I'm using a push button switch connected to ESPEasy in order to send HTTP commands with two combinations, in my case now I have: 1. push button switch -> close rolling shutter. 2. push (again) button switch -> open rolling shutter and this combinations is in loop (1,2 1,2 1,2....). This is th...
by iz8mbw
08 Sep 2023, 15:12
Forum: ESP Easy: Software
Topic: SendToHTTP (GET and POST) with Headers
Replies: 7
Views: 1428

Re: SendToHTTP (GET and POST) with Headers

Hello. May be can be of interest for other users. I post the original CURL command and the equivalent command (PostToHTTP) for ESPEasy rule: HTTP POST with curl: curl -X POST -H "Authorization: Bearer VERY_LONG_HOME_ASSISTANT_TOKEN_TO_VALORIZE" -H "Content-Type: application/json"...
by iz8mbw
07 Sep 2023, 08:15
Forum: ESP Easy: Software
Topic: [SOLVED] Help with Rules for Toggle push button switch with alternate commands to drive rolling shutter
Replies: 12
Views: 1677

Re: Help with Rules for Toggle push button switch with alternate commands

Hello. Thanks to @chromo23 and thanks to all. Finally I was able to avoid the initial (at boot or at reboot) "flapping" of GPIO state that sent involuntary commands to my rolling shutter. This is my final code that drive my rolling shutter via HTTP GET (drive a Shelly 2.5) using a push but...
by iz8mbw
05 Sep 2023, 15:46
Forum: ESP Easy: Software
Topic: [SOLVED] Help with Rules for Toggle push button switch with alternate commands to drive rolling shutter
Replies: 12
Views: 1677

Re: Help with Rules for Toggle push button switch with alternate commands

but I suppose in this case I set the Timer to set the GPIO18 to 0 (wait 2 seconds after boot and then set GPIO18 to 0). Since when I reboot or power-on the ESP32 my rolling shutters start to move also if no push button is pressed, I think the timer should be applied to the command that drive the rol...
by iz8mbw
05 Sep 2023, 13:03
Forum: ESP Easy: Software
Topic: [SOLVED] Help with Rules for Toggle push button switch with alternate commands to drive rolling shutter
Replies: 12
Views: 1677

Re: Help with Rules for Toggle push button switch with alternate commands

Is there some software solution like apply the Rules for that GPO only after 2 seconds after the boot?

I mean, I can wait that Rule is applied some seconds after the boot.

Thanks.
by iz8mbw
05 Sep 2023, 12:00
Forum: ESP Easy: Software
Topic: [SOLVED] Help with Rules for Toggle push button switch with alternate commands to drive rolling shutter
Replies: 12
Views: 1677

Re: Help with Rules for Toggle push button switch with alternate commands

Yes, I have tried to invert the logic but what changes is the rolling shutter direction, so this approach isn't good.

I have also tried in the Hardware tab to set to LOW that GPIO pin but anyway for some milliseconds it looks like the GPIO is set to high so rolling shutters moves.
by iz8mbw
05 Sep 2023, 11:20
Forum: ESP Easy: Software
Topic: [SOLVED] Help with Rules for Toggle push button switch with alternate commands to drive rolling shutter
Replies: 12
Views: 1677

Re: Help with Rules for Toggle push button switch with alternate commands

...but when I reboot the ESP32 board it will go to set to "high" also if I have set this command at the beginning of the Rules:

Code: Select all

On System#Boot do
 GPIO,18,0
Endon
so rolling shutter strass to move also if the push button is not pressed.
by iz8mbw
05 Sep 2023, 10:46
Forum: ESP Easy: Software
Topic: SendToHTTP (GET and POST) with Headers
Replies: 7
Views: 1428

Re: SendToHTTP (GET and POST) with Headers

Thanks, trying to "convert" the curl format with the ESPEasy format but it's hard... Why don't use the same "curl" syntax like: -H "header 1 value" -H "header 2 value" so simply separate Headers by space. In ESPEasy the %LF% is the Header separator like the sp...
by iz8mbw
05 Sep 2023, 10:19
Forum: ESP Easy: Software
Topic: SendToHTTP (GET and POST) with Headers
Replies: 7
Views: 1428

SendToHTTP (GET and POST) with Headers

Hello. I'm doing some experience with "SendToHTTP ", for me it's very useful. I need to send some HTTP GET and HTTP POST with Headers, is it possible? Here some "curl" examples that I would like to "convert" for ESPEasy: GET: curl -X GET -H "Authorization: Bearer V...
by iz8mbw
05 Sep 2023, 08:36
Forum: ESP Easy: Software
Topic: [SOLVED] Help with Rules for Toggle push button switch with alternate commands to drive rolling shutter
Replies: 12
Views: 1677

[SOLVED] Help with Rules for Toggle push button switch with alternate commands to drive rolling shutter

Hello. I would like to use a push button switch connectted to ESPEasy in order to send HTTP command (using the SendToHTTP feature of ESPEasy) to open and close my rolling shutter. So the behaviour of the push button switch should be: Default to low, no actions (push button switch don't pressed) When...
by iz8mbw
05 Sep 2023, 08:25
Forum: ESP Easy: General Discussion
Topic: Send HTTP commands on remote (external) host when GPIO state changes
Replies: 4
Views: 971

Re: Send HTTP commands on remote (external) host when GPIO state changes

Thank you!
I'm using "SendToHTTP 192.168.1.20,80,/relay/0?turn=on" to send the HTTP GET.
by iz8mbw
04 Sep 2023, 09:58
Forum: ESP Easy: General Discussion
Topic: Send HTTP commands on remote (external) host when GPIO state changes
Replies: 4
Views: 971

Send HTTP commands on remote (external) host when GPIO state changes

Hello.
Is it possible to tell to ESPEasy to run a HTTP command (GET) on a GPIO state changes?
As example, send this HTTP GET "http://192.168.1.20/relay/0?turn=on" when GPIO 18 is High.

Thanks.
by iz8mbw
09 Aug 2023, 08:20
Forum: ESP Easy: Hardware
Topic: TACxxxx series Modbus Energy meter
Replies: 24
Views: 6453

Re: TACxxxx series Modbus Energy meter

Hello. @Ath yes, please give a look to a customer review of one of the Aliexpress link, an user specify it's software compatible with SDM120. @TD-er As you can see TAC1100 has one huge screw terminal (bigger respect to the SDM120 one that supports maximum 6 mm^2) for LINE and a small one for NEUTRAL...
by iz8mbw
08 Aug 2023, 17:18
Forum: ESP Easy: Hardware
Topic: TACxxxx series Modbus Energy meter
Replies: 24
Views: 6453

TACxxxx series Modbus Energy meter

Hello. There are several Modbus smart Energy meter (similar to the Eastron ones) of the TACxxxx series that looks like to be software compatible with SDM120 (Models TAC1100 and TAC2100 seems to be compatible). Here some links: https://aliexpress.com/item/1005005653834309.html https://aliexpress.com/...
by iz8mbw
22 Jun 2023, 10:56
Forum: ESP Easy: General Discussion
Topic: Send Task value only if it's different from the previous one - Help with Rules
Replies: 5
Views: 869

Re: Send Task value only if it's different from the previous one - Help with Rules

Thanks all for answers and clarifications. So since "TaskRun" only get the name of the task and not the value name attached I created 2 dummy tasks. More, since I wants values in MQTT but I want also the same MQTT Topic (example: espeasy_2/sht/) I disabled the "Send to Controller"...
by iz8mbw
22 Jun 2023, 08:27
Forum: ESP Easy: General Discussion
Topic: Send Task value only if it's different from the previous one - Help with Rules
Replies: 5
Views: 869

Send Task value only if it's different from the previous one - Help with Rules

Hi. As requested on Github (https://github.com/letscontrolit/ESPEasy/issues/4709) I would like to have the possibility to tell to ESPEasy to send via MQTT the "new" value only if it's different from the previous one, in my case Temperature and Humidity values from a sensor. For now it's no...
by iz8mbw
14 Apr 2023, 15:19
Forum: ESP Easy: Projects / Applications
Topic: Help - Alarm System and Rules
Replies: 6
Views: 1698

Re: Help - Alarm System and Rules

Hi. The Rule you created works but the as you can see from this log (MQTT), the alarm siren (GPIO-16) starts just after the detection (and it's correct) but at 15:00:49 it stop also if at 2023-04-14 15:00:44 there was another detection. The detection that started at 15:00:44 ended at 15:00:58 but th...
by iz8mbw
14 Apr 2023, 09:52
Forum: ESP Easy: Projects / Applications
Topic: Help - Alarm System and Rules
Replies: 6
Views: 1698

Re: Help - Alarm System and Rules

Thanks!!!
Will got to test.
by iz8mbw
14 Apr 2023, 09:46
Forum: ESP Easy: Projects / Applications
Topic: Help - Alarm System and Rules
Replies: 6
Views: 1698

Re: Help - Alarm System and Rules

Using ESP32.
Ok, I'll go to change GPIO.
Sorry I wrong to copy/paste the Rule, this is the Rule I set:

Code: Select all

on motion#Detection=1 do
  GPIO,16,1
  TimerSet,1,30
Endon

On Rules#Timer=1 do  //When Timer1 expires, do
   GPIO,16,0
   Endon
Thanks.
by iz8mbw
14 Apr 2023, 09:27
Forum: ESP Easy: Projects / Applications
Topic: Help - Alarm System and Rules
Replies: 6
Views: 1698

Help - Alarm System and Rules

Hi all. I'm thinking to create a house Alarm System with ESPEasy. For now I have a PIR sensor connected to GPIO-12 as "Switch input - Switch" and it works as expected, so when motion is detected the GPIO-12 is High and I also send the detection via MQTT, all ok it works. I would like to tr...