Search found 14 matches

by johndoe39274
17 Jun 2022, 13:11
Forum: ESP Easy: General Discussion
Topic: Directly connect 2 ESP Easy's without AP?
Replies: 3
Views: 3237

Re: Directly connect 2 ESP Easy's without AP?

Ok thanks for the info. No worries, ESPeasy can't do everything and there is already so much it does well! Thanks for the pointer to ESP-NOW. I managed to get two-way communications working based on this tutorial: https://randomnerdtutorials.com/esp-now-two-way-communication-esp32/ What kind of issu...
by johndoe39274
15 Jun 2022, 19:37
Forum: ESP Easy: General Discussion
Topic: Directly connect 2 ESP Easy's without AP?
Replies: 3
Views: 3237

Directly connect 2 ESP Easy's without AP?

Hey, Is there a way to directly connect 2 ESP Easy's without connecting each of them to a wifi access point? Are there any tutorials available on how to do this? I'm making a model rocket launch controller, and would like to connect a handheld ESP to a remote ESP in the launcher's base. The controll...
by johndoe39274
22 Mar 2022, 09:05
Forum: ESP Easy: General Discussion
Topic: Improve responsiveness of buttonpress responses
Replies: 4
Views: 5181

Re: Improve responsiveness of buttonpress responses

Hi Thomas, Thanks for the reply! Would it be trivial to update the code for the MCP23017 plugin to run at say 50 Hz? I might try your sample-and-hold RC filter trick. My MCP boards have an RC filter on the MCP's inputs. It is aimed at filtering high frequency noise though, and consist of a 100pF par...
by johndoe39274
18 Mar 2022, 15:23
Forum: ESP Easy: General Discussion
Topic: Improve responsiveness of buttonpress responses
Replies: 4
Views: 5181

Improve responsiveness of buttonpress responses

Hey, My home automation runs fully on ESPeasy. It has lots of 6-way wallswitches (pushbuttons) which are connected through MCP23017 I²C port expanders to ESP32 boards. The ESP's run local rules to read buttonpresses and switch a teleruptor like this: on mcp#1 do If [plugin#mcp#pinstate#1]=0 //button...
by johndoe39274
07 Mar 2022, 19:52
Forum: ESP Easy: Hardware
Topic: Current best hardware platform for ESP Easy?
Replies: 6
Views: 8697

Re: Current best hardware platform for ESP Easy?

If you want to see what I built based on the replies in this question, please check this topic: viewtopic.php?t=9036&sid=9a4b6e87dd98c2 ... c7c73dec87
by johndoe39274
07 Mar 2022, 16:40
Forum: ESP Easy: Projects / Applications
Topic: Converted my home automation to ESPeasy
Replies: 3
Views: 8022

Converted my home automation to ESPeasy

Hi fellow ESP'ers, Allow me to introduce myself: I am John and I live in the north of Belgium. Over the past few months I have converted my home automation to ESPeasy. All lights and (switched) power outlets in my house are now under control of ESPeasy and OpenHAB. I thought I'd share it here, perha...
by johndoe39274
10 Dec 2021, 14:53
Forum: ESP Easy: Software
Topic: Does "If MQTT#Connected" exist ?
Replies: 2
Views: 5137

Re: Does "If MQTT#Connected" exist ?

That sure works, thanks! My working code is: on mcp#17 do // PA0 pin change if [plugin#mcp#pinstate#17]=0 and %ismqtt%=0 //button pressed and MQTT not connected MCPLongPulse_mS,1,1,20 // Pulse LED for 20 milliseconds (LongPulse_mS,<GPIO>,<state>,<duration>) endif endon In the meantime I found a nice...
by johndoe39274
09 Dec 2021, 15:19
Forum: ESP Easy: Software
Topic: Does "If MQTT#Connected" exist ?
Replies: 2
Views: 5137

Does "If MQTT#Connected" exist ?

Hey, I'd like to perform an action on the condition that ESPeasy is connected to my MQTT broker. In the examples there's an on..do statement for this, but is there a way to use this in an If statement? So instead of: on MQTT#Connected do Publish,%sysname%/status,First message! endon Do this: on mcp#...
by johndoe39274
02 Dec 2021, 16:59
Forum: ESP Easy: Hardware
Topic: Current best hardware platform for ESP Easy?
Replies: 6
Views: 8697

Re: Current best hardware platform for ESP Easy?

That's quite a nifty idea, thanks for the hint!
by johndoe39274
02 Dec 2021, 16:57
Forum: ESP Easy: Hardware
Topic: MCP23017 - read pin state [plugin#mcpgpio#pinstate#1]
Replies: 8
Views: 6710

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

Thanks for the replies! Based on your suggestions and code I did some more troubleshooting. The following code works, but I have no idea why: on System#Boot do monitor,mcpgpio,17 // monitor pin for state changes // monitor,mcpgpio,1 // monitor pin for state changes (it works with or without this lin...
by johndoe39274
01 Dec 2021, 11:12
Forum: ESP Easy: Hardware
Topic: Current best hardware platform for ESP Easy?
Replies: 6
Views: 8697

Re: Current best hardware platform for ESP Easy?

Hey Ath, thanks for the clear reply! I'll go with an ESP-WROOM-32D 16MB then. For other readers with the same question: ESP-WROOM-32D 16MB is currently around 4,50€ on Aliexpress. Other versions with 4MB and 8MB exists, so make sure to thoroughly check that you are ordering a 16MB version! Also make...
by johndoe39274
01 Dec 2021, 09:54
Forum: ESP Easy: Hardware
Topic: MCP23017 - read pin state [plugin#mcpgpio#pinstate#1]
Replies: 8
Views: 6710

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

Thanks for the reply and for the pointers! Going to bed is never a bad idea :-) I'm afraid it doesn't work though. Either pin state monitoring doesn't work, or the Pinstate#1 doesn't return an expected value. Given the fact that on mcp#17 do does trigger correctly, I would assume pin monitoring is w...
by johndoe39274
01 Dec 2021, 08:47
Forum: ESP Easy: Hardware
Topic: Current best hardware platform for ESP Easy?
Replies: 6
Views: 8697

Current best hardware platform for ESP Easy?

Hey, I am new to ESP Easy and am looking to convert my home automation to it. My requirements are (in descending order of importance): need to configure 32 devices per ESP need enough flash to do Over-The-Air / wifi firmware upgrades needs to be well supported (preferably with a non-experimental rel...
by johndoe39274
28 Nov 2021, 21:24
Forum: ESP Easy: Hardware
Topic: MCP23017 - read pin state [plugin#mcpgpio#pinstate#1]
Replies: 8
Views: 6710

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

Hey, I'm running ESP Easy on a Wemos D1 mini Pro, connected through MQTT to OpenHAB, and with 2 MCP23017's hooked up through I²C. I can control the inputs and outputs of the MCP's just fine from OpenHAB, so I know my hardware is working. I am trying to set up a local Rule to trigger on mcp#17 (=MCP ...