Search found 73 matches

by leel1967l
03 Dec 2021, 10:45
Forum: ESP Easy: Hardware
Topic: MCP23017 - read pin state [plugin#mcpgpio#pinstate#1]
Replies: 8
Views: 6202

Re: MCP23017 - read pin state [plugin#mcpgpio#pinstate#1]

Hi
If I am not wrong you cannot have nested if..else..endif.
Maybe @TD-er can clarify this.
by leel1967l
02 Dec 2021, 15:48
Forum: ESP Easy: Hardware
Topic: MCP23017 - read pin state [plugin#mcpgpio#pinstate#1]
Replies: 8
Views: 6202

Re: MCP23017 - read pin state [plugin#mcpgpio#pinstate#1]

The MONITOR command accepts both MCP or MCPGPIO, it doesn't matter.
I was suggesting to try a diferent bin version, because in my setup the monitor and the [plugin#mcpgpio#pinstate#1] commands work.
by leel1967l
02 Dec 2021, 09:17
Forum: ESP Easy: Hardware
Topic: MCP23017 - read pin state [plugin#mcpgpio#pinstate#1]
Replies: 8
Views: 6202

Re: MCP23017 - read pin state [plugin#mcpgpio#pinstate#1]

Hi @johndoe39274, I am using the 20211105 version and I am using the following snippet: on System#Boot do mcpgpio,1,1 monitor,mcp,1 endon on mcp#1 do publish %sysname%/Relay/r1,=[PLUGIN#MCPGPIO#PINSTATE#1] endon The only difference I see is that I am using the normal 4M version and not the 16M, beta...
by leel1967l
03 Aug 2021, 18:13
Forum: ESP Easy: Software
Topic: Longpress only works once
Replies: 15
Views: 9520

Re: Longpress only works once

Hi,
Bug is confirmed and solution will provided ASAP.

Please see: https://github.com/letscontrolit/ESPEasy/issues/3736 for updates.
by leel1967l
31 Jul 2021, 09:27
Forum: ESP Easy: Software
Topic: Longpress only works once
Replies: 15
Views: 9520

Re: Longpress only works once

ok. Thanks for testing.
Can you try to set "Longpress event" = "ACTIVE only on LOW" ?

And then report back?
by leel1967l
30 Jul 2021, 10:29
Forum: ESP Easy: Software
Topic: Longpress only works once
Replies: 15
Views: 9520

Re: Longpress only works once

Hi, I need sometime to setup a PCF expander in my lab. In the meantime, can you make the following test: 1) disable the doubleclick event and try to see if longpress still works only once 2) reduce the doubleclick time to 500ms and try to see if longpress still works only once then report back your ...
by leel1967l
07 Feb 2021, 11:22
Forum: ESP Easy: Software
Topic: Longpress only works once
Replies: 15
Views: 9520

Re: Longpress only works once

Thanks, but I didn't see why i use inverted logic? For me 1=HIGH ist normal :? I still activated the option and tried all possible settings. All variants send LONGPRESS only once. Then I did a downgrade (mega-20200426). With this version everything works correctly, LONGPRESS is sent every time. Wha...
by leel1967l
04 Feb 2021, 19:03
Forum: ESP Easy: Software
Topic: Longpress only works once
Replies: 15
Views: 9520

Re: Longpress only works once

You are using an inverted logic, where HIGH=1.
Have you tried to flag the "Inverted Logic" option?
by leel1967l
03 Feb 2021, 16:18
Forum: ESP Easy: Software
Topic: Longpress only works once
Replies: 15
Views: 9520

Re: Longpress only works once

Will have a look at it.
Can you post the screenshot of the device configuration?
by leel1967l
17 Nov 2020, 17:03
Forum: ESP Easy: Software
Topic: Reading (output) GPIO state within rules
Replies: 4
Views: 6624

Re: Reading (output) GPIO state within rules

I am asking for solution to get state of output GPIO which is used for controlling relay. Since I dont want to get events when changed I am asking for solution like in example in documentation
Yes, monitor command operates also on output pins.
by leel1967l
26 Oct 2020, 10:09
Forum: ESP Easy: General Discussion
Topic: servo rules
Replies: 46
Views: 33577

Re: servo rules

Hi @RonnyF,
I will look into it.
by leel1967l
09 Nov 2018, 09:39
Forum: ESP Easy: General Discussion
Topic: Switch input in Toggle mode (non-pushbutton)
Replies: 8
Views: 8196

Re: Switch input in Toggle mode (non-pushbutton)

Hi,
With the latest versions you can accomplish your task with a sinlge line of code using new commands:

Code: Select all

On button#switch Do
  gpiotoggle,4
EndOn
We are trying to make the usage as simple as possible and as flexible at possible.
by leel1967l
06 Nov 2018, 23:47
Forum: ESP Easy: General Discussion
Topic: Switch input in Toggle mode (non-pushbutton)
Replies: 8
Views: 8196

Re: Switch input in Toggle mode (non-pushbutton)

Hi @cybermaus,
which version of the firmware are you using?
by leel1967l
01 Apr 2018, 09:03
Forum: ESP Easy: General Discussion
Topic: Forum section to add our built projects
Replies: 2
Views: 3032

Forum section to add our built projects

To the forum administrators: I would like to suggest to create a new section in the forum that will allow us to upload photos and configuration of our real built projects. It could be a repository of ideas in terms of possibilities of configuration, rules and devices and in terms of mechanical casin...
by leel1967l
30 Mar 2018, 11:37
Forum: ESP Easy: General Discussion
Topic: tutorial for compiling the source code
Replies: 2
Views: 2578

tutorial for compiling the source code

Hi all,
is there a tutorial on how to prepare the environment, download the libraries and compile the .bin file?

thanks
by leel1967l
30 Mar 2018, 00:13
Forum: ESP Easy: General Discussion
Topic: How many Nested EVENTS?
Replies: 16
Views: 13934

Re: How many Nested EVENTS?

I am using the .bin file.
I do not compile myself.
by leel1967l
27 Mar 2018, 23:22
Forum: ESP Easy: General Discussion
Topic: How many Nested EVENTS?
Replies: 16
Views: 13934

Re: How many Nested EVENTS?

Don't know if its relevant to the crash you are having but the setting in your OLED display for line 1 looks strange. You have a "#" in an odd spot. Never seen that and it may cause an issue. That's part of a new feature : https://github.com/letscontrolit/ESPEasy/pull/949 add format #O to...
by leel1967l
27 Mar 2018, 23:00
Forum: ESP Easy: General Discussion
Topic: How many Nested EVENTS?
Replies: 16
Views: 13934

Re: How many Nested EVENTS?

Hi, I tried to understand your rules in more details. Why do you need the TaskRun commands on the import and the dummy device? They seem not necessary, from my expierience the dummy is updated without running the task. (It just doesn't trigger an event, but the value is updated and if you read from...
by leel1967l
27 Mar 2018, 12:10
Forum: ESP Easy: General Discussion
Topic: How many Nested EVENTS?
Replies: 16
Views: 13934

Re: How many Nested EVENTS?

Hi @toffel969 thanks for your reply. I see you corrected two lines: from: oled,4,1,M=[import1#master#O] to: oled,4,1,M=[import1#master] -> ASAIK, #O is now allowed to format the output and to display ON/OFF instead of 1/0 And from: oled,2,1,S1=[import1#set1] to: oled,2,1,S1=[import1#Set1] -> does th...
by leel1967l
26 Mar 2018, 21:52
Forum: ESP Easy: General Discussion
Topic: MQTT IMPORT and rules trigger
Replies: 2
Views: 2821

Re: MQTT IMPORT and rules trigger

I have updated the description of the problem after fixing some syntax errors.

Can anyone have a look?
by leel1967l
26 Mar 2018, 20:10
Forum: ESP Easy: General Discussion
Topic: How many Nested EVENTS?
Replies: 16
Views: 13934

How many Nested EVENTS?

Hi, I am trying to figure why my Wemos D1 is behaving weird... Question: can I have three EVENTS nested? i.e. first trigger calls first event, that calls a second event, that calls a third event. Just to make sure that it's something that can be done, in order to exclude it from my investigation... ...
by leel1967l
26 Mar 2018, 00:38
Forum: ESP Easy: General Discussion
Topic: taskvalueset and rules trigger.
Replies: 5
Views: 8827

Re: taskvalueset and rules trigger.

You are right!
You can't imagine how many times I have looked at the code without noting it...

Will try tomorrow.

Thanks
by leel1967l
25 Mar 2018, 14:32
Forum: ESP Easy: General Discussion
Topic: taskvalueset and rules trigger.
Replies: 5
Views: 8827

Re: taskvalueset and rules trigger. Bug?

That's by design. To trigger the rule you need to add a TaskRun after the TaskValueSet. TaskRun,<task/device nr> Read more here: https://www.letscontrolit.com/wiki/index.php/ESPEasy_Command_Reference Hi, something is still not right. Here is the rule: on task1 do taskvalueset,1,1,%eventvalue% taskR...
by leel1967l
25 Mar 2018, 12:46
Forum: ESP Easy: General Discussion
Topic: MQTT IMPORT and rules trigger
Replies: 2
Views: 2821

MQTT IMPORT and rules trigger

Hi, Does MQTT Import modified with taskvalueset triggers a rule? I am having the following issue: I created a MQTT IMPORT task (name=import, value=set1, task number 2) and the following rule: on import#set1 do ..do something .. endon If I fire the command from a rule: taskvalueset,2,1,100 taskRun,2 ...
by leel1967l
25 Mar 2018, 12:29
Forum: ESP Easy: General Discussion
Topic: taskvalueset and rules trigger.
Replies: 5
Views: 8827

taskvalueset and rules trigger.

Hi, Does taskvalueset command triggers a rule? I am having the following issue: I created a dummy task (name=dummy, value=t1, task number 1) and the following rule: on [dummy#t1] do ..do something .. endon but if I fire the command taskvalueset,1,1,100 in the rules, the first rule is not triggered. ...
by leel1967l
24 Mar 2018, 16:34
Forum: ESP Easy: Software
Topic: MQTT import
Replies: 2
Views: 2441

Re: MQTT import

that's why it was weird :(
by leel1967l
24 Mar 2018, 16:22
Forum: ESP Easy: Software
Topic: MQTT import
Replies: 2
Views: 2441

MQTT import

Hi, just a simple question: is it possible to use more than one MQTT Import devices? Or is there a limitation to use only one? I am asking because with two MQTT import my Wemos is behaving weird (slow, long boot time, webpage not responding, etc.) and I am wondering if the reason are the two MQTT im...
by leel1967l
16 Mar 2018, 19:12
Forum: ESP Easy: Hardware
Topic: [SOLVED] 8574 pullup resistor?
Replies: 1
Views: 2024

Re: 8574 pullup resistor?

Solved:
Using VCC=3.3V there was a problem during startup.

Using VCC=5V there was NO problem at all
by leel1967l
16 Mar 2018, 00:45
Forum: ESP Easy: Hardware
Topic: [SOLVED] 8574 pullup resistor?
Replies: 1
Views: 2024

[SOLVED] 8574 pullup resistor?

Hi all,
i am struggling with this issue.

My config:
ESP8266 Wemos D1
PCF8574
8 relay board
No devices configured and no rules configured.

When I startup the unit some relays gets activated.

Do I need pullup resistors with PCF8574?
by leel1967l
15 Mar 2018, 10:03
Forum: ESP Easy: General Discussion
Topic: Rotary encoder plugin - set the internal value
Replies: 11
Views: 9963

Re: Rotary encoder plugin - set the internal value

But why not use a dummy device to store values? It could be done, but will increase rule complexity also because the setpoint could be set from outside (from MQTT openhab). So the rule to display the setpoint changes in realtime could slow down. Anyway, there should be a way to override the interna...
by leel1967l
15 Mar 2018, 09:49
Forum: ESP Easy: Software
Topic: Real time rotary encoder mqtt publish!
Replies: 6
Views: 7793

Re: Real time rotary encoder mqtt publish!

Osmi wrote: 15 Mar 2018, 03:37 OK!
I am not very good at programing. let me start with, do not publish initial state 0 with mqtt...

On System#Boot
if volume#set=0
"do not publish 0"/dont know what to put here
endon
Hi,
how did you solve this problem?
I haven't been able to set the initial value of a rotary encoder.
by leel1967l
15 Mar 2018, 09:42
Forum: ESP Easy: General Discussion
Topic: Rotary encoder plugin - set the internal value
Replies: 11
Views: 9963

Re: Rotary encoder plugin - set the internal value

First off... Why are you trying to manually override the rotary encoder? Maybe he is trying to do something like me! https://www.letscontrolit.com/forum/viewtopic.php?f=6&t=3893&p=25985#p25985 Hi, That's more or less what I am trying to do... In particular, I need to: In a thermostat, when ...
by leel1967l
14 Mar 2018, 22:18
Forum: ESP Easy: General Discussion
Topic: Rotary encoder plugin - set the internal value
Replies: 11
Views: 9963

Re: Rotary encoder plugin - set the internal value

You can set it to remember the current value or start from zero. Look in the device setting. Third GPIO. https://www.letscontrolit.com/wiki/index.php/Rotary_Encoder thanks for your reply. But I think haven't been clear enough. Let me explain better: if I use the rotary encoder the internal value (c...
by leel1967l
14 Mar 2018, 21:59
Forum: ESP Easy: General Discussion
Topic: Rotary encoder plugin - set the internal value
Replies: 11
Views: 9963

Rotary encoder plugin - set the internal value

Hi all, i am trying to set value of the rotary encoder. I have created a task "Switch -Rotary Encoder" witn name=rotary and value=counter. In the rules I want to set the value of the task, so I write: taskvalueset,1,1,[mqtt#set] and the value in the devices page changes to [mqtt#set]. But ...
by leel1967l
13 Mar 2018, 14:15
Forum: ESP Easy: General Discussion
Topic: Store values between reboots
Replies: 9
Views: 11860

Re: Store values between reboots

>How does it work? First, you need an mqtt broker for that solution. >Is it a global parameter? "mqtt retain msg" is a global advanced setting >When the value is restored? After boot? The value is restored after reboot, when the mqtt import plugin subscribes to a specific topic. >Where do...
by leel1967l
13 Mar 2018, 13:08
Forum: ESP Easy: General Discussion
Topic: Store values between reboots
Replies: 9
Views: 11860

Re: Store values between reboots

You could use the mqtt feature "retain" to store values in combination with the mqtt import plugin. Hi, thanks for the answer. I have some questions: How does it work? Is it a global parameter? When the value is restored? After boot? Where does it stores the value? Does it store the value...
by leel1967l
13 Mar 2018, 12:16
Forum: ESP Easy: General Discussion
Topic: Store values between reboots
Replies: 9
Views: 11860

Store values between reboots

Hi all,
I wonder if it possible to store a value (in a dummy task) that will survive after a reboot.

I was thinking about an external SD card:
https://wiki.wemos.cc/products:d1_mini_ ... ard_shield

Is it supported?

Any other idea?

thanks
by leel1967l
05 Mar 2018, 12:17
Forum: ESP Easy: General Discussion
Topic: Wemos or NodeMCU
Replies: 5
Views: 5196

Wemos or NodeMCU

Hi all, After few weeks of testing I am about to build my real automation network with ESP8266. I have tested so far the WEMOS mini V2, V3 and LITE (8255) with the WEMOS POWER SHIELD (Vin = 7-24V). Having to build a network of 15 units, what would be te best choice? Wemos Mini or NodeMCU? Price is m...
by leel1967l
28 Feb 2018, 21:01
Forum: ESP Easy: Projects / Applications
Topic: Writing custom rules and compile them
Replies: 21
Views: 16414

Re: Writing custom rules and compile them

But my original question remains: Is it possible to write rules in the original code and compile them? No, not really but its fairly easy to upload them... Please explain more what you really want to do. My flash wrapper tool can do it for you. Hi, no I haven't been clear. I want to write rules mor...
by leel1967l
25 Feb 2018, 15:07
Forum: ESP Easy: Software
Topic: Release v2.0-20180221 Basic local Button lagging
Replies: 4
Views: 3648

Re: Release v2.0-20180221 Basic local Button lagging

Hi Everyone First of all I like to thankful to all team of www.letscontrolit.com who really did very fascinating job on this development to make life of IOT more easy and hassles free. I just upload new Release v2.0-20180221 and its seems to be very nice and stable. I want to share here some of my ...
by leel1967l
25 Feb 2018, 15:04
Forum: ESP Easy: Projects / Applications
Topic: Writing custom rules and compile them
Replies: 21
Views: 16414

Re: Writing custom rules and compile them

I solved the issue: In the original project I had added my output relays to the 8574 device. And that generated the delay. I tested now removing the relays from the 8574 device and adding them to a dummy device, and now the speed is very fast. So must be something to do with the 8574 plug-in. Consid...
by leel1967l
21 Feb 2018, 09:30
Forum: ESP Easy: Projects / Applications
Topic: Writing custom rules and compile them
Replies: 21
Views: 16414

Re: Writing custom rules and compile them

I've created an issue to look into making the timing interval to process rules more dynamic. See https://github.com/letscontrolit/ESPEasy/issues/912 Do you have any suggestions on use cases, or other ideas on what should be added? Hi TD-er, Definitely the dynamic rules timing is a way to go, but as...
by leel1967l
20 Feb 2018, 17:06
Forum: ESP Easy: Projects / Applications
Topic: Writing custom rules and compile them
Replies: 21
Views: 16414

Re: Writing custom rules and compile them

Instead of long pulse, have you tried timer? Yes, I tried timer, but the execution time was longer. I found that using LongPulse had the fastest execution time. edit: I will explain better. With timers at the first push of the button the activation of the relay had a delay of 500ms. While with long...
by leel1967l
20 Feb 2018, 14:26
Forum: ESP Easy: Projects / Applications
Topic: Writing custom rules and compile them
Replies: 21
Views: 16414

Re: Writing custom rules and compile them

Okay, I understand the problem. And keeping the button pushed for movement is not an option I think. It is an option that I already tested actually, but it can be even worse. Infact if you release the button within 1 second from the first push then the blind will never stop, because it will not rec...
by leel1967l
20 Feb 2018, 13:08
Forum: ESP Easy: Projects / Applications
Topic: Writing custom rules and compile them
Replies: 21
Views: 16414

Re: Writing custom rules and compile them

Can't you have only one button and make it alternate between up/stop/down? That way you will make sure that you don't accidently trigger up when you're going down, etc.. I could do that logic too. But I am not sure if it will speed up things... Also WAF could be problematic. And I would need a dumm...
by leel1967l
20 Feb 2018, 11:52
Forum: ESP Easy: Projects / Applications
Topic: Writing custom rules and compile them
Replies: 21
Views: 16414

Re: Writing custom rules and compile them

I don't understand why you have multiple PCFGPIOs that does not change anything. Shouldn't the rules below be enough? on InputPush0#state=0 do if [Relay0#state]=1 // if relay UP=OFF PCFLongPulse,73,0,10 //start up for 10 seconds endif endon on InputPush1#state=0 do if [Relay1#state]=1 // if relay D...
by leel1967l
20 Feb 2018, 10:46
Forum: ESP Easy: Projects / Applications
Topic: Writing custom rules and compile them
Replies: 21
Views: 16414

Re: Writing custom rules and compile them

grovkillen wrote: 20 Feb 2018, 10:41 What value do you have for message delay? Found under the advanced page.
Hi,
I have set = 100ms
by leel1967l
20 Feb 2018, 10:35
Forum: uPyEasy: General Discussion
Topic: uPyEasy
Replies: 132
Views: 249820

Re: uPyEasy

Hi Lisa,
very nice work.

Is there an alpha version compatible with Wemos D1 Mini with ESP 8266 and/or D1 Mini Lite ESP 8285?

thanks