Search found 1065 matches

by ThomasB
02 Sep 2020, 03:35
Forum: ESP Easy: Hardware
Topic: IBT_2 BTS7960 Motor Driver Review - Avoid
Replies: 8
Views: 14587

Re: IBT_2 BTS7960 Motor Driver Review - Avoid

Bargain priced Chinese made boards often need modification before putting them to use. That's a hidden cost I've learned to accept. BTW, popular boards like this one are often just copies produced by clueless offshore suppliers. So there's always the chance that some IBT_2 cloned boards might be bet...
by ThomasB
30 Aug 2020, 22:51
Forum: ESP Easy: General Discussion
Topic: Rules same GPIO and Longpress event
Replies: 11
Views: 7842

Re: Rules same GPIO and Longpress event

I think the if should be on:
Oops. Thanks for catching my typo ("if" should be "on").

- Thomas
by ThomasB
30 Aug 2020, 05:29
Forum: ESP Easy: General Discussion
Topic: Rules same GPIO and Longpress event
Replies: 11
Views: 7842

Re: Rules same GPIO and Longpress event

Try this rule set (untested): on System#Boot do LongPulse,0,1,5 endon if ESP_01-PIR#STATE=11 do // This was a 4 Sec Long press. Extend relay time. LongPulse,0,0,21 // 4 Secs has already elapsed, add another 21 secs. endon on ESP_01-PIR#STATE=1 do // Button is pressed. LongPulse,0,0,5 endon - Thomas
by ThomasB
25 Aug 2020, 20:59
Forum: ESP Easy: General Discussion
Topic: Check availability of eventvalue possible?
Replies: 6
Views: 5829

Re: Check availability of eventvalue possible?

Nice workaround. Works with %eventvalue1% also. Thanks. You're welcome. Glad to hear it is working for you. FWIW, %eventvalue1% is an alias for %eventvalue%. Both are interchangeable. But if you refer to the %eventvalue%, then that one should be 0 when not set.... I think There are probably some ap...
by ThomasB
25 Aug 2020, 20:13
Forum: ESP Easy: General Discussion
Topic: Check availability of eventvalue possible?
Replies: 6
Views: 5829

Re: Check availability of eventvalue possible?

If you are trying to trap an event without a value, then I propose this rule: on eventname do if %eventvalue%<=0 or %eventvalue%>0 // (value provided, do something with the value) else // (value NOT provided, do some default action) endif endon I tested this on mega-20200222 and it worked for me. - ...
by ThomasB
22 Aug 2020, 21:01
Forum: ESP Easy: Software
Topic: openhab MQTT connection lost
Replies: 25
Views: 20172

Re: openhab MQTT connection lost

From your comments it seems that you have confirmed the only affected node is the Sonoff POW R2. And maybe just one in particular. Details like this give you a place to concentrate the debugging. Also, I think it would be useful to log the RSSI so you can review signal strength before and after the ...
by ThomasB
22 Aug 2020, 19:27
Forum: ESP Easy: Software
Topic: openhab MQTT connection lost
Replies: 25
Views: 20172

Re: openhab MQTT connection lost

Our controller settings are similar. However, I'm using the mega-20200222 [Testing] release (ESP_Easy_mega-20200222_test_ESP8266_4M1M_VCC.bin) on my NodeMCU devices. This combination has been stable/reliable.

- Thomas
by ThomasB
21 Aug 2020, 23:21
Forum: ESP Easy: Software
Topic: openhab MQTT connection lost
Replies: 25
Views: 20172

Re: openhab MQTT connection lost

However, the same problem occurs with the NodeMCU ESP8266 v1, but I did not notice this with the Wemos D1. My installation uses OpenHab2 MQTT and has some Lolin NodeMCU V3 devices that utilize the MQTT broker. They all have the mega-20200222 [Testing] release. I haven't encountered lost MQTT connec...
by ThomasB
21 Aug 2020, 21:37
Forum: ESP Easy: Software
Topic: openhab MQTT connection lost
Replies: 25
Views: 20172

Re: openhab MQTT connection lost

1. Node model: Sonoff pow r2 If the problem only occurs on your Sonoff Pow R2 modules then perhaps this particular Sonoff module is inviting the problem. It could be similar to the WiFi performance issue that is suffered by the Sonoff Basic R2 V1.0 hardware that is running ESPEasy. Assuming my hunc...
by ThomasB
21 Aug 2020, 20:26
Forum: ESP Easy: Software
Topic: openhab MQTT connection lost
Replies: 25
Views: 20172

Re: openhab MQTT connection lost

I performed an FW upgrade to "ESPEasy_ESP82xx_mega-20200812". Nevertheless, I have noticed that the mqtt connection continues to be lost from time to time. Maybe some other idea? 1. This problem might be related to specific module hardware. Check all your devices to see which are affected...
by ThomasB
16 Aug 2020, 23:21
Forum: ESP Easy: General Discussion
Topic: Send data to uart FROM espeasy
Replies: 9
Views: 8633

Re: Send data to uart FROM espeasy

Rules could use the LogEntry command to send state and analog values. Unfortunately there will be other log activity messages since the info log is very chatty. But maybe you can filter out what you need and ignore everything else.

- Thomas
by ThomasB
13 Aug 2020, 03:19
Forum: ESP Easy: Software
Topic: Send data to Domoticz using HTTP
Replies: 5
Views: 6749

Re: Send data to Domoticz using HTTP

But the protocol entry still looks a little bit weird:
Although not a serious bug, the mangled "param" string could create confusion when someone uses the log to debug http problems. So I would encourage you to report this bug in the Github issue tracker.

- Thomas
by ThomasB
12 Aug 2020, 04:26
Forum: ESP Easy: Software
Topic: Problem wih Oled and MLX90614
Replies: 9
Views: 7724

Re: Problem wih Oled and MLX90614

I think the used library of the OLED does set the I2C frequency.
Good catch. The MLX90614 is a low speed device (100KHz max). The OLED plugin is most likely initializing the i2c bus to the default 700KHz.

- Thomas
by ThomasB
09 Aug 2020, 22:21
Forum: ESP Easy: General Discussion
Topic: mqtt rule - help needed
Replies: 15
Views: 15285

Re: mqtt rule - help needed

Glad you solved the problem. It seems that after making changes to "Rules", a Re-Boot is the best as it seems that the rules don't always fire correctly after changes. In your setup the reboot was needed because of the MQTT#Connected rule. Typically this rule trigger occurs soon after rebo...
by ThomasB
09 Aug 2020, 03:27
Forum: ESP Easy: General Discussion
Topic: mqtt rule - help needed
Replies: 15
Views: 15285

Re: mqtt rule - help needed

1. Sometimes a rule event won't fire because of corruption in the rule file. For example, an unprintable character may be hiding in it. This evil situation can cause very strange behavior. I suggest deleting ALL the rule files and hand typing the rules again. Don't copy and paste since the source te...
by ThomasB
04 Aug 2020, 22:58
Forum: ESP Easy: Projects / Applications
Topic: Blynk - offline device
Replies: 5
Views: 18323

Re: Blynk - offline device

I use VSCode Platformio. My ESPEasy build workflow is summarized as follows: 1. Download latest Mega Source Code and unzip. 2. Launch Platformio and Open the project's work folder. 3. Edit define_plug_sets.h : Directly under the CONTROLLER_SET_TESTING section, enable the USES_C015 controller. 4. Edi...
by ThomasB
04 Aug 2020, 03:43
Forum: ESP Easy: Projects / Applications
Topic: Blynk - offline device
Replies: 5
Views: 18323

Re: Blynk - offline device

Reporting "offline" is normal behavior for ESPEasy's Blynk HTTP controller (C012). This controller sends a message to Blynk and then disconnects. So it is essentially offline. There's an alternate Blynk controller (C015) that supports callbacks. I'm not sure, but it might do what you want....
by ThomasB
27 Jul 2020, 23:22
Forum: ESP Easy: General Discussion
Topic: ESP Easy Flasher
Replies: 152
Views: 221499

Re: ESP Easy Flasher

Or is this already implementend in the tool but did I not found it yet?<G> There is a checkbox for automatically running serial commands during post flash. You can place ESPEasy commands in the file: /settings/SerialCommand.txt The available commands are listed here: https://espeasy.readthedocs.io/...
by ThomasB
16 Jul 2020, 04:40
Forum: ESP Easy: Projects / Applications
Topic: External GPIO handling (MQTT or HTTP) + Rules
Replies: 2
Views: 11681

Re: External GPIO handling (MQTT or HTTP) + Rules

Like you, I am using OpenHAB with ESPEasy devices. Although communication from ESPEasy to OH2 is via MQTT, the commands from OH2 to ESPEasy use http (OH2's sendHttpPutRequest rule command). It's not clear to me but I think you are saying MQTT messages from ESPeasy to OH2 are working. So all you need...
by ThomasB
09 Jun 2020, 20:00
Forum: ESP Easy: General Discussion
Topic: ESP-01 - sleep configuration not working
Replies: 25
Views: 16420

Re: ESP-01 - sleep configuration not working

Hmm that sounds like the wake pulse may not be a very clean square wave pulse (and probably not long enough) That was what others had speculated. But if you read those two links very carefully, it does not appear it is the main culprit. Especially since a small minority of the affected boards also ...
by ThomasB
09 Jun 2020, 18:45
Forum: ESP Easy: General Discussion
Topic: ESP-01 - sleep configuration not working
Replies: 25
Views: 16420

Re: ESP-01 - sleep configuration not working

I searched github and found other reports of this issue. A couple good reads: https://github.com/esp8266/Arduino/issues/6007 https://github.com/esp8266/Arduino/issues/5892 TL;DR: Wakeup from sleep does not work on some ESP8266 modules. Some speculate it is due to the board layout of some clone modul...
by ThomasB
09 Jun 2020, 04:43
Forum: ESP Easy: General Discussion
Topic: ESP-01 - sleep configuration not working
Replies: 25
Views: 16420

Re: ESP-01 - sleep configuration not working

Plugging the ESP-01 header into a typical breadboard, as shown in the photo, will bridge (short) adjacent header pins together. This could cause some signal conflicts because the breadboard has continuity across each row of pin holes. In other words, GPIO-1 would bridge to GND, EN would bridge to GP...
by ThomasB
08 Jun 2020, 23:20
Forum: ESP Easy: General Discussion
Topic: P2P networking node monitoring?
Replies: 7
Views: 16582

Re: P2P networking node monitoring?

still 2 more question. Q1: AFAIK, this is not implemented and appears to be a variation of the OP's question. Q2: Perhaps the sendto command will help do what you have in mind. The P2P networking "controller" is really just a global syncing feature (and was called that in earlier releases...
by ThomasB
08 Jun 2020, 22:14
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 2248834

Re: Nextion display plugin

are you talking about changing the text which is displayed in a textfield or a button at the nextion display ? Sorry for the confusion. I was talking about having the NEXTION sending a text string to ESPEasy (not supported in ESPEasy), whereas you are sending the string from ESPEasy to Nextion (sup...
by ThomasB
29 May 2020, 19:03
Forum: ESP Easy: Hardware
Topic: GPS#Travelled already included? [SOLVED]
Replies: 13
Views: 23853

Re: GPS#Travelled already included?

For the record, I'm not using the GPS plugin or the SD card controller. But since no one else has chimed in, here's some cheering from the sidelines: Is the event already included in the current testing builds? From a quick review of the P082 source code it doesn't appear that GPS#Travelled is imple...
by ThomasB
21 May 2020, 22:45
Forum: ESP Easy: General Discussion
Topic: Problem to upload ESP_Easy_mega_20200516_normal_ESP8266_16M.bin
Replies: 6
Views: 8011

Re: Problem to upload ESP_Easy_mega_20200516_normal_ESP8266_16M.bin

If the Apr-26-2020 release works then perhaps your problem is related to a reported issue that affects the May-16 build:
https://github.com/letscontrolit/ESPEasy/issues/3078

- Thomas
by ThomasB
21 May 2020, 22:38
Forum: ESP Easy: Software
Topic: using values in rules from a sending node which is connected per P2P network
Replies: 11
Views: 10447

Re: using values in rules from a sending node which is connected per P2P network

Who will open the issue for this on github? I have no experience for this till yet.
Fixes to ESPEasy are unlikely if they only get discussed on the forum. So that is why you need to officially report the issue on Github. Here is the link:
https://github.com/letscontrolit/ESPEasy/issues

- Thomas
by ThomasB
21 May 2020, 21:23
Forum: ESP Easy: General Discussion
Topic: Problem to upload ESP_Easy_mega_20200516_normal_ESP8266_16M.bin
Replies: 6
Views: 8011

Re: Problem to upload ESP_Easy_mega_20200516_normal_ESP8266_16M.bin

I have a lot of issues to load firmware to wemos D1 mini pro 16M. {snip} It was working fine with an old FW. (don't know which one) If it was working on an older version then I highly doubt it was a 16M build (would likely have been 1M or 4M). I suggest you try ESP_Easy_mega-20200426_normal_ESP8266...
by ThomasB
20 May 2020, 21:42
Forum: ESP Easy: Hardware
Topic: Reed switch stays ON even without a magnet?!?
Replies: 7
Views: 13353

Re: Reed switch stays ON even without a magnet?!?

I suggest you use the reed to control a MOSFET High Side switch. Current through the reed switch would be close to zero (microAmps). Good concepts explained here: https://hackaday.com/2015/09/16/learn-and-build-a-high-side-switch/ The basic circuit is a P-channel MOSFET and high value bias resistor ...
by ThomasB
20 May 2020, 21:15
Forum: ESP Easy: Software
Topic: using values in rules from a sending node which is connected per P2P network
Replies: 11
Views: 10447

Re: using values in rules from a sending node which is connected per P2P network

I think this not the way it should work? Glad you found a workaround. I agree, the slave P2P Dummy device name should not have been reset to "dummy." And since the master Dummy device is single output data type, the slave should also be single output (instead of four data output). I sugge...
by ThomasB
20 May 2020, 05:02
Forum: ESP Easy: General Discussion
Topic: Controlling a Sonoff S20 with a timer
Replies: 2
Views: 5397

Re: Controlling a Sonoff S20 with a timer

Go to Tools=>Advanced page and setup the Rules , NTP , DST , and Location entries. Submit the changes, then Reboot. Now go to the Rules page and create your time event rules (Clock#Time, %systime%, %Sunrise%, etc). Time related rule examples are discussed here: https://espeasy.readthedocs.io/en/late...
by ThomasB
20 May 2020, 02:46
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 2248834

Re: Nextion display plugin

I hope they will update the Nextion to support it. Just curious why you need to send text messages (strings) since Nextion is intended to send numeric button/control state values. ESPEasy has a rule engine that will act on them and perform your custom events, including sending string messages to yo...
by ThomasB
20 May 2020, 00:19
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 2248834

Re: Nextion display plugin

Anyone has already done this ?, i.e send a string data like a word from Nextion to Espeasy ? String data not supported. Up to two numerical data values can be sent in a Nextion print command. The numerical data can represent button press states or any other activity that is important to you. ESPEas...
by ThomasB
19 May 2020, 17:51
Forum: ESP Easy: General Discussion
Topic: Send reset info and log via POST or MQTT
Replies: 13
Views: 10914

Re: Send reset info and log via POST or MQTT

Reboot/restart reason is one thing that's still missing as a variable.
+1. %reset_reason% would be a useful system var to add.

- Thomas
by ThomasB
19 May 2020, 17:43
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy P1 wifi gateway GPIO Idx
Replies: 38
Views: 50189

Re: ESPEasy P1 wifi gateway GPIO Idx

Great to hear you solved the problem.

- Thomas
by ThomasB
18 May 2020, 18:36
Forum: ESP Easy: Software
Topic: using values in rules from a sending node which is connected per P2P network
Replies: 11
Views: 10447

Re: using values in rules from a sending node which is connected per P2P network

Image

Please ENABLE all the plugins with the Red X in them. The Red X should be changed to the Green Check Mark.

- Thomas
by ThomasB
18 May 2020, 00:46
Forum: ESP Easy: Software
Topic: where is 'pre_extra_script.py' to compile customer firmware? // or use Custom.h ? (let's fix the instructions then...
Replies: 4
Views: 6958

Re: where is 'pre_extra_script.py' to compile customer firmware? // or use Custom.h ? (let's fix the instructions then..

Yes, unfortunately the docs are way out of sync with the ongoing code changes. I've run into many situations where I've needed to use the source code distribution to find out how to use a feature.

- Thomas
by ThomasB
17 May 2020, 23:41
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy P1 wifi gateway GPIO Idx
Replies: 38
Views: 50189

Re: ESPEasy P1 wifi gateway GPIO Idx

diagram from the source https://infi.nl/files/nieuws/_medium/WemosP1Sketch_bb.png The fritz board drawing seems odd, only two resistors installed. But the author also shows his final PCB, which has four resistors. diagram from the second source http://www.esp8266thingies.nl/wp/wp-content/uploads/20...
by ThomasB
17 May 2020, 19:07
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy P1 wifi gateway GPIO Idx
Replies: 38
Views: 50189

Re: ESPEasy P1 wifi gateway GPIO Idx

No I didn't tried that yet. If I read it correctly, Pin 2 should be connected as following: Pin 2 ---- > 2K2 resistor --- > 5v on one end of resistor, other end should be connected to Pin 5 before 1K resistor. Yes, a 2.2K resistor typically connects Pin 5 (RXD) to 5V. But Pin 2 (the Ready-to-Send s...
by ThomasB
16 May 2020, 19:27
Forum: ESP Easy: Hardware
Topic: [FIXED] Wemos MotorShield V1.0 NO i2c-adress
Replies: 20
Views: 16273

Re: [FIXED] Wemos MotorShield V1.0 NO i2c-adress

Edit: I measured the Voltage after the pullups from the MotorShield too. There are only 0.55V outgoing. Should they have 3.3V too Strange problem. I'm running out of ideas. Here's some final hail Mary things to try (one at a time, not all at once): 1. Did you try a different 5V power supply? There ...
by ThomasB
16 May 2020, 19:17
Forum: ESP Easy: General Discussion
Topic: send shutdown command for raspberry
Replies: 2
Views: 5335

Re: send shutdown command for raspberry

If you mean you don't want to add a wired connected to the RPi (GPIO shutdown), then that leaves you with a SendToHTTP rule. I Found this discussion that explains how to enable it on the RPi: https://www.raspberrypi.org/forums/view ... hp?t=58802

- Thomas
by ThomasB
16 May 2020, 18:51
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy P1 wifi gateway GPIO Idx
Replies: 38
Views: 50189

Re: ESPEasy P1 wifi gateway GPIO Idx

Before soldering anything I tried it out on a breadboard, this is the setup: Screenshot below. VIN --------------------- > Pin 1 (5v) G --------------------- > Pin 6 (should be ground, btw i also tried Pin 3 ) BC547 Emitter -------- > G BC547 Base ------------ > 1K resistor ------- > Pin 5 (should ...
by ThomasB
16 May 2020, 18:13
Forum: ESP Easy: Hardware
Topic: [FIXED] Wemos MotorShield V1.0 NO i2c-adress
Replies: 20
Views: 16273

Re: [FIXED] Wemos MotorShield V1.0 NO i2c-adress

I found this schematic of the GY-302(BH1750) board. Probably the two resistors in the red cycle of the picture below are the same as my 103 (10k) SMD resistors on the board. Can I desolder them or what should i do? The schematic you posted shows that the pullups are sourced by 3.3V. So that's good ...
by ThomasB
16 May 2020, 08:00
Forum: ESP Easy: Hardware
Topic: [FIXED] Wemos MotorShield V1.0 NO i2c-adress
Replies: 20
Views: 16273

Re: [FIXED] Wemos MotorShield V1.0 NO i2c-adress

Do you have a BH1750 sensor and a MotorShield? I have the MotorShield, but not a BH1750. Which BH1750 board are you using? Link to supplier would be helpful. Reason I ask is because some have I2C pull-ups sourced by 5V, which I think may cause problems. If this is what yours has then these two resi...
by ThomasB
16 May 2020, 02:10
Forum: ESP Easy: Software
Topic: SlowMotionServo
Replies: 2
Views: 6079

Re: SlowMotionServo

I would like to implement the equivalent of this library as a plugin ... I didn't see anything obvious in the library that would cause problems for ESPEasy. That is to say, no blocking calls or hard delays. As far as a beginner writing a ESPEasy plugin, I think success will be up to the "begin...
by ThomasB
16 May 2020, 00:46
Forum: ESP Easy: Hardware
Topic: Design for power supply from source >12V low quiescent current
Replies: 20
Views: 16332

Re: Design for power supply from source >12V low quiescent current

Such pulsating operation is also a good reason to use a linear regulator as the last step to 3.3V Using a linear regulator on the output of the switching regulator is a good idea on traditional switchers. But the MP1584EN runs at about 1MHz. So I find that the ripple (typically <30mV) can be remove...
by ThomasB
16 May 2020, 00:29
Forum: ESP Easy: Hardware
Topic: Design for power supply from source >12V low quiescent current
Replies: 20
Views: 16332

Re: Design for power supply from source >12V low quiescent current

They tell "don't use without or with load less than 10% of output rating". Any experience what happens, if the Wemos goes to sleep? That shouldn't be a problem for you. Here is what the MP1584EN data sheet says about no-load conditions: At no load or light load, the converter may operate ...
by ThomasB
15 May 2020, 23:34
Forum: ESP Easy: Projects / Applications
Topic: Garage door opener with OpenHAB
Replies: 9
Views: 22342

Re: Garage door opener with OpenHAB

Funny videos. Oh sure, we're giggling now. But those videos hint how technology will have the last laugh.

- Thomas
by ThomasB
15 May 2020, 20:25
Forum: ESP Easy: Hardware
Topic: Design for power supply from source >12V low quiescent current
Replies: 20
Views: 16332

Re: Design for power supply from source >12V low quiescent current

With a Linear LDO you're looking at 2-3 watts dissipation when the ESP is running, so it's going to get hot. Instead, consider a Buck DC-DC switching regulator. For example, I have some Mini MP1584EN Adjustable DC-DC Buck Converter boards that are 250uA quiescent. About $1 on Aliexpress, but even Am...