Search found 614 matches

by ThomasB
27 Mar 2020, 21:54
Forum: ESP Easy: Software
Topic: Rule with p2p networking dosn't work
Replies: 7
Views: 126

Re: Rule with p2p networking dosn't work

Maybe the plugin de-bounce setting used in each players' switch is too short and multiple on-off P2P messages are sent on each press. I recommend 100mS and increase if necessary. Other than that, I don't have any other ideas/suggestions. So if you're not satisfied with your workaround then be patien...
by ThomasB
27 Mar 2020, 19:41
Forum: ESP Easy: Software
Topic: Rule with p2p networking dosn't work
Replies: 7
Views: 126

Re: Rule with p2p networking dosn't work

So I would conclude that the problem would be somewhere with reading the "info#Snellste" variable. Whel I see it changing in the devices tap. My best guess: I suspect that the info#Snellste value changes *after* the quizmister_10_button#State rule is triggered. For the existing logic to work the in...
by ThomasB
27 Mar 2020, 16:52
Forum: ESP Easy: Software
Topic: Rule with p2p networking dosn't work
Replies: 7
Views: 126

Re: Rule with p2p networking dosn't work

It looks to me like the if statement is always false while that shouldn't be the case. On quizmister_10_button#State=1 do if[info#Snellste]=10 gpio,0,0 else gpio,0,1 endif endon The if statement seen above has a typo. There must be a space between if and the [ bracket. Like this: if [info#Snellste]...
by ThomasB
23 Mar 2020, 23:00
Forum: ESP Easy: Software
Topic: Blynk reports "offline" but I can write values
Replies: 4
Views: 198

Re: Blynk reports "offline" but I can write values

If using a repeating 10 second timer rule to refresh the Blynk host does not work then I'm out of easy ideas. But I'm not a Blynk user, so my knowledge is limited. Hopefully an expert jumps in and has a solution for you. It seems that the Blynk host needs a periodic ping (heartbeat) to maintain onli...
by ThomasB
23 Mar 2020, 22:00
Forum: ESP Easy: Projects / Applications
Topic: simply send IR code
Replies: 4
Views: 334

Re: simply send IR code

Some debugging ideas: 1. Use serial log (set to info level) and check the log messages when when IR commands are sent and received. The messages may provide some debugging help. 2. Capitalize the NEC protocol keyword, like this: http://192.168.1.254/control?cmd=IRSEND,NEC,551489777,32 3. Try the IRS...
by ThomasB
23 Mar 2020, 21:10
Forum: ESP Easy: Hardware
Topic: ESP01 1CHANNEL Relay, help appreciated
Replies: 15
Views: 395

Re: ESP01 1CHANNEL Relay, help appreciated

Good to know you resolved the problem.

- Thomas
by ThomasB
23 Mar 2020, 19:22
Forum: ESP Easy: Hardware
Topic: ESP01 1CHANNEL Relay, help appreciated
Replies: 15
Views: 395

Re: ESP01 1CHANNEL Relay, help appreciated

Agreed, good info about charge/discharge current. In this example the 10K resistor limits current to 330uA, so it is minimal.

- Thomas
by ThomasB
23 Mar 2020, 16:39
Forum: ESP Easy: Software
Topic: Blynk reports "offline" but I can write values
Replies: 4
Views: 198

Re: Blynk reports "offline" but I can write values

In case it helps, check this out: http://docs.blynk.cc/#blynk-main-operations-devices-online-status I briefly looked at the Blynk code (CPLUGIN_012) and I don't believe it is performing the heartbeat ping. Perhaps a workaround would be to create a timer rule that uses BlynkGet to communicate every 1...
by ThomasB
23 Mar 2020, 16:18
Forum: ESP Easy: Hardware
Topic: ESP01 1CHANNEL Relay, help appreciated
Replies: 15
Views: 395

Re: ESP01 1CHANNEL Relay, help appreciated

100uf, could I use 1000uF en what would be the impact?
It will increase the activation time (longer time before relay turns on, longer time before it turns off). Expect several seconds.

- Thomas
by ThomasB
23 Mar 2020, 02:36
Forum: ESP Easy: Software
Topic: specifiy request type (GET) in SendtoHTTP
Replies: 5
Views: 205

Re: specifiy request type (GET) in SendtoHTTP

It appears that the SendtoHTTP method used in the rules defaults to HTTP GET. FWIW, I can't find a SendtoHTTP parameter that overrides it. But perhaps the BlynkGet command (enabled by the Blync controller) is what should be used. I can't find much info on it's usage, but this old Github issue discus...
by ThomasB
22 Mar 2020, 22:33
Forum: ESP Easy: Hardware
Topic: ESP01 1CHANNEL Relay, help appreciated
Replies: 15
Views: 395

Re: ESP01 1CHANNEL Relay, help appreciated

Sorry r1 is 2k r2 is 10k which i removed to get the esp01s working on this board. My solder skills are not that wel, other options? If the stuffed part at Q1 is really a MOSFET, such as a 2N7002, (confirm this before proceeding) then try this: 1. Change R1 to 10K. Change GPIO0 pullup to 1K. 2. Add ...
by ThomasB
22 Mar 2020, 20:31
Forum: ESP Easy: Hardware
Topic: ESP01 1CHANNEL Relay, help appreciated
Replies: 15
Views: 395

Re: ESP01 1CHANNEL Relay, help appreciated

Would it not break the board removing r2 2k resistor? If the relay board has R2 installed and it is 2K, then your board is a different revision or clone variant than the schematic I posted. Where is gpio15? It is a pin on the ESP8266 chip. Requires good soldering skill to do the soldering. Would a ...
by ThomasB
22 Mar 2020, 19:44
Forum: ESP Easy: Hardware
Topic: ESP01 1CHANNEL Relay, help appreciated
Replies: 15
Views: 395

Re: ESP01 1CHANNEL Relay, help appreciated

I have a ESP01 1 channel relay V1.0. {snip-snip} i get a small pulse during a powercycle which triggers the door to open Momentary relay activation on power-up reset is a problem reported by other users of that board. Here is the schematic of the V1 board. There are other clone variations, so be su...
by ThomasB
22 Mar 2020, 18:03
Forum: ESP Easy: General Discussion
Topic: Plugin help
Replies: 5
Views: 353

Re: Plugin help

Sorry, I misunderstood your original question. For entering a fixed numerical value (signed long) into the web form you would use addFormNumericBox(). Or if a list of pre-defined choices is needed then you can use addFormSelector(). These functions are used in several ESPEasy plugins. So you will fi...
by ThomasB
21 Mar 2020, 03:55
Forum: ESP Easy: General Discussion
Topic: Plugin help
Replies: 5
Views: 353

Re: Plugin help

I suggest looking at the _P004_Dallas.ino for inspiration. The basic idea is to: 1. Define a PLUGIN_VALUENAME1 (value name for voltage), see line 20. https://github.com/letscontrolit/ESPEasy/blob/mega-20200310/src/_P004_Dallas.ino#L20 For example, #define PLUGIN_VALUENAME1_099 "VDC" 2. Get the value...
by ThomasB
21 Mar 2020, 02:17
Forum: ESP Easy: Projects / Applications
Topic: simply send IR code
Replies: 4
Views: 334

Re: simply send IR code

It appears you are using the IR receive Plug-in from the old R120 branch. I suggest flashing to the latest Mega release. The Mega branch has an updated P016_IR receive Plug-in ( Communication - TSOP4838 ) and the instructions for using it can be found at the top of the source code: https://github.co...
by ThomasB
20 Mar 2020, 16:14
Forum: ESP Easy: Software
Topic: Problem with Blynk controller building
Replies: 9
Views: 354

Re: Problem with Blynk controller building

Firmaware was build, but Blynk does'nt work propertly
I don 't know where to enter data about the virtual pins, and data from sensors not uploaded to Blynk...
Good to hear it compiles. Sorry, but I don't use Blynk so I can't help with the configuration.

- Thomas
by ThomasB
20 Mar 2020, 00:59
Forum: ESP Easy: Software
Topic: Problem with Blynk controller building
Replies: 9
Views: 354

Re: Problem with Blynk controller building

Hmm that's the 2nd time this change apparently resulted in a bug I see in this hour.
That's exactly how a pandemic begins.

Keep at least two meters from other keyboards. Wash your typing fingers as often as practical.

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

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: 414

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: 791

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: 791

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: 414

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: 791

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: 791

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: 791

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: 11652

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: 576

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: 576

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: 576

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: 1069

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: 916

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: 916

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: 1458

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: 8
Views: 2464

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: 2054

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: 13
Views: 3878

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: 2411

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: 4242

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: 4242

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: 4242

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: 8
Views: 2464

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: 4242

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: 2117

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: 2818

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: 2222

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: 3629

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: 3629

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: 3629

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: 2436

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