Search found 792 matches

by ThomasB
20 Jun 2021, 04:29
Forum: ESP Easy: Software
Topic: Display Off via rule
Replies: 2
Views: 125

Re: Display Off via rule

Display should be off during 19:00 and 8:00 from Monday to Friday, and completely in the weekend. Where is the mistake? Do I need another trigger? I'm a bit unsure what you want (OLED off during daytime or off during night time). From your code I think you want the display only on during the daytim...
by ThomasB
18 Jun 2021, 23:20
Forum: ESP Easy: Software
Topic: Wifi connects but no web UI?
Replies: 8
Views: 237

Re: Wifi connects but no web UI?

If your device is a Sonoff Basic R2 with V1 hardware then be aware that particular module is an ESPEasy WiFi troublemaker. No promises but recent firmware with _alt_wifi_ in the name may help out.

- Thomas
by ThomasB
17 Jun 2021, 03:22
Forum: ESP Easy: General Discussion
Topic: Resolved - HiveMQ - What should the settings be?
Replies: 5
Views: 202

Re: HiveMQ - What should the settings be?

Check Reply: Ignore Acknowledgement
FWIW, some services need to have controller settings set to "Check Reply: Check Acknowledgement."
This might not pertain to HiveMQ, but worth trying it out.

Note: I don't use HiveMQ so I can't test it out.

- Thomas
by ThomasB
14 Jun 2021, 20:25
Forum: ESP Easy: General Discussion
Topic: email - Error connecting... - Please help
Replies: 7
Views: 360

Re: email - Error connecting... - Please help

Try one of your non-gmail account addresses in Notification's Sender field. Beyond that I'm out of suggestions. So hopefully another user or a dev stops by to lend a hand. I don't use smtp2go. I have reliable ESPEasy notifications using a paid ISP mail server. Nothing special in the setup other than...
by ThomasB
14 Jun 2021, 19:08
Forum: ESP Easy: General Discussion
Topic: email - Error connecting... - Please help
Replies: 7
Views: 360

Re: email - Error connecting... - Please help

The "Security options that worked is: Port 25 and 2525 work on - Auto, Tls and Tls when available - None and SSL fail. Port 465 Work on Auto, SSL, the rest fail Your testing revealed that your provider supports SSL/TLS on the noted ports. Unfortunately I don't believe those encryption protocol...
by ThomasB
14 Jun 2021, 03:57
Forum: ESP Easy: General Discussion
Topic: email - Error connecting... - Please help
Replies: 7
Views: 360

Re: email - Error connecting... - Please help

I have been trying to use the smtp notification with out any success. I created an smtp2go account, setup a user and have a password from smtp2go. smtp2go has caused issues for other ESPEasy users in the last few months. For example: https://www.letscontrolit.com/forum/viewtopic.php?t=8081 Port: 25...
by ThomasB
10 Jun 2021, 21:54
Forum: ESP Easy: Hardware
Topic: SI7021 on sonoff basic
Replies: 16
Views: 1302

Re: SI7021 on sonoff basic

Just as a reference, my Sonoff TH10 is using a AM2301 on GPIO-14 (plus a Switch Device on GPIO-0). The AM22301's temp/hum values updates at 5 sec intervals. Firmware ESP_Easy_mega-20200305_normal_ESP8266. In service for a year, No problems. I don't know the pullup resistor value used on the TH10's G...
by ThomasB
01 Jun 2021, 18:41
Forum: ESP Easy: Software
Topic: OLED screen off timer rule
Replies: 4
Views: 2705

Re: OLED screen off timer rule

Problem: The OLED screen will only stay on for 1 sec, but not for 30 seconds as coded below after motion detection. Your rules look legit. Perhaps you have a hidden unprintable character within your rules that is corrupting execution. Copy/past the entire rule file into an editor (e.g. notepad++) t...
by ThomasB
27 May 2021, 06:07
Forum: ESP Easy: Software
Topic: systime, again!
Replies: 2
Views: 621

Re: systime, again!

The rule condition you posted requires system time to have been retrieved (e.g. WiFi successfully connected to NTP). Also Tools->Advanced->Timezone Offset UTC must be correctly set. Otherwise %systime% value won't be valid. FWIW, In case there is a logic issue I suggest posting the entire rule page ...
by ThomasB
24 May 2021, 18:23
Forum: ESP Easy: Hardware
Topic: ESP8266 and photocell GL55.. not reading
Replies: 5
Views: 780

Re: ESP8266 and photocell GL55.. not reading

And it magically works !! Thank you very much again !! Fantastic news. No I just got to understand why ! The software with "_VCC" in the name is a special version that can be used to measure the device's operational voltage on a battery powered device. It ignores the voltage on the Analog...
by ThomasB
24 May 2021, 06:26
Forum: ESP Easy: Hardware
Topic: ESP8266 and photocell GL55.. not reading
Replies: 5
Views: 780

Re: ESP8266 and photocell GL55.. not reading

When I look at the web interface (configured as Analog Input : Internal), I got a steady value of 65535. Whatever I do, it's not moving. Check your ESPEasy firmware file; If it has "_VCC" in the bin's name then you are using the wrong one. I'm coming out of ideas, so if you have any infor...
by ThomasB
12 May 2021, 01:23
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 511
Views: 312957

Re: Nextion display plugin

Now i would like to push a button on the Nextion and set a new value in a Virtual Thermostat in Domoticz (idx and value) but i don't know how to do it, what is the command to send to esp ? The Nextion plugin has a "Send to Controller" option. If this option is selected the idx and value d...
by ThomasB
28 Apr 2021, 20:25
Forum: ESP Easy: Hardware
Topic: getting a piezo louder using 2 GPIOs?
Replies: 2
Views: 1370

Re: getting a piezo louder using 2 GPIOs?

FWIW, using two GPIOs out of phase would double the drive voltage. So this trick makes the Piezo louder. However, ESPEasy's PWM command does not allow you to specify the driven signal's phase. Here's a suggestion for a possible workaround (not tested): 1. Connect the Piezo with one GPIO pin and find...
by ThomasB
26 Apr 2021, 20:06
Forum: ESP Easy: Software
Topic: BME680 atitude problem in mega-20210223
Replies: 6
Views: 1468

Re: BME680 atitude problem in mega-20210223

From a quick review of the P106_BME680 plugin I saw that it ignores the altitude offset value. To fix this I suggest looking at the P006_BMP085 plugin's pressureElevation() function. It should provide inspiration on how to incorporate the altitude into the BME680's pressure value. - Thomas EDIT: Loo...
by ThomasB
16 Apr 2021, 19:48
Forum: ESP Easy: Software
Topic: I2C bus error - PN532
Replies: 2
Views: 1525

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

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: 511
Views: 312957

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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...