Search found 696 matches

by ThomasB
19 Mar 2020, 23:52
Forum: ESP Easy: Software
Topic: Problem with Blynk controller building
Replies: 9
Views: 2862

Re: Problem with Blynk controller building

@TD-er: It seems that during the migration to the new parser (late Oct 2019) the function parameters were changed. Now declared as parseString(const string, byte), but originally was parseString(const string, byte, bool, bool). See these github changes: https://github.com/letscontrolit/ESPEasy/pull/...
by ThomasB
19 Mar 2020, 23:17
Forum: ESP Easy: Software
Topic: Simple rule does not work, why?
Replies: 11
Views: 2955

Re: Simple rule does not work, why?

The bin file is taken from latest release from github, esp8266 1mb. ESP_Easy_mega-20200310_normal_ESP8266_1M.bin I tested the " On Clock#Time=All,**:** do " clock rule on: ESP_Easy_mega-20200310_test_ESP8266_4M1M_VCC.bin ESP_Easy_mega-20200222_normal_ESP8285_1M.bin It works correctly on both. Just ...
by ThomasB
19 Mar 2020, 18:46
Forum: ESP Easy: Projects / Applications
Topic: COVID-19 Virus Plug-In [EXPERIMENTAL]
Replies: 17
Views: 4153

Re: COVID-19 Virus Plug-In [EXPERIMENTAL]

I only have 1-layer, so I don't qualify? A week ago I would have been interested in your 1-ply offer. But our world is quickly changing. Toilet paper will soon become the only accepted currency and I want to be prepared. But hang on to your 1-ply. It can be used to start a fire that warms up your c...
by ThomasB
19 Mar 2020, 18:20
Forum: ESP Easy: Projects / Applications
Topic: COVID-19 Virus Plug-In [EXPERIMENTAL]
Replies: 17
Views: 4153

Re: COVID-19 Virus Plug-In [EXPERIMENTAL]

No worries, I have an old T.P. roll rewinding machine (runs on ESPEz R120). So I can accept either CW or CCW wound rolls.

But the rolls must be 2-ply tissue to prevent breakage while in the rewinder. So 1-ply payments are not accepted at this time.

- Thomas
by ThomasB
19 Mar 2020, 17:35
Forum: ESP Easy: Software
Topic: Simple rule does not work, why?
Replies: 11
Views: 2955

Re: Simple rule does not work, why?

Tried that, does not work, unfortunately. Just to be clear, you tried this? On Clock#Time=All,**:** do TaskValueSet 2,3,[TC#TC] endon I tried this clock rule on a recent Mega build and it works. If you are using a recent Mega release, and it does not work for you, then please post the actual file n...
by ThomasB
19 Mar 2020, 16:58
Forum: ESP Easy: Projects / Applications
Topic: COVID-19 Virus Plug-In [EXPERIMENTAL]
Replies: 17
Views: 4153

Re: COVID-19 Virus Plug-In [EXPERIMENTAL]

Well I guess you could use the VOC sensor then, also known as the flatulence detector, but maybe it can be tweaked to advice on the number of sheets to use so you can optimize the stock of rolls available. Good use for a Flatulence Airborne Recovery Transformer (FART) sensor. ... could you please p...
by ThomasB
19 Mar 2020, 01:56
Forum: ESP Easy: Projects / Applications
Topic: COVID-19 Virus Plug-In [EXPERIMENTAL]
Replies: 17
Views: 4153

Re: COVID-19 Virus Plug-In [EXPERIMENTAL]

Thanks for the suggestions. They are all must-have features. But I won't have use for the toilet paper roll monitor since the hoarders have made that a no-go opportunity. My wife came home a few minutes ago and her stress levels were at code red. A 60+ year old co-worker didn't show up today. She le...
by ThomasB
18 Mar 2020, 23:49
Forum: ESP Easy: Projects / Applications
Topic: COVID-19 Virus Plug-In [EXPERIMENTAL]
Replies: 17
Views: 4153

COVID-19 Virus Plug-In [EXPERIMENTAL]

It's day two of self-isolation due to the COVID-19 pandemic. Spirits are high, mostly because I stay off social media and avoid all 24 hour commentary (a.k.a "news") channels. Our local community leaders are advising that we stay at home, so I am doing my part. But my wife is required to go to work....
by ThomasB
18 Mar 2020, 02:17
Forum: ESP Easy: Software
Topic: Best plugin to start from for 2-way serial communication
Replies: 18
Views: 14457

Re: Best plugin to start from for 2-way serial communication

I am also working on an I2C to UART integration for ESPEasy, which does add a near unlimited number of UART ports to both ESP8266 as well as ESP32 and it will be integrated in the ESPEasySerial library so it does allow all plugins using UART to use that I2C to UART chip. Nice. My crystal ball says ...
by ThomasB
17 Mar 2020, 21:42
Forum: ESP Easy: General Discussion
Topic: Switch MQTT controlers??
Replies: 9
Views: 2963

Re: Switch MQTT controlers??

But my idea in my previous post does work and will only fail if the other system assigns the same 4th octet in the IP address Understood. My idea was provided because it sounded like you wanted to harden your rules. I don't think that would work since (if I understand it) in rules you can not do a ...
by ThomasB
17 Mar 2020, 20:27
Forum: ESP Easy: General Discussion
Topic: Switch MQTT controlers??
Replies: 9
Views: 2963

Re: Switch MQTT controlers??

Perhaps %bssid% (MAC) will allow you to detect which network is connected.

- Thomas
by ThomasB
17 Mar 2020, 18:52
Forum: ESP Easy: General Discussion
Topic: Switch MQTT controlers??
Replies: 9
Views: 2963

Re: Switch MQTT controlers??

I noticed that @TD-er recently added two new commands for the controllers. See ControllerDisable and ControllerEnable commands: https://espeasy.readthedocs.io/en/latest/Reference/Command.html For the record I have no experience with the new commands. Just passing on the info in case it helps your ap...
by ThomasB
15 Mar 2020, 20:37
Forum: ESP Easy: Software
Topic: nodemcu with 8input and 8output (pcf8574)
Replies: 16
Views: 4229

Re: nodemcu with 8input and 8output (pcf8574)

Also: The relays will need to be logic level activated with input currents that do not exceed the PCF8574's recommended output currents: logic low activation that is less than 25mA or logic high that is less than 1mA. Some 8-channel relay modules are turned on by logic low levels, some require logic...
by ThomasB
15 Mar 2020, 19:32
Forum: ESP Easy: Hardware
Topic: SDS011 not visible
Replies: 9
Views: 3864

Re: SDS011 not visible

// #undef USES_P056 // SDS011-Dust (doesn't work yet on ESP32) This build exception is fully commented out. So P056 should be included in the compile. Yeah, that message puzzles me, because I'm not running a self-built image. I suspect that the "official" build is using a different define_plugin_se...
by ThomasB
15 Mar 2020, 18:32
Forum: ESP Easy: Hardware
Topic: SDS011 not visible
Replies: 9
Views: 3864

Re: SDS011 not visible

Code: Select all

Build Time:⋄ Mar 10 2020 01:33:00
Binary Filename:⋄ Self built!
It appears you are running a self built binary instead of an official [TESTING] release. So revise your build flags in the define_plugin_sets.h; Make sure P056 is included before rebuilding.

- Thomas
by ThomasB
12 Mar 2020, 18:12
Forum: ESP Easy: General Discussion
Topic: Rules help needed
Replies: 12
Views: 4118

Re: Rules help needed

Another method: See the on GPIO#N section in the readthedocs.
https://espeasy.readthedocs.io/en/lates ... Rules.html

- Thomas
by ThomasB
11 Mar 2020, 00:40
Forum: ESP Easy: Hardware
Topic: problem displaying on a Nextion screen
Replies: 17
Views: 6206

Re: problem displaying on a Nextion screen

The Nextion plugin has changed. So please review the wiki. https://www.letscontrolit.com/wiki/index.php?title=Nextion You can use the serial log and see the touch data received from the Nextion. Check the values to confirm they are being received (and are correct). BTW, you're using SoftSerial to co...
by ThomasB
09 Mar 2020, 19:14
Forum: ESP Easy: Projects / Applications
Topic: Android APK
Replies: 2
Views: 4850

Re: Android APK

ESPEasy Mega has a built-in web page that will provide basic status data to your devices. Visit this local IP: http://<YOUR_ESPEZ_IP>/dashboard.esp Or you can write your own custom web page to report the information in the format that you want. The custom page can include buttons to control your dev...
by ThomasB
09 Mar 2020, 03:29
Forum: ESP Easy: Hardware
Topic: Designing automatic watering system
Replies: 16
Views: 7724

Re: Designing automatic watering system

Does anyone know of an easy solution to providing a 5V pulse from an ESP8266 either as + / - or - / + to a solenoid valve You can use an Arduino H-Bridge Motor controller. Two ESP8266 GPIO are needed to control it. One output pin for polarity direction (DIR), and another output pin for the signal p...
by ThomasB
07 Mar 2020, 23:09
Forum: ESP Easy: General Discussion
Topic: DS18B20 not recognized
Replies: 5
Views: 4344

Re: DS18B20 not recognized

DS18B20 tried on different Pins (D0,D8,D1) D0 & D1 require a pull-up resistor when used with the DS18B20. D8 GPIO15 is a boot pin. The ESP module has pull-down resistor on this GPIO. Do NOT install DS18B20 on this pin. Pin map and precaution info: https://www.letscontrolit.com/wiki/index.php?title=...
by ThomasB
07 Mar 2020, 22:22
Forum: ESP Easy: Software
Topic: Serial MCU controlled dimmer/relay - Initial delay of 2-3sec
Replies: 18
Views: 7603

Re: Serial MCU controlled dimmer/relay - Initial delay of 2-3sec

That's what they want you to believe. Pardon me while I adjust the tin foil hat on a NodeMCU.

- Thomas
by ThomasB
07 Mar 2020, 19:11
Forum: ESP Easy: Software
Topic: Serial MCU controlled dimmer/relay - Initial delay of 2-3sec
Replies: 18
Views: 7603

Re: Serial MCU controlled dimmer/relay - Initial delay of 2-3sec

The problem was the dimmable LED-driver in my (new) ceiling lights. They have a soft start from power-off-state A 2-3 sec delay before the light turns on seems like a badly implemented soft start feature. But good to hear you resolved the problem. So it will empty old ones and will not use more mem...
by ThomasB
07 Mar 2020, 00:28
Forum: ESP Easy: Software
Topic: Serial MCU controlled dimmer/relay - Initial delay of 2-3sec
Replies: 18
Views: 7603

Re: Serial MCU controlled dimmer/relay - Initial delay of 2-3sec

I looked in the code for serial activity and indeed in some of the commands there is a call to serialPrintLn(), which does not need to be there. On the other hand, it is adding to the serial buffer, which is supposed to be used only for logging purposes, so this should not be flushed to the serial ...
by ThomasB
06 Mar 2020, 17:57
Forum: ESP Easy: Hardware
Topic: problem displaying on a Nextion screen
Replies: 17
Views: 6206

Re: problem displaying on a Nextion screen

Not sure if those system variables were present in the R148 build. Good catch. R148 was released about the same time that the Titanic disaster occurred. Time to upgrade. And besides upgrading to the latest Mega release, I HIGHLY recommend you use the plugin's new Hardware Serial feature. My opinion...
by ThomasB
06 Mar 2020, 02:55
Forum: ESP Easy: Software
Topic: Serial MCU controlled dimmer/relay - Initial delay of 2-3sec
Replies: 18
Views: 7603

Re: Serial MCU controlled dimmer/relay - Initial delay of 2-3sec

Maybe a problem at the dimmer-MCU. I checked the serial data and the byte sequence is always send quick. Only the light-output is late switched on. Firmware bug? Even with the ESPEasy's serial log disabled, maybe some unexpected serial activity occurs when the system is idle. And maybe it temporari...
by ThomasB
06 Mar 2020, 01:35
Forum: ESP Easy: Software
Topic: Rules + HttpToSend + Telegram ?
Replies: 4
Views: 4381

Re: Rules + HttpToSend + Telegram ?

If I send URL like this one via browser, I receive Telegram message without problem. Are you sure the browser isn't redirecting the http to https? And I know that it's possible to use ESP8266 with Telegram also, for example ESP8266TelegramBOT.h library etc. The Arduino code uses SSL / port 443. Tel...
by ThomasB
05 Mar 2020, 23:43
Forum: ESP Easy: Hardware
Topic: Problem - active buzzer
Replies: 3
Views: 5599

Re: Problem - active buzzer

in the second system so that the Wemos D1 mini but + under GPIO14 and created in Espeasy - "Switch input - Switch ". When I change the state in ESPeasy via Domoticz, no sound is triggered, the state itself changes from 0 to 1 but there is no voltage The state value of the Switch Input plugin is vir...
by ThomasB
05 Mar 2020, 01:22
Forum: ESP Easy: Hardware
Topic: Serial connection in place of wifi, challenges
Replies: 7
Views: 5044

Re: Serial connection in place of wifi, challenges

I have a Wemos d1 mini module that is struggling with wifi connectivity. Any chance your Wemos WiFi shows a reasonable RSSI value, but it's experiencing browser access problems (slow page loading and/or timeouts)? Or too many disconnect/reconnects? If the answer is yes, then see the tail end of thi...
by ThomasB
04 Mar 2020, 23:46
Forum: ESP Easy: Software
Topic: Cannot update any of my modules past mega-20190215
Replies: 30
Views: 6965

Re: Cannot update any of my modules past mega-20190215

Hmm not sure if I must touch that topic... it is sticky
Never touch your face after contact. Immediately wash your hands. See a health care provider if you have a persistent cough or symptoms due to SDK blobs.

- Thomas
by ThomasB
04 Mar 2020, 23:02
Forum: ESP Easy: Software
Topic: Cannot update any of my modules past mega-20190215
Replies: 30
Views: 6965

Re: Cannot update any of my modules past mega-20190215

Should I add a build for "bad wifi fallback"? It seems like that would salvage some installations. But it's your call. And how should it be called? Maybe the file name should include _ALT_WIFI_ or _EXPERIMENTAL_WIFI_. But the real issue is how to educate the user base. There's a place on the forum ...
by ThomasB
04 Mar 2020, 22:34
Forum: ESP Easy: Software
Topic: Cannot update any of my modules past mega-20190215
Replies: 30
Views: 6965

Re: Cannot update any of my modules past mega-20190215

Espressif's closed source core libraries are the work of the devil. Too bad they demand their secrecy. I appreciate all the hand holding and helpful advice. Hopefully the OP resolves his problem with what was learned in this debug adventure. Thanks again. You've earned another good guy club award. -...
by ThomasB
04 Mar 2020, 21:55
Forum: ESP Easy: Software
Topic: Control relay with (reed) switch
Replies: 12
Views: 4768

Re: Control relay with (reed) switch

So I put both codes in a ascii decoder and it appeared that the not working code had for space not ascii code 32 but 160 (non-breaking space).
Good catch.

- Thomas
by ThomasB
04 Mar 2020, 21:48
Forum: ESP Easy: Software
Topic: Cannot update any of my modules past mega-20190215
Replies: 30
Views: 6965

Re: Cannot update any of my modules past mega-20190215

The problem is that neither one is a "one size fits all" build and it also does seem to be related to a lot of environmental factors like RSSI value, number of other APs in the neighborhood etc. That's an interesting twist to this debugging saga. I placed a "working" NodeMCU next to it and they bot...
by ThomasB
04 Mar 2020, 21:04
Forum: ESP Easy: Software
Topic: Cannot update any of my modules past mega-20190215
Replies: 30
Views: 6965

Re: Cannot update any of my modules past mega-20190215

Can you test this one: ...
Respect! That works fantastic. Fast page loads, no hangs. :D

So what is the secrete to this magic?

BTW, I used OTA flash. System info reports DOUT mode. The previously "DOUT" test file reported DIO mode.

- Thomas
by ThomasB
04 Mar 2020, 20:57
Forum: ESP Easy: Software
Topic: Cannot update any of my modules past mega-20190215
Replies: 30
Views: 6965

Re: Cannot update any of my modules past mega-20190215

Thanks for the DOUT information. For this 20190805_normal_ESP8266_4M version, can you see what core version was used? ESP82xx Core 2_5_2, NONOS SDK 2.2.1(cfd48f3), LWIP: 2.1.2 PUYA support I also tried ESP_Easy_mega-20191016-11-PR_2667_test_ESP8266_4M_VCC. It uses the exact same core version as note...
by ThomasB
04 Mar 2020, 19:02
Forum: ESP Easy: Software
Topic: Cannot update any of my modules past mega-20190215
Replies: 30
Views: 6965

Re: Cannot update any of my modules past mega-20190215

Well if the last build was working fine, then I think it may still be related to the way we use flash. Unfortunately the story has become convoluted and perplexing. Here's a timeline summary: 1. Sonoff Basic module is upgraded to 4MB flash. ESP_Easy_mega-20200222_normal_ESP8266_4M1M.bin is loaded. ...
by ThomasB
04 Mar 2020, 18:01
Forum: ESP Easy: General Discussion
Topic: [Solved] Device: Generic - System Info - Vcc always -1
Replies: 2
Views: 3415

Re: Device: Generic sysingo - Vcc always -1

To use the VCC option you must flash with a firmware file that has "_VCC" in its name. For example:
ESP_Easy_mega-20200222_test_ESP8266_4M1M_VCC.bin

Or if you self compile you need to configure the FEATURE_ADC_VCC flag in your build settings.

- Thomas
by ThomasB
04 Mar 2020, 06:02
Forum: ESP Easy: Software
Topic: Please help with 1MB module
Replies: 20
Views: 8198

Re: Please help with 1MB module

Last merges I made today brought the build size of the minimal OTA builds below the max again, even for core 2.6.3 Nice! I wanted to check the minimal OTA build using your mega-20200301 release. I have a Sonoff running mega-20200222, but this recent version has OTA disabled. So my experiment will h...
by ThomasB
04 Mar 2020, 05:42
Forum: ESP Easy: Software
Topic: Cannot update any of my modules past mega-20190215
Replies: 30
Views: 6965

Re: Cannot update any of my modules past mega-20190215

I used ESP Easy Flasher and reloaded ESP_Easy_mega-20200222_normal_ESP8266_4M1M (with Force D-OUT). Web browsing is working, but now it takes several seconds to load some pages. So the progress made today has slipped away. This makes me think that my "hardware problem" comments are a false conclusio...
by ThomasB
04 Mar 2020, 01:43
Forum: ESP Easy: Software
Topic: Cannot update any of my modules past mega-20190215
Replies: 30
Views: 6965

Re: Cannot update any of my modules past mega-20190215

Further testing revealed a problem. I enabled the Openhab MQTT controller plugin and the Sonoff device crashed (unresponsive). I've cold booted and still can't connect with the browser.

I need to finish up some other tasks, but will return to debugging later tonight.

-Thomas
by ThomasB
04 Mar 2020, 01:16
Forum: ESP Easy: Software
Topic: Cannot update any of my modules past mega-20190215
Replies: 30
Views: 6965

Re: Cannot update any of my modules past mega-20190215

I don't see anything unusual with the test release. But the installation is simple; Just the switch, dummy, and Sysinfo plugins. NTP and Rules are working. System var replacements are Ok. OTA flash, Email Notifications and HTTP event commands are Ok. I noticed that the "erase" command is no longer r...
by ThomasB
04 Mar 2020, 00:34
Forum: ESP Easy: Software
Topic: Cannot update any of my modules past mega-20190215
Replies: 30
Views: 6965

Re: Cannot update any of my modules past mega-20190215

I found that the Flash Memory chip does not have its own decoupling cap. Its Vcc pin connects to the nearby status LED. To remedy this, I installed a 0.1uF SMD cap across the LED Anode (3.3V) and the ground plane near the ESP8266 (see photo, red arrow). It's hard to say for certain, but it seems to ...
by ThomasB
03 Mar 2020, 23:32
Forum: ESP Easy: Software
Topic: Cannot update any of my modules past mega-20190215
Replies: 30
Views: 6965

Re: Cannot update any of my modules past mega-20190215

Some Sonoff devices in the past were missing some proper decoupling and thus became unstable when powered via mains. For my safety all the Sonoff testing is with 3.3V power. This allows death-free connection to the serial port. It's the exact same setup I always use with Sonoff devices, which has w...
by ThomasB
03 Mar 2020, 23:01
Forum: ESP Easy: Software
Topic: Cannot update any of my modules past mega-20190215
Replies: 30
Views: 6965

Re: Cannot update any of my modules past mega-20190215

I can make you a "DOUT" build to test. That is a good idea. Since it is a custom build, please make it a [test_ESP8266_4M1M] without VCC. Extra foam. BTW, I flash with Grovkillen's Easy flasher. I've already tried its "Force D-OUT" function; I assumed that changed the bin's flash mode header so DOU...
by ThomasB
03 Mar 2020, 22:26
Forum: ESP Easy: Software
Topic: Control relay with (reed) switch
Replies: 12
Views: 4768

Re: Control relay with (reed) switch

Very odd problem. 1. Get rid of any unused rule files by going to Tools=>FileSystem=>FileBrowser . Delete all rulesX.txt files except rules1.txt. 2. Assign a spare GPIO to a LED (with current limit resistor). Write some rules to test the LED (like you did to test the relay). If the LED works correct...
by ThomasB
03 Mar 2020, 18:39
Forum: ESP Easy: Software
Topic: Please help with 1MB module
Replies: 20
Views: 8198

Re: Please help with 1MB module

Regarding the OTA support for the older 1MB modules, I do miss that. My workaround has been to swap the 1MB Flash chip with 4MB. For sure this is not a practical solution for most users. And Sonoff has killed the Flash upgrade idea by "improving" some of their modules with the crippled ESP8285 chip....
by ThomasB
03 Mar 2020, 17:15
Forum: ESP Easy: Software
Topic: Cannot update any of my modules past mega-20190215
Replies: 30
Views: 6965

Re: Cannot update any of my modules past mega-20190215

On my problematic ESP32 node, I had NTP off for a while to get some idea of the clock drift. It doesn't look that much, so I guess that's not likely to be the issue here. I can try the NTP wander test on my EPS8266 device. But web access is painful (persistent timeouts). Is there a secrete command ...
by ThomasB
03 Mar 2020, 01:04
Forum: ESP Easy: General Discussion
Topic: ESP Easy Flasher
Replies: 132
Views: 75055

Re: ESP Easy Flasher

@grovkillen, I'm using ESP Easy Flasher version 0.04.007. As reported by GravityRZ, I also confirm that the WiFi Password field does not tolerate my credentials that have a $ (dollar sign) symbol. The command window shows the full password, but what gets stored in flash is terminated at the $ sign. ...
by ThomasB
02 Mar 2020, 22:31
Forum: ESP Easy: Software
Topic: Cannot update any of my modules past mega-20190215
Replies: 30
Views: 6965

Re: Cannot update any of my modules past mega-20190215

No matter what I do I cannot get past the mega-20190215 on all of my SONOFF (basic) modules (resoldered 4MB). @TD-er, I decided to try the OP's configuration with ESP_Easy_mega-20200222_normal_ESP8266_4M1M.bin. And I'm having WiFi problems too. Background info: I used a Sonoff Basic (original versi...
by ThomasB
01 Mar 2020, 22:56
Forum: ESP Easy: Software
Topic: Control relay with (reed) switch
Replies: 12
Views: 4768

Re: Control relay with (reed) switch

See the attachment Since you are using a electro-mechanical switch a De-bounce value is needed. For your magnetic reed switch application I suggest changing the 0mS value to 100mS. The settings at the bottom of the plugin's screenshot are missing. So I cannot see the Values name. Your rules use "do...