Search found 1064 matches

by ThomasB
12 Nov 2021, 23:28
Forum: ESP Easy: Hardware
Topic: Wemos D1 mini - which GPIO ports for relays?
Replies: 30
Views: 17987

Re: Wemos D1 mini - which GPIO ports for relays?

If you would like to avoid adding more hardware then just disable serial log and use GPIO1 and GPIO3.

FWIW, the relays might momentarily turn on during boot and you won't be able to use serial log. Sometimes this matters, sometimes it doesn't.

- Thomas
by ThomasB
12 Nov 2021, 05:01
Forum: ESP Easy: Hardware
Topic: Firmware Support for L298H Bridge Boards?
Replies: 53
Views: 21675

Re: Firmware Support for L298H Bridge Boards?

I noticed that the relay shield is setup to use GPIO-D1, but your design has it on D2. So I suggest revising the drawing by swapping D1 with D2 (on the Wemos). That will allow the relay shield's signals to mate correctly with the Wemos D1 Mini. If understood correctly the Wemos relay shield, which I...
by ThomasB
11 Nov 2021, 22:08
Forum: ESP Easy: Hardware
Topic: Are ESP Input Pins 5V Tolerant? The Answer May Surprise You.
Replies: 4
Views: 23577

Re: Are ESP Input Pins 5V Tolerant? The Answer May Surprise You.

One thing to keep in mind; If you connect 5V logic level devices to the ESP, which use the same bus, you cannot mix 5V and 3V3 level signals. For example when using old and new I2C devices, you should use an I2C port extender to separate the different logic level signals. Good point. Something to l...
by ThomasB
11 Nov 2021, 18:37
Forum: ESP Easy: Hardware
Topic: Are ESP Input Pins 5V Tolerant? The Answer May Surprise You.
Replies: 4
Views: 23577

Are ESP Input Pins 5V Tolerant? The Answer May Surprise You.

I've been directly connecting 5V peripherals to ESP8266 GPIO pins. Hmm, you say while your face expression scolds me. There's been endless online battles against doing this because of a fear of damaging the ESP chip, which is a 3.3V logic device. But I've never experienced a single failure connectin...
by ThomasB
09 Nov 2021, 02:20
Forum: ESP Easy: Software
Topic: Inputswitch state is deprecated
Replies: 22
Views: 9776

Re: Inputswitch state is deprecated

@hestia, I don't have any advice on solving the reported problem. But I saw some syntax errors in your rules. Excerpt shown below, see the if and elseif statements that end in "do" (three places). This is incorrect usage, "do" is for event statements. on Rules#Timer=4 do // statu...
by ThomasB
05 Nov 2021, 18:49
Forum: ESP Easy: General Discussion
Topic: Notepad++ Rules syntax highlight
Replies: 23
Views: 12677

Re: Notepad++ Rules syntax highlight

@Patou & @TD-er, Thanks for updating this.

- Thomas
by ThomasB
02 Nov 2021, 21:14
Forum: ESP Easy: Software
Topic: Notify using ssl/tls
Replies: 21
Views: 18052

Re: Notify using ssl/tls

So I was thinking we should also be able to send a notification via the p2p layer where 1 ESP32 node in the network would be enough to forward the messages to any mail service. +1. I wasn't a fan of signing up for the SMTP2go account. So I like your idea to use an ESP32 to be an SMTP relay for ESPE...
by ThomasB
02 Nov 2021, 16:24
Forum: ESP Easy: Software
Topic: Notify using ssl/tls
Replies: 21
Views: 18052

Re: Notify using ssl/tls

My email host now requires SMPT TLS. So all my ESP8266 devices can't send me any more love letters. If adding TLS is not practical then does anyone have a workaround? Just a follow up on how I solved this: I tried adding a self-hosted email relay (using EMIX4) to a Raspberry Pi. Gave up, beyond my ...
by ThomasB
31 Oct 2021, 19:24
Forum: ESP Easy: Hardware
Topic: Sonoff basic r1 failure and decay after prolonged use
Replies: 10
Views: 10039

Re: Sonoff basic r1 failure and decay after prolonged use

As for the firmware, I tried to upgrade to latest mega version on one unit, but it won't help. Either it fails to connect entirely or glitches along the way. I think the most modern firmware that worked somehow is ESPEasy_mega-20180409. I have a problematic Sonoff Basic R1 that needs a lot of hand-...
by ThomasB
30 Oct 2021, 03:10
Forum: ESP Easy: Hardware
Topic: Firmware Support for L298H Bridge Boards?
Replies: 53
Views: 21675

Re: Firmware Support for L298H Bridge Boards?

That IRLZ44 looks a bit overkill to me. Can I use something smaller/cheaper in TO-92-3 package? BC547C? BC548C? BC337-40? Any small signal general purpose N-Channel MOSFET is fine. For example, the popular 2N7000 series is available in TO-93. Or a small signal BJT (NPN), such as BC547 / BC548 / 2N2...
by ThomasB
29 Oct 2021, 23:01
Forum: ESP Easy: Hardware
Topic: Firmware Support for L298H Bridge Boards?
Replies: 53
Views: 21675

Re: Firmware Support for L298H Bridge Boards?

My 2 cents: Can I replace all 10K resistors (including those for pull up and pull down) with 4.7K? I have plenty of 4.7K ones laying around, but no 10K at hand. 4.7K will be fine. Not worth the time to walk to the store to buy 10K values. But that's a very popular resistor value, so next time you or...
by ThomasB
29 Oct 2021, 04:56
Forum: ESP Easy: Hardware
Topic: Sonoff basic r1 failure and decay after prolonged use
Replies: 10
Views: 10039

Re: Sonoff basic r1 failure and decay after prolonged use

R120/R148 was released before fire was discovered. Step 1 is to update the firmware to a recent Mega branch. Bin files are available here: https://github.com/letscontrolit/ESPEasy/releases The Basic R1 V1 hardware is very fussy with WiFi connections and sometimes has difficulty obtaining/maintaining...
by ThomasB
29 Oct 2021, 00:30
Forum: ESP Easy: Hardware
Topic: Firmware Support for L298H Bridge Boards?
Replies: 53
Views: 21675

Re: Firmware Support for L298H Bridge Boards?

Assuming its needed, another way to free up GPIO pins is to use a different H-Bridge motor controller module. The L298 is a very old chip and there are newer choices out there. For example, the first posted image at the top of this discussion is a board that uses a pair of TA6586 H-bridge chips. It ...
by ThomasB
28 Oct 2021, 21:40
Forum: ESP Easy: Hardware
Topic: Firmware Support for L298H Bridge Boards?
Replies: 53
Views: 21675

Re: Firmware Support for L298H Bridge Boards?

@TD-er mentioned that his plugin will be able to support an encoder. This design doesn't have the spare I/O for that. But if needed, you can incorporate an I2C I/O expander and rearrange the existing I/O. BTW, the IRLZ44 is a big boy that can handle a lot of Amps. If you need to free up board space ...
by ThomasB
28 Oct 2021, 20:33
Forum: ESP Easy: Projects / Applications
Topic: HTTP Get Stream -- ESPEasy Plugin Advice Needed
Replies: 68
Views: 30642

Re: HTTP Get Stream -- ESPEasy Plugin Advice Needed

@all, Thanks for the kind remarks / feedback.

FWIW, I've had some personal projects published as feature articles on H-A-D . Always an honor to be noticed. But the reader comments can be cruel for no reason other than that is the nature of internet couch critics.

- Thomas
by ThomasB
28 Oct 2021, 19:26
Forum: ESP Easy: Projects / Applications
Topic: HTTP Get Stream -- ESPEasy Plugin Advice Needed
Replies: 68
Views: 30642

Re: HTTP Get Stream -- ESPEasy Plugin Advice Needed

It's been working fantastically. Our turkey and squirrel visitors continue to experienced a free bath. Garden mess is gone. The birds are either stubborn or have short memories; They continue to test the system. They are timid now and tend to walk slowly near the splash zone. But most days they stil...
by ThomasB
28 Oct 2021, 19:12
Forum: ESP Easy: Hardware
Topic: Firmware Support for L298H Bridge Boards?
Replies: 53
Views: 21675

Re: Firmware Support for L298H Bridge Boards?

Does this work? Am I missing something? 1. D0 (Piezo drive) does not support PWM. So swap it with D8 (ensure motor 2 Start switch is open at boot!). Change 220 ohm to higher value, 4.7K - 10K ohms. 2. D1 & D2 will float during boot/reset, which may cause motors to momentarily run. Install 10K p...
by ThomasB
27 Oct 2021, 20:49
Forum: ESP Easy: Software
Topic: wemos I2C mcp23017
Replies: 38
Views: 11054

Re: wemos I2C mcp23017

You are welcome. Glad to hear you got it working.

- Thomas
by ThomasB
26 Oct 2021, 20:44
Forum: ESP Easy: Software
Topic: wemos I2C mcp23017
Replies: 38
Views: 11054

Re: wemos I2C mcp23017

I'll do my best to help resolve the unwanted toggles at boot. After that, you can proceed to further revise the rule logic to do the things your device needs to do. At this point there are issues in your rule file (duplicate events, incomplete code, etc.). I can help with that. But some details of y...
by ThomasB
25 Oct 2021, 19:42
Forum: ESP Easy: Hardware
Topic: Firmware Support for L298H Bridge Boards?
Replies: 53
Views: 21675

Re: Firmware Support for L298H Bridge Boards?

Any idea when to expect it? Could use it immediately.
If TD-er's plugin is not yet available then consider using nothing but rules to control the DC motors. The L298H works with common GPIO. Two bits per H-Bridge for direction, speed is available by using PWM.

- Thomas
by ThomasB
24 Oct 2021, 19:00
Forum: ESP Easy: Software
Topic: MQTT Import topic subscribe fields too short
Replies: 20
Views: 12970

Re: MQTT Import topic subscribe fields too short

@Ath, The new features are well thought out. Fantastic documentation!

- Thomas
by ThomasB
24 Oct 2021, 02:05
Forum: ESP Easy: Software
Topic: maybe easier to use Dashboard replacement
Replies: 188
Views: 234601

Re: maybe easier to use Dashboard replacement

i‘d also be happy to get a pm if you find problems or have suggestions… I believe that providing installation instructions will go a long ways to making it "easy to use." Here's how I installed it on my ESP_Easy_mega_20210201 device: 1. Unzip the dashboard file set into a temporary folder...
by ThomasB
23 Oct 2021, 20:44
Forum: ESP Easy: Software
Topic: maybe easier to use Dashboard replacement
Replies: 188
Views: 234601

Re: maybe easier to use Dashboard replacement

I tested the page with every modern browser on a desktop computer as well as android and ios. The only thing i can imagine why it doesn’t work for you is that you are using a old browser which doesn't handle javascript so well. Same here, I tried it on the latest versions of FF, Edge, Chrome, and I...
by ThomasB
23 Oct 2021, 20:22
Forum: ESP Easy: Software
Topic: wemos I2C mcp23017
Replies: 38
Views: 11054

Re: wemos I2C mcp23017

I tried your solution, I get an error 418631: EVENT: BP1#BP1State=0 418651: Calculate: Unknown token 418656: ACT : logentry,'BP1 ignored' 418660: BP1 ignored 421841: DS : Temperature: 44.88 (28-cc-c9-48-08-00-00-f4 [DS18B20]) 421962: EVENT: t°#temperature=44.88 422077: WD : Uptime 7 ConnectFailures...
by ThomasB
23 Oct 2021, 02:32
Forum: ESP Easy: Software
Topic: maybe easier to use Dashboard replacement
Replies: 188
Views: 234601

Re: Easy to use Dashboard replacement

But if it needs the typical dashboard functionality, you probably need to rename it to .esp. That's the very first thing I did, before the zip file was posted. It didn't work. I get a white page with an empty drop-down box, along with two inoperative buttons ("<" and ">"). After...
by ThomasB
23 Oct 2021, 02:15
Forum: ESP Easy: Software
Topic: maybe easier to use Dashboard replacement
Replies: 188
Views: 234601

Re: Easy to use Dashboard replacement

Try renaming it to .htm
That indeed changes the browser's behavior. Now I get a blank page instead of the html source text.

I thought that custom ESPEasy pages needed to be named as a .esp file. So it is interesting to learn that .htm and .html is allowed.

- Thomas
by ThomasB
23 Oct 2021, 01:11
Forum: ESP Easy: Software
Topic: maybe easier to use Dashboard replacement
Replies: 188
Views: 234601

Re: Easy to use Dashboard replacement

Thanks for the zip file. There is actually no code missing.... The reason I mentioned this is because I didn't find the closing tags </html> and </body>. I'm not an html expert but I thought those are required. But more importantly, it seems I don't know what I'm doing. I assumed your code was inten...
by ThomasB
22 Oct 2021, 22:33
Forum: ESP Easy: Software
Topic: maybe easier to use Dashboard replacement
Replies: 188
Views: 234601

Re: Easy to use Dashboard replacement

Thanks, your custom esp looks useful. I'd like to try it. Seems some code is missing, as well as the css file. Can you post a complete file set?

- Thomas
by ThomasB
22 Oct 2021, 21:15
Forum: ESP Easy: Software
Topic: wemos I2C mcp23017
Replies: 38
Views: 11054

Re: wemos I2C mcp23017

OK but the problem is that the state after reboot must be identical to the last known state ... otherwise the rules will interpret this as a command and play their role I think there is a solution, but success depends on the exact requirements of your application. If the goal is to prevent the fals...
by ThomasB
21 Oct 2021, 01:18
Forum: ESP Easy: Projects / Applications
Topic: Data not flowing to Rpi - Error: Failed to connect to broker
Replies: 16
Views: 11461

Re: Data not flowing to Rpi - Error: Failed to connect to broker

So indeed the change to Mosquitto 2.x is the root cause. If you're running OpenHab2 and the system was previously running Mosquitto 1.x, and you've switched to 2.x, then be sure that the 1.x binding has been removed. If you've recently performed the 2.x upgrade then maybe this OpenHab community dis...
by ThomasB
20 Oct 2021, 21:16
Forum: ESP Easy: Software
Topic: wemos I2C mcp23017
Replies: 38
Views: 11054

Re: wemos I2C mcp23017

When the esp wemos reboot it causes a scan of all the IOs of the mcp23017 changing the pins from Low to High and from High to Low for a brief moment. Is it possible to prevent this? I looked at the P009 plugin source code and I don't see any explanation to this toggle action (that affects ALL I/O p...
by ThomasB
19 Oct 2021, 03:26
Forum: ESP Easy: Hardware
Topic: Konfig for AZ-Touch with ESP32?
Replies: 7
Views: 6782

Re: Konfig for AZ-Touch with ESP32?

and maybe a few examples for the control.
Some basic examples are found in the _P095_ILI9341.ino source code file (available on GitHub).

- Thomas
by ThomasB
18 Oct 2021, 20:27
Forum: ESP Easy: Software
Topic: MQTT Import topic subscribe fields too short
Replies: 20
Views: 12970

Re: MQTT Import topic subscribe fields too short

Thus, if it were possible to set the user prefix globally, it would be cool! A theoretical solution would be to add string type vars to ESPEasy. Besides general purpose use, they could be used as string substitutes in the application you mentioned. For example, initialize the string var at boot in ...
by ThomasB
18 Oct 2021, 01:13
Forum: ESP Easy: Software
Topic: MQTT Import topic subscribe fields too short
Replies: 20
Views: 12970

Re: MQTT Import topic subscribe fields too short

Isn't a MQTT Import plugin the only way to transfer data from mqtt broker to ESP board? I'm using the Home Assistant (openHAB) MQTT controller to receive MQTT commands. I use it to execute ESPEasy event rules. EDIT: I just tried setting a system var in case that is what you need to do. Works great....
by ThomasB
18 Oct 2021, 00:58
Forum: ESP Easy: Software
Topic: MQTT Import topic subscribe fields too short
Replies: 20
Views: 12970

Re: MQTT Import topic subscribe fields too short

But maybe you can for example set something in a system variable, like you're doing in the %sysname%? +1 That seems like a simple solution. Or, how about using the Home Assistant (openHAB) MQTT controller instead of the MQTT Import plugin? It is a generic MQTT controller and its subscribe strings a...
by ThomasB
16 Oct 2021, 21:08
Forum: ESP Easy: General Discussion
Topic: Rules not working 20201227 and later
Replies: 10
Views: 7868

Re: Rules not working 20201227 and later

That's good news.

I quickly looked at ESPEasy GitHub tickets and didn't see any reports about rule problems around the 20201227 time frame. Maybe @TD-er has an idea of what might have been the problem.

- Thomas
by ThomasB
16 Oct 2021, 20:08
Forum: ESP Easy: General Discussion
Topic: Rules not working 20201227 and later
Replies: 10
Views: 7868

Re: Rules not working 20201227 and later

Looks like a fun project.

Be sure to disable internal pullups on D1 / D2.

- Thomas
by ThomasB
16 Oct 2021, 20:00
Forum: ESP Easy: General Discussion
Topic: Rules not working 20201227 and later
Replies: 10
Views: 7868

Re: Rules not working 20201227 and later

You didn't say if you've tried the very latest ESPEASY releases. But keep in mind that some 2020 releases had weird rule formatting quirks that were eventually resolved. The one that got me was reported here (not your issue, but this shows how fussy the rule syntax had been): https://github.com/lets...
by ThomasB
16 Oct 2021, 19:36
Forum: ESP Easy: General Discussion
Topic: Rules not working 20201227 and later
Replies: 10
Views: 7868

Re: Rules not working 20201227 and later

Along with that, check Tools->Advanced->RulesSettings and verify both RULES and OLD ENGINE are enabled. Another cause of rule failure is due to the presence of an unprintable character in the rule text file. Hard to find these unless you copy/paste the entire text into an editor that shows such thin...
by ThomasB
11 Oct 2021, 23:06
Forum: ESP Easy: General Discussion
Topic: read rx pin
Replies: 13
Views: 6116

Re: read rx pin

please can you tell me on which pin plug rdm6300 > esp8266 ( d1 wemos )? I've never used the RDM6300 but I quickly reviewed the plugin's source code. I see that it uses the default ESP8266 serial port. So your RDM6300 serial output connects to ESP8266 "RX" pin. IMPORTANT: Along with insta...
by ThomasB
11 Oct 2021, 19:27
Forum: ESP Easy: Projects / Applications
Topic: HTTP Get Stream -- ESPEasy Plugin Advice Needed
Replies: 68
Views: 30642

Re: HTTP Get Stream -- ESPEasy Plugin Advice Needed

Only problem is that it might get icy/slippery in winter. Good point. I could add a rule in OpenHab that disables the sprinkler during freezing temperatures. Fortunately I'm in a west coast USA region where freezing is rarely a concern. BTW, these birds are fair weather visitors. I never see them d...
by ThomasB
11 Oct 2021, 19:01
Forum: ESP Easy: Projects / Applications
Topic: HTTP Get Stream -- ESPEasy Plugin Advice Needed
Replies: 68
Views: 30642

Re: HTTP Get Stream -- ESPEasy Plugin Advice Needed

The bird gang arrived early this morning. Everything worked according to plan. Success! The turkeys didn't even get wet. The defense system was triggered while they were outside the sprinkler's range. They heard its impulse noise, saw the water spray, and quickly moved away from the area. Seems they...
by ThomasB
11 Oct 2021, 03:50
Forum: ESP Easy: Projects / Applications
Topic: HTTP Get Stream -- ESPEasy Plugin Advice Needed
Replies: 68
Views: 30642

Re: HTTP Get Stream -- ESPEasy Plugin Advice Needed

Installation was completed late Saturday afternoon. Prepared for the turkey shoot on Sunday. . Installation1_1000.jpg . Next day, Sunday AM: The first customer was a squirrel. Direct bullseye. The wet little fellow ran up a tree and spent several minutes yelling critter obscenities. Here's a video: ...
by ThomasB
09 Oct 2021, 04:15
Forum: ESP Easy: Projects / Applications
Topic: HTTP Get Stream -- ESPEasy Plugin Advice Needed
Replies: 68
Views: 30642

Re: HTTP Get Stream -- ESPEasy Plugin Advice Needed

The hardware is fully assembled and mounted in a IP65 rated plastic enclosure. And a desiccant pack has been included in there. The circuit board just needs another spray of conformal coating. . Assy1.jpg . ESPEasy and OpenHab rules are written. Bench testing complete. All systems are go. Too late t...
by ThomasB
08 Oct 2021, 17:35
Forum: ESP Easy: Software
Topic: ESPEasy Build Variations: What do the names mean?
Replies: 2
Views: 4325

Re: ESPEasy Build Variations: What do the names mean?

And there's the list of plugins in RTD that tries to clarify what build/set a plugin is available in. Thank you! That's the list I needed. It explains what's in each testing bin. I forgot about that page, even though I've contributed edits to it in the past. Glad to see it is being maintained (than...
by ThomasB
08 Oct 2021, 05:47
Forum: ESP Easy: Software
Topic: ESPEasy Build Variations: What do the names mean?
Replies: 2
Views: 4325

ESPEasy Build Variations: What do the names mean?

There are a lot of interesting ESPEasy bins in each release. Many of the names are self explanatory. But then there's some mystery names that need further explanation. For example: test_A_alt_wifi test_A_beta test_B_alt_wifi test_B_beta test_C_alt_wifi test_C_beta and so on. This isn't a complete li...
by ThomasB
07 Oct 2021, 04:04
Forum: ESP Easy: General Discussion
Topic: or gate IC
Replies: 3
Views: 4150

Re: or gate IC

Your requirements are very simple, so an IC is not needed. Instead use small signal diodes (1N914, 1N4148, etc.). One diode per PIR sensor module. The HC-SR501 data sheet states that the module has an active high output (goes to 3.3V when triggered). So here's what I recommend: 1. Connect each diode...
by ThomasB
06 Oct 2021, 23:26
Forum: ESP Easy: Projects / Applications
Topic: HTTP Get Stream -- ESPEasy Plugin Advice Needed
Replies: 68
Views: 30642

Re: HTTP Get Stream -- ESPEasy Plugin Advice Needed

Plenty of electric valves, also with 12V and some shipping from the US, on AliExpress. Yes, lot's of tradition water valves to choose from. But the Orbit valve is an interesting design. Amazingly it works with a battery operated controller. Two AA cells, runs all year. I don't need that kind of mag...
by ThomasB
06 Oct 2021, 20:50
Forum: ESP Easy: Projects / Applications
Topic: HTTP Get Stream -- ESPEasy Plugin Advice Needed
Replies: 68
Views: 30642

Re: HTTP Get Stream -- ESPEasy Plugin Advice Needed

The camera detection continues to be a winner. Alexa announces each Turkey attack and I do the dirty work. But chasing the feathered raiders out of the garden is getting old and seriously needs automation. So a WiFi controlled (ESPEasy) water cannon is under construction. FWIW, there are inexpensive...
by ThomasB
02 Oct 2021, 02:39
Forum: ESP Easy: Projects / Applications
Topic: HTTP Get Stream -- ESPEasy Plugin Advice Needed
Replies: 68
Views: 30642

Re: HTTP Get Stream -- ESPEasy Plugin Advice Needed

Don't forget the diode That's an important public service announcement. BTW, I did a bit more reading and it's unclear what voltage the valve requires. It's suppose to plug into a timer that operates on three AA cells. So I assumed 4.5V valve operation. Reading through the reviews I learned that an...