Search found 778 matches

by ThomasB
16 Apr 2021, 19:48
Forum: ESP Easy: Software
Topic: I2C bus error - PN532
Replies: 2
Views: 84

Re: I2C bus error - PN532

This old Github ticket explains the PN532 Bus Error bug: https://github.com/esp8266/Arduino/issues/1541 As noted in the ticket, the issue may be solved via the clock stretching value. In case it helps you, try changing Tools->Advanced->I2C ClockStretchLimit to 2000. BTW, I don't use the PN532. So I ...
by ThomasB
26 Jan 2021, 00:48
Forum: ESP Easy: General Discussion
Topic: Connect 2 units by wire
Replies: 6
Views: 2214

Re: Connect 2 units by wire

Although not anything as convenient as P2P, you could use the serial port for communication. Serial commands your RPI can send to ESPEasy are listed here: https://espeasy.readthedocs.io/en/latest/Reference/Command.html The ESPEasy could use rules to send string messages to the RPI. The serialsend co...
by ThomasB
25 Jan 2021, 23:54
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 495
Views: 291373

Re: Nextion display plugin

I can help review your wiring and ESPEasy settings if the Nextion display isn't communicating with your Wemos D1 mini. But I don't use domoticz so I can't help with the Nextion commands or ESPEasy rules.

- Thomas
by ThomasB
08 Dec 2020, 02:49
Forum: ESP Easy: General Discussion
Topic: Sonoff Rule On System#Boot not working
Replies: 10
Views: 5650

Re: Sonoff Rule On System#Boot not working

It's not clear why you added the Relay as a switch input task. The relay is controlled by your gpio rules and no plugin is needed to do that. But if for some reason you need the Relay to be a Switch Input Task, then I suggest increasing the debounce time. Currently it is zero, which is too short. Th...
by ThomasB
06 Dec 2020, 18:56
Forum: ESP Easy: Projects / Applications
Topic: CO2-measurement with MH-Z19b / Neopixel / 7 segment display
Replies: 5
Views: 7228

Re: NeoPixelLine ??

... so far because I can only find insufficient information about the NeoPixelLine command FWIW, the command usage is shown in the P038_NeoPixel Plugin's source. See snippet excerpt below. // List of commands: // (1) NeoPixel,<led nr>,<red 0-255>,<green 0-255>,<blue 0-255> // (2) NeoPixelAll,<red 0...
by ThomasB
06 Dec 2020, 01:53
Forum: ESP Easy: General Discussion
Topic: ESPeasy and serial commands
Replies: 22
Views: 8929

Re: ESPeasy and serial commands

other problem i remember, make clear you end with a line termination, try to send the value in a with println. Good catch; The OP's sketch example is missing the line termination. But he mentioned that Putty doesn't work either (receives log, but sent commands are ignored). At least we know baud ra...
by ThomasB
03 Dec 2020, 21:54
Forum: ESP Easy: General Discussion
Topic: ESPeasy and serial commands
Replies: 22
Views: 8929

Re: ESPeasy and serial commands

Your methods are correct. So perhaps there is something wrong with the ESP RXD input. Bad I/O pin, bad wiring, or bad evil spirits. FWIW: A typical Arduino uses 5V logic levels. The ESP8266 is 3.3V. Some say that the ESP can tolerate 5V logic levels without harm. Others say it can be damaged by 5V s...
by ThomasB
28 Nov 2020, 18:51
Forum: ESP Easy: General Discussion
Topic: MCP23017: Port control - not Pin control
Replies: 9
Views: 8494

Re: MCP23017: Port control - not Pin control

You are welcome. It is good to know you resolved the problem.

- Thomas
by ThomasB
24 Nov 2020, 01:24
Forum: ESP Easy: Software
Topic: Command unknown: "PWM,14,200"
Replies: 10
Views: 6326

Re: Command unknown: "PWM,14,200"

TD-er released the fix for the PWM "Command Unkown" bug. See this: https://github.com/letscontrolit/ESPEasy/issues/3361

- Thomas
by ThomasB
15 Nov 2020, 20:41
Forum: ESP Easy: Software
Topic: Failed to add a plugin from the playground
Replies: 4
Views: 4372

Re: Failed to add a plugin from the playground

You need to specify the plugins to be used in your custom build. Basic instructions for compiling custom builds is found here:
https://espeasy.readthedocs.io/en/lates ... th-vs-code

- Thomas
by ThomasB
14 Nov 2020, 19:38
Forum: ESP Easy: Software
Topic: Problem with the notification
Replies: 9
Views: 5920

Re: Problem with the notification

The hostname "poczta.os.pl587" indicates that either you've misconfigured it, or ESPEasy doesn't show the port correctly. ESPEasy's log string formatting is the reason for the mangled message. Here's the addlog statement. addLog(LOG_LEVEL_DEBUG, String(F("EMAIL: Connecting to ")...
by ThomasB
13 Nov 2020, 21:32
Forum: ESP Easy: Software
Topic: Command unknown: "PWM,14,200"
Replies: 10
Views: 6326

Re: Command unknown: "PWM,14,200"

It's good to know that your rule workaround resolved the problem.

Please add your findings to the open Github issue ticket so that the developers are informed about your discoveries:
https://github.com/letscontrolit/ESPEasy/issues/3361

Edit/Update: I reported this info at github.

- Thomas
by ThomasB
13 Nov 2020, 21:29
Forum: ESP Easy: Software
Topic: Problem with the notification
Replies: 9
Views: 5920

Re: Problem with the notification

Try this: - Go to Tools-Advanced page. - Check (enable) the Force WiFi B/G box. - Check (enable) the Periodical send Gratuitous ARP box. - Submit page (save settings). - Reboot. Does this improve the email reliability? Also during your tests please confirm that ESPEasy's WiFi RSSI value has reliable...
by ThomasB
13 Nov 2020, 19:24
Forum: ESP Easy: Software
Topic: Command unknown: "PWM,14,200"
Replies: 10
Views: 6326

Re: Command unknown: "PWM,14,200"

As mentioned, starting with the ESP_Easy_mega_20201102 the PWM command will need the Switch input - Switch plugin to be installed. This may change again, but for now that's the new requirement. See this: https://github.com/letscontrolit/ESPEasy/issues/3361 But something odd is going on. I just insta...
by ThomasB
13 Nov 2020, 17:26
Forum: ESP Easy: Projects / Applications
Topic: Soil probe not working
Replies: 21
Views: 9299

Re: Soil probe not working

I found useful information on the soil sensor. It's also a Tindie sold item (by April Brother). It is open source, so of course that means it is available from several China based suppliers too. See these links: Main Supplier (April Brother, China) Catalog Page: https://www.tindie.com/products/aprbr...
by ThomasB
12 Nov 2020, 22:37
Forum: ESP Easy: Software
Topic: PUYA firmware reboots ofren
Replies: 6
Views: 5491

Re: PUYA firmware reboots ofren

I've ordered memory chips to upgrade the ESP-01 to 4M, but I don't think any of the current 4M firmwares support "Serial MCU controlled switch". After the Flash upgrade install a recent Mega 4MB "Testing" release. Then use the device plugin named Serial MCU Controlled Switch . E...
by ThomasB
12 Nov 2020, 20:47
Forum: ESP Easy: Software
Topic: HDC1080 in dev with strange temperature value
Replies: 6
Views: 4959

Re: HDC1080 in dev with strange temperature value

I'll add a some more things to do: 1. Reduce sensor's wire length. For testing, keep it very short (under 8cm). After it is confirmed working you can attempt to increase wire length. 2. Confirm the SDA and SCL pullup resistors values are appropriate. 4.7K ohms is typical if wire length is reasonable...
by ThomasB
12 Nov 2020, 20:14
Forum: ESP Easy: Projects / Applications
Topic: Soil probe not working
Replies: 21
Views: 9299

Re: Soil probe not working

Your board measures moisture, temperature, and humidity. Which of these things is important to you? Keep in mind that the TMP112 is a temperature sensor. The other measurements come from other sensors. Creating the plugin would require a lot more information. It will help if you posted a schematic. ...
by ThomasB
12 Nov 2020, 20:00
Forum: ESP Easy: Projects / Applications
Topic: Soil probe not working
Replies: 21
Views: 9299

Re: Soil probe not working

I looked at the P047 plugin and it appears to be written specifically for a moisture / light / Temperature sensor sold on Tindie. This one: https://www.tindie.com/products/miceuz/i2c-soil-moisture-sensor/ From the product photo it appears it uses a 14-Pin microcontroller for the I2C access. But you ...
by ThomasB
12 Nov 2020, 17:12
Forum: ESP Easy: Hardware
Topic: esp lost connection
Replies: 7
Views: 15641

Re: esp lost connection

I don't advise using the Connection Failure Threshold feature. Otherwise plan on experiencing random reboots that will occur from it during normal use. Instead, use rules as suggested by TD-er.

- Thomas
by ThomasB
11 Nov 2020, 21:42
Forum: ESP Easy: Software
Topic: PUYA firmware reboots ofren
Replies: 6
Views: 5491

Re: PUYA firmware reboots ofren

You're using old firmware, so my go-to advice is to upgrade to the latest Mega release. Unfortunately this solution requires that you compile the firmware yourself. The ESP-01's 1MB flash is the main reason for this. If you had a 4MB Flash then I would suggest trying the latest [Testing] bin. If you...
by ThomasB
09 Nov 2020, 17:28
Forum: ESP Easy: Software
Topic: inputswitch state is deprecated - Why? [SOLVED]
Replies: 8
Views: 6186

Re: inputswitch state is deprecated - Why? [SOLVED]

How can that MQTT message trigger the RelayOn/Off event? How does OpenHAB do it? My OH2 ".items" file defines the MQTT send/receive actions. For example, here is one that controls AC power (RelayOn and RelayOff) on my 3D printer's ESPEasy node: Switch daVinci_AC "daVinci Relay AC&quo...
by ThomasB
08 Nov 2020, 18:14
Forum: ESP Easy: General Discussion
Topic: Pulse Counter, does not reset to zero - help
Replies: 10
Views: 7263

Re: Pulse Counter, does not reset to zero - help

The log shows inf but the devices displays 0, neither can be used in a formula for some reason The infinite ("inf") value might be due to a divide-by-zero error. Your Watts formula could be causing this. For example, when %value% = 0 there is a divide-by-zero condition. Reference your for...
by ThomasB
08 Nov 2020, 03:58
Forum: ESP Easy: General Discussion
Topic: Widget suggestion
Replies: 4
Views: 5479

Re: Widget suggestion

Have you tried out ESPEasy's built-in dashboard? Using a recent Mega release, browse this URL: http://DEVICE_IP/dashboard.esp You can also create your own custom HTML page and save it to the SPIFF file system. For example, I use ESPEasy to access my 3D printer. I wrote some html that exposes the dat...
by ThomasB
08 Nov 2020, 03:23
Forum: ESP Easy: Software
Topic: sendTo UDP reliability
Replies: 3
Views: 4656

Re: sendTo UDP reliability

You didn't say which ESPEasy version you're running. That's usually an important thing to know. - unit 0 in the network is the master, and {snip} I believe unit 0 (and 255 ) numbering should be avoided. Anything in between those values is OK. I found with ESPEasy builds post 2018 wifi got more unsta...
by ThomasB
08 Nov 2020, 00:25
Forum: ESP Easy: General Discussion
Topic: Pulse Counter, does not reset to zero - help
Replies: 10
Views: 7263

Re: Pulse Counter, does not reset to zero - help

There's a command to clear a pulse counter task. Syntax is as follows: resetpulsecounter ,taskindex Here is an untested rule file example that should clear either wattage counter if it hasn't changed value in 30 seconds: On House-Power#Watts do // New watts count, prolong timeount. timerSet,1,30 end...
by ThomasB
07 Nov 2020, 21:24
Forum: Introduce yourself
Topic: Hello. I Need Help with my Subscribe Notifications
Replies: 4
Views: 3073

Re: Hello. I Need Help with my Subscribe Notifications

Thank you for the warm welcome. I plan to enroll in a 12-step recovery program to help tame my ESPEasy addiction issues.

Fingers are crossed that my email notification problem is an easy fix.

- Thomas
by ThomasB
07 Nov 2020, 19:54
Forum: ESP Easy: Software
Topic: reset network settings.
Replies: 5
Views: 5114

Re: reset network serttings.

saved by rules, it turns into AP for configuration, correct? Correct. Basically you are entering dummy values. This ensures that the old local WiFi router is unreachable. So during reboot the WiFi STA connect fails and ESPEasy enables AP mode. BTW, even if you skip resetting these WiFi settings, wh...
by ThomasB
07 Nov 2020, 19:26
Forum: Introduce yourself
Topic: Hello. I Need Help with my Subscribe Notifications
Replies: 4
Views: 3073

Hello. I Need Help with my Subscribe Notifications

Hello, My name is Thomas and I live in the USA. Sorry for the late intro since I'm not a new user. But I have a new problem with the forum. Since late October (approx Oct-26-2020) I stopped receiving email notifications to my forum subscriptions. The "Notifications" alert within the forum ...
by ThomasB
07 Nov 2020, 18:17
Forum: ESP Easy: Software
Topic: 2 different states on the same GPIO
Replies: 8
Views: 5129

Re: 2 different states on the same GPIO

is't possible to send, fron Node-red on RPI4 to the NodeMCU with ESP-Easy Mega a command to read the state of the GPIO13 (switch) at that time and get the answer ? I suggest adding a custom event rule like this one: on GetDoorState do Publish %sysname%/Garage/Etat,[Garage#Etat] endon This rule can ...
by ThomasB
06 Nov 2020, 23:24
Forum: ESP Easy: Software
Topic: 2 different states on the same GPIO
Replies: 8
Views: 5129

Re: 2 different states on the same GPIO

I suggest deleting the SW2 (task #2) and perform its 60 second send interval using rules (as mentioned by TD-er). Here is a Rule example to perform a periodic (60 sec timer interval) Garage Door update: on System#Boot do timerSet,1,60 endon on Rules#Timer=1 do timerSet,1,60 Publish %sysname%/Garage/...
by ThomasB
04 Nov 2020, 19:08
Forum: ESP Easy: Software
Topic: inputswitch state is deprecated - Why? [SOLVED]
Replies: 8
Views: 6186

Re: inputswitch state is deprecated - Why?

Maybe you can give me a quick example of how to do that with Events. That would be helpful. The general idea is to stop using the "Switch input - Switch" as an GPIO output device, which is what your relay task is doing. This was a convenient thing to do in ESPEasy, but is now forbidden. I...
by ThomasB
04 Nov 2020, 00:02
Forum: ESP Easy: General Discussion
Topic: IR Receiver data transformation to IR Sender
Replies: 5
Views: 5759

Re: IR Receiver data transformation to IR Sender

@asuz: Good to know you found what you needed. BTW, the log message you show is for IR SEND's data, whereas you were asking about converting the data from IR RECV.

@TD-er: Oh, new feature. Appears to be hot and fresh out of the oven. Thanks for adding it (and for documenting it too).

- Thomas
by ThomasB
03 Nov 2020, 22:43
Forum: ESP Easy: General Discussion
Topic: IR Receiver data transformation to IR Sender
Replies: 5
Views: 5759

Re: IR Receiver data transformation to IR Sender

so how can i transform that value to the hex data to send it with my nodemcu's ir transmitter? ESPeasy has a string transform function (strtol). But it converts any base value to decimal, not the other way around. I suggest using an online decimal-to-hex convertor to determine the equivalent hex va...
by ThomasB
03 Nov 2020, 20:44
Forum: ESP Easy: Hardware
Topic: ESP8266 question with DHT22 power Supply
Replies: 5
Views: 6926

Re: ESP8266 question with DHT22 power Supply

In addition to the other comments, I've heard reports of users experiencing your DHT22 latch-up (non-response) problem. For example, see this discussion: https://forum.arduino.cc/index.php?topic=432544.0 That discussion mentions that measurements faster than two second intervals might invite the pro...
by ThomasB
03 Nov 2020, 18:59
Forum: ESP Easy: Hardware
Topic: capteur ds12b20
Replies: 6
Views: 6942

Re: capteur ds12b20

Could someone tell me what kind of signal I should see on the gpio The one-wire communication will occur only during a device measurement (example: when a read is requested). So seeing the brief data transmission is best done with a digital o-scope or logic analyzer. I even tried to put the signal ...
by ThomasB
03 Nov 2020, 17:34
Forum: ESP Easy: Software
Topic: inputswitch state is deprecated - Why? [SOLVED]
Replies: 8
Views: 6186

Re: inputswitch state is deprecated - Why?

Along with other changes to the P001 plugin, InputSwitchStates was removed in the 2020-11-02 release. Perhaps your rules could be rewritten to use events to control the relay. Otherwise the best place to ask on a recommended workaround is in the github issue #2778 that removed that function. See: ht...
by ThomasB
29 Oct 2020, 15:40
Forum: ESP Easy: General Discussion
Topic: Wake on Lan?
Replies: 34
Views: 13781

Re: Wake on Lan?

Congrats on getting WOL to work with your Fritzbox. Thank you for taking the time to test the ESPEasy WOL plugin. Official Release: The plugin is available in the repository. I expect it will be included in the next ESPEasy Mega firmware (bin files) release. Beta Testers: Due to the plugin's renumbe...
by ThomasB
29 Oct 2020, 02:56
Forum: ESP Easy: General Discussion
Topic: problem monitoring Dalas temp sensor
Replies: 11
Views: 6745

Re: problem monitoring Dalas temp sensor

Yup, some TLC might be needed. I also found that the Plugin_004_DS_write_bit() does not follow the DS18B20 datasheet when it writes a logic high bit. The datasheet says that the bus should use the resistor pullup for logic high states. But the write_bit function is **driving** the high state using d...
by ThomasB
28 Oct 2020, 22:43
Forum: ESP Easy: General Discussion
Topic: problem monitoring Dalas temp sensor
Replies: 11
Views: 6745

Re: problem monitoring Dalas temp sensor

Maybe there is more to the story behind the Dallas NAN values. The finger is usually pointed to sketchy (non-genuine) DS18B20 chips from China. But maybe it's not always the chips' fault? For example, I noticed in the P004 and P080 Dallas Plugins that the ESP8266's interrupts remain enabled. I expec...
by ThomasB
28 Oct 2020, 02:29
Forum: ESP Easy: General Discussion
Topic: Build custom ESP8685_1M with C005, P001, P033 ... with vscode & platformio
Replies: 3
Views: 5649

Re: Build custom ESP8685_1M with C005, P001, P033 ... with vscode & platformio

Does this sound about right to only build with the controllers & plug-ins I want?
Yes, your general workflow sounds legit.

BTW, "USES_P026" is needed to add the System Info plugin.

- Thomas
by ThomasB
25 Oct 2020, 17:41
Forum: ESP Easy: Hardware
Topic: Sonoff Basic Reboot/Wifi Problems
Replies: 13
Views: 8934

Re: Sonoff Basic Reboot/Wifi Problems

I used this Sonoff Basic R2 and looked on the chip which is a ESP8266EX. The Sonoff Basic R2 with ESP8266 chip hardware configuration has experienced connection problems when some releases of EPSEasy are used. So far the only reliable solution is to avoid using this Sonoff module with the ESPEasy M...
by ThomasB
25 Oct 2020, 17:18
Forum: ESP Easy: Hardware
Topic: What type of device do I need?
Replies: 14
Views: 8876

Re: What type of device do I need?

When the ESP is restarted, for some reason, a sensor trigger signal occurs.
I suggest using a much longer debounce time.

- Thomas
by ThomasB
24 Oct 2020, 17:55
Forum: ESP Easy: General Discussion
Topic: Wake on Lan?
Replies: 34
Views: 13781

Re: Wake on Lan?

PC Win10 connected to Fritzbox by Wlan That might be the problem. The Fritzbox instruction manual states that the WOL device must be connected to a LAN port. General Info: If the chosen WOL IP address is already in-use some routers will not broadcast the WOL magic packet. You may need to use a diff...
by ThomasB
19 Oct 2020, 01:11
Forum: ESP Easy: General Discussion
Topic: Best choice for 6 GPIO connection
Replies: 11
Views: 6412

Re: Best choice for 6 GPIO connection

Another option to reduce GPIO:
Serial MCU controlled relay, viewtopic.php?f=6&t=3245

- Thomas
by ThomasB
19 Oct 2020, 00:32
Forum: ESP Easy: General Discussion
Topic: Wake on Lan?
Replies: 34
Views: 13781

Re: Wake on Lan?

Thomas, you can use Plugin ID 101.
Thanks, I'll use 101.

Edit: See PR #3328, https://github.com/letscontrolit/ESPEasy/pull/3328

- Thomas
by ThomasB
18 Oct 2020, 19:39
Forum: ESP Easy: General Discussion
Topic: Wake on Lan?
Replies: 34
Views: 13781

Re: Wake on Lan?

Since it cannot be known if the server is already awake, it would be useful to have sendToHttp with acknowledge and a configurable timeout.
You could use the ping plugin. It is available in the test builds if you want to experiment with it.

- Thomas
by ThomasB
18 Oct 2020, 02:16
Forum: ESP Easy: General Discussion
Topic: Wake on Lan?
Replies: 34
Views: 13781

Re: Wake on Lan?

@wiredcharlie, You're welcome. Thank you for trying it out. @Wiki, I'm looking forward to your feedback. @TD-er, After I prepare the readthedocs rst file I'll submit a PR for the new plugin. I temporarily assigned it P248. For the official PR, what plugin number would you prefer I use? BTW, the plug...
by ThomasB
18 Oct 2020, 00:34
Forum: ESP Easy: Hardware
Topic: looking for flashable PIR sensor
Replies: 3
Views: 7137

Re: looking for flashable PIR sensor

If you don't mind soldering three wires then consider adding a PIR module to a ESPEasy compatible device:
https://www.letscontrolit.com/wiki/index.php/PIR_Sensor

- Thomas