Search found 509 matches

by ThomasB
19 Jan 2020, 19:16
Forum: ESP Easy: Software
Topic: LCD no capital letters and no spaces
Replies: 2
Views: 41

Re: LCD no capital letters and no spaces

Both of your issues are discussed here:
viewtopic.php?f=4&t=7308&p=41463

TL;DR: Must wrap parameters in quotes. LCD capitalization bug fixed in PR.

- Thomas
by ThomasB
19 Jan 2020, 00:01
Forum: ESP Easy: Software
Topic: value with the date and time.
Replies: 5
Views: 85

Re: value with the date and time.

Maybe the space between date and time is being interpreted as a parsing character. So try wrapping the var parameter with single quotes. Like this:

Code: Select all

Publish %sysname%/Zeitstempel,'%lcltime_am%'
- Thomas
by ThomasB
18 Jan 2020, 20:07
Forum: ESP Easy: Hardware
Topic: Sht35 seems reads temperature too high.
Replies: 2
Views: 61

Re: Sht35 seems reads temperature too high.

You don't provide any detail about your installation. But if I had to guess, I suspect the needed fix will be similar to this DS18B20 solution:
viewtopic.php?f=5&t=7197&p=40761

- Thomas
by ThomasB
18 Jan 2020, 02:47
Forum: ESP Easy: Hardware
Topic: [SOLVED] 4 capacitive moisture sensor with a PCF8591
Replies: 4
Views: 189

Re: [SOLVED] 4 capacitive moisture sensor with a PCF8591

Thanks for reporting you resolved the problem.

- Thomas
by ThomasB
18 Jan 2020, 00:26
Forum: ESP Easy: Software
Topic: Espeasy mega Generic - Pulse counter change value
Replies: 2
Views: 156

Re: Espeasy mega Generic - Pulse counter change value

Not directly. But you can create a rule that copies the counter value to a dummy var whenever the counter gets a new count. Then another rule can be used to decrement the dummy var whenever you press the button. You can then publish the dummy var or use it in other rules to control events.

- Thomas
by ThomasB
18 Jan 2020, 00:19
Forum: ESP Easy: Hardware
Topic: ADS1115 recognized as PCF8591
Replies: 2
Views: 1211

Re: ADS1115 recognized as PCF8591

however in the i2c scan the board shows up as PCF8591. In 2016 that might have been what the i2c scanner reported. But ESPEasy's i2c scanner was updated and now reports both PCF8591 & ADS1115. {Because they share the same i2c address range} if I use ADS1115 as device I get using a soil moisture sen...
by ThomasB
18 Jan 2020, 00:03
Forum: ESP Easy: General Discussion
Topic: trigger event on dummy device possible?
Replies: 2
Views: 121

Re: trigger event on dummy device possible?

To trigger a dummy device event you should execute a TaskRun after the TaskValueSet. See this:
viewtopic.php?t=5092

- Thomas
by ThomasB
17 Jan 2020, 17:46
Forum: ESP Easy: Hardware
Topic: [SOLVED] 4 capacitive moisture sensor with a PCF8591
Replies: 4
Views: 189

Re: 4 capacitice moisture sensor with a PCF8591

No experience with your boards, but did observe that you will need to remove the three jumpers on the PCF8591. Have you done that? Also, when using the PCF8591, are the output voltages of the moisture sensors the same as when directly connected to A0)? That is to say, are the sensors' output voltage...
by ThomasB
14 Jan 2020, 18:26
Forum: ESP Easy: General Discussion
Topic: Rules HTTP call
Replies: 6
Views: 292

Re: Rules HTTP call

Can you explain why to add ' at the begin and end? what is the reason?
Some useful info is found here:
https://github.com/letscontrolit/ESPEasy/issues/2724

- Thomas
by ThomasB
13 Jan 2020, 23:08
Forum: ESP Easy: Projects / Applications
Topic: Sensor for blinking LED of washing machine
Replies: 6
Views: 609

Re: Sensor for blinking LED of washing machine

You are welcome; It's great to hear you resolved the counter problem.

- Thomas
by ThomasB
13 Jan 2020, 02:34
Forum: ESP Easy: Hardware
Topic: Sonoff T0EU2C support
Replies: 5
Views: 332

Re: Sonoff T0EU2C support

That does not sound good. It appears that the ESPEasy code is not running. But if the CPU is alive, the ESP8xx boot ROM should log some messages while booting (for early stage crash debugging). These messages are at 74880 baud (versus ESPEasy's 115.2K baud). Some details: https://github.com/espressi...
by ThomasB
12 Jan 2020, 20:21
Forum: ESP Easy: Hardware
Topic: Sonoff T0EU2C support
Replies: 5
Views: 332

Re: Sonoff T0EU2C support

Doesn't appear that anyone on this forum has discussed this module. So maybe you are the first to try it out on ESPEasy. TD-er's idea to sniff the serial log is the best place to start debugging. BTW, if the Sonoff is being powered by the USB connection then maybe that does not provide enough curren...
by ThomasB
08 Jan 2020, 04:32
Forum: ESP Easy: Software
Topic: Dummy button problem with execute
Replies: 1
Views: 355

Re: Dummy button problem with execute

To immediately trigger the Dummy#State rule you should execute a TaskRun after the TaskValueSet. See this:
viewtopic.php?t=5092

- Thomas
by ThomasB
06 Jan 2020, 17:19
Forum: ESP Easy: Projects / Applications
Topic: Sensor for blinking LED of washing machine
Replies: 6
Views: 609

Re: Sensor for blinking LED of washing machine

Hard to say why the counter is not working (would need exact details about your circuit and ESPEasy setup). But keep in mind that the counter plugin enables the Internal PullUp resistor, which would affect the bias on your photo sensor circuit. I will assume that your Switch input and Generic Counte...
by ThomasB
04 Jan 2020, 21:57
Forum: ESP Easy: Projects / Applications
Topic: Sensor for blinking LED of washing machine
Replies: 6
Views: 609

Re: Sensor for blinking LED of washing machine

Is there a possibility to set the reading interval for the I2C Interface for example to 2.5 sec (or any other delay of some 100s of milliseconds) so it would read the LED off phase as well sometime? Unfortunately the timer rule resolution is one sec. Hopefully someone has a workaround on how to per...
by ThomasB
04 Jan 2020, 19:35
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 482
Views: 129249

Re: Nextion display plugin

I use ESPEasy rules for touch buttons that MQTT to OpenHAB. Some Nextion buttons send a single var (idx). Others have two (idx and value). My rule set is like this: on NEXTION#idx do if [NEXTION#idx]>=10 and [NEXTION#idx]<=30 // Touch events for various Washer & Dryer controls Publish %sysname%/NEXT...
by ThomasB
28 Dec 2019, 00:52
Forum: ESP Easy: Software
Topic: obscure problem with sendtohtttp (and thingspeak)
Replies: 58
Views: 2967

Re: obscure problem with sendtohtttp (and thingspeak)

Well, at least you didn't pull it out, out of frustration. I've been resisting the temptation to do that. I abandoned further testing on PR2825. It locks up every few hours (requires a manual reboot). Rather than pull out my new gray hairs, I've reverted to an earlier release. BTW, yesterday I rein...
by ThomasB
26 Dec 2019, 02:16
Forum: ESP Easy: Software
Topic: obscure problem with sendtohtttp (and thingspeak)
Replies: 58
Views: 2967

Re: obscure problem with sendtohtttp (and thingspeak)

OK, so I did break the static IP in a recent build. Ahhhg. I just visited the github issue tracker and see that boot loop due to fixed/static IP was reported over a week ago. https://github.com/letscontrolit/ESPEasy/issues/2821 Wish I'd known that, could have prevented this new patch of gray hair. ...
by ThomasB
26 Dec 2019, 00:49
Forum: ESP Easy: Software
Topic: obscure problem with sendtohtttp (and thingspeak)
Replies: 58
Views: 2967

Re: obscure problem with sendtohtttp (and thingspeak)

Can you also test a "normal" build, just to see if that one also boot loops? I already tried ESP_Easy_mega-20191208-19-PR_2825_normal_ESP8266_4M1M (per my earlier post) with zero joy. But per your request I tried again, but this time I sanitized the flash with the blank_4MB.bin. Then loaded ESP_Eas...
by ThomasB
25 Dec 2019, 03:58
Forum: ESP Easy: Software
Topic: obscure problem with sendtohtttp (and thingspeak)
Replies: 58
Views: 2967

Re: obscure problem with sendtohtttp (and thingspeak)

It seems I'm the only user that is experiencing the boot loop issue with PR2825. So more troubleshooting as summarized below. I bit the bullet and performed Tools=>FactoryReset while running ESP_Easy_mega-20191208_test_ESP8266_4M1M. AP Mode was used to setup the WiFi credentials and fixed IP. But be...
by ThomasB
24 Dec 2019, 19:23
Forum: ESP Easy: Software
Topic: Ruls do not show the state of GPIOs under divices
Replies: 10
Views: 954

Re: Ruls do not show the state of GPIOs under divices

I switch the GPIOs over: http://192.168.178.161/control?cmd=GPIO,14,1 The state are correctly reported on the MQTT and displayed on LCD display. Setting GPIO14 to logic high is not the same thing as briefly pulsing it (per your event rule). This may explain the difference you see. I cannot send htt...
by ThomasB
23 Dec 2019, 16:52
Forum: ESP Easy: General Discussion
Topic: Beginner problems
Replies: 8
Views: 1127

Re: Beginner problems

That's very good news. Thanks for reporting you resolved the problem.

- Thomas
by ThomasB
22 Dec 2019, 22:37
Forum: ESP Easy: General Discussion
Topic: Beginner problems
Replies: 8
Views: 1127

Re: Beginner problems

The countdown runs down to 0 and then after few second an error message appears "sorry the page cannot be shown" and that's it. Upon poweroff/poweron the WIFI ESP_Easy_0 does not show up anymore. Sounds like you're nearly done. That is to say, it appears STA mode has been successfully enabled. The ...
by ThomasB
22 Dec 2019, 19:46
Forum: ESP Easy: General Discussion
Topic: BME280 humidity bug
Replies: 8
Views: 1062

Re: BME280 humidity bug

Now I have set a temperature correction (as is normal) but this *should not* alter the pressure and humidity as that is based on internal die measurements, not the temperature measurement reported (see BOSCH forum). I don't have a solution for the humidity problem you are experiencing, but I can of...
by ThomasB
22 Dec 2019, 07:24
Forum: ESP Easy: Software
Topic: Sensors reporting too frequently
Replies: 10
Views: 1075

Re: Sensors reporting too frequently

My apologies, that's truly a surprise. I didn't realize that the switch plugin was the only one capable of doing it. But now I know!

- Thomas
by ThomasB
22 Dec 2019, 02:49
Forum: ESP Easy: Software
Topic: Sensors reporting too frequently
Replies: 10
Views: 1075

Re: Sensors reporting too frequently

A task is meant to output a value every [interval] number of seconds. {snip} If for some reason a plugin does send out more often, then it is very likely a bug ... Hmm, either I'm confused (very possible) or the plugin's on-change controller behavior was revised and I never noticed. So you have my ...
by ThomasB
21 Dec 2019, 20:38
Forum: ESP Easy: Software
Topic: Sensors reporting too frequently
Replies: 10
Views: 1075

Re: Sensors reporting too frequently

Are sensors supposed to send only when I tell them (every 300s), or whenever the value changes? Do I have something mis-configured? On typical devices both of these things will trigger sending data when you use the plugins "Send to Controller" feature. To prevent sending data when the value changes...
by ThomasB
21 Dec 2019, 00:52
Forum: ESP Easy: Software
Topic: obscure problem with sendtohtttp (and thingspeak)
Replies: 58
Views: 2967

Re: obscure problem with sendtohtttp (and thingspeak)

Well, I have not used the bin from that zip, but flashed right from the IDE That seemed like a good thing to try. So I self-compiled PR_2825 using test_ESP8266_4M1M build configuration. Flashed it directly from PIO's IDE. The dreaded boot loop still occurs. I disabled the Nextion plugin so I could ...
by ThomasB
20 Dec 2019, 19:42
Forum: ESP Easy: Projects / Applications
Topic: Warning: Other potential dangerous situations...
Replies: 3
Views: 8911

Re: Warning: Other potential dangerous situations...

Three years later: I suggest this old discussion be removed from the pinned topics.
by ThomasB
20 Dec 2019, 19:39
Forum: ESP Easy: Hardware
Topic: WARNING: Potential ESP brick issue with deepsleep!!
Replies: 41
Views: 26363

Re: WARNING: Potential ESP brick issue with deepsleep!!

Two years later: It appears this is an old problem that has been solved. I suggest it be removed from the pinned topics.
by ThomasB
20 Dec 2019, 17:32
Forum: ESP Easy: Software
Topic: obscure problem with sendtohtttp (and thingspeak)
Replies: 58
Views: 2967

Re: obscure problem with sendtohtttp (and thingspeak)

I've done more evaluation to sniff out the problem. I tried with the MQTT controller disabled and with it removed/deleted. In all cases the OTA flash ends with the boot loop. Perhaps my bad results are related to the firmware bin and enabled plugins. Here's a short summary: * Firmware bin: ESP_Easy_...
by ThomasB
19 Dec 2019, 23:28
Forum: ESP Easy: Software
Topic: Warning during compilation
Replies: 9
Views: 1691

Re: Warning during compilation

Thanks for the info. I suspect this warning will go away after my installation receives the official (non-beta) VSCode/PIO updates.
- Thomas
by ThomasB
19 Dec 2019, 23:01
Forum: ESP Easy: Software
Topic: Warning during compilation
Replies: 9
Views: 1691

Re: Warning during compilation

You seem to have the golden touch. I reverted platformio.ino and built normal_ESP8266_4M1M. The warning appears.

- Thomas
by ThomasB
19 Dec 2019, 22:45
Forum: ESP Easy: Software
Topic: obscure problem with sendtohtttp (and thingspeak)
Replies: 58
Views: 2967

Re: obscure problem with sendtohtttp (and thingspeak)

I just installed the 2825 PR (via OTA) and now my NodeMCU won't boot. That's all I know at the moment, I'll dig deeper into it later today. Proceed with caution. EDIT: Boot loop problem. Snippet from the serial log: INIT : Booting version: (ESP82xx Core 2_6_2, NONOS SDK 2.2.2-dev(38a443e), LWIP: 2.1...
by ThomasB
19 Dec 2019, 22:36
Forum: ESP Easy: Software
Topic: IS it possible to send a Text Message from a Rule to a Domoticz Virtual Sensor
Replies: 6
Views: 934

Re: IS it possible to send a Text Message from a Rule to a Domoticz Virtual Sensor

Maybe that's not a standard service for all providers? Maybe. But here in the USA it is offered by all the major carriers. Each provider offers a SMS email address. Here's an example on how to do it: https://20somethingfinance.com/how-to-send-text-messages-sms-via-email-for-free/ The cell phone pro...
by ThomasB
19 Dec 2019, 22:10
Forum: ESP Easy: Software
Topic: IS it possible to send a Text Message from a Rule to a Domoticz Virtual Sensor
Replies: 6
Views: 934

Re: IS it possible to send a Text Message from a Rule to a Domoticz Virtual Sensor

I'm not a domoticz user, but I have sent SMS texts using ESPEasy's Notification function. It was intended for generic email messaging, but works well for SMS too. Just send the text to the email address assigned to your SMS cell phone number.

- Thomas
by ThomasB
19 Dec 2019, 22:05
Forum: ESP Easy: Software
Topic: Warning during compilation
Replies: 9
Views: 1691

Re: Warning during compilation

What PIO and Python version do you use?
PIO V1.10.1. (Home 3.0.1, Core 4.1.0.)
VS Code 1.41.1
Python 3.7.4 (tags/v3.7.4:e09359112e, Jul 8 2019, 20:34:20) [MSC v.1916 64 bit (AMD64)] on win32

As far as I know these are the latest versions.

- Thomas
by ThomasB
19 Dec 2019, 20:14
Forum: ESP Easy: Software
Topic: Warning during compilation
Replies: 9
Views: 1691

Re: Warning during compilation

Just to add my name to the list, I'm getting the compile warning as follows (Release mega-20191208): warning: Calling missing SConscript without error is deprecated. Transition by adding must_exist=0 to SConscript calls. Missing SConscript 'pre_default_check.py' File "C:\users\tom\.platformio\penv\l...
by ThomasB
19 Dec 2019, 19:53
Forum: ESP Easy: Software
Topic: Simple 1-CH relay with ESP8266 bought on Ali + eWelink?
Replies: 8
Views: 1053

Re: Simple 1-CH relay with ESP8266 bought on Ali + eWelink?

... what other option (apps) do I have, using ESP Easy, to control this relay remotely? And I'm talking about controlling that relay even outside my home network, e.g. via 3G/4G? Currently ESPEasy does not offer secure access for controlling outside your local network. So if you're interested in us...
by ThomasB
19 Dec 2019, 19:06
Forum: ESP Easy: General Discussion
Topic: change rules after mega-20191130 ?
Replies: 7
Views: 1102

Re: change rules after mega-20191130 ?

The bug is due to the introduction of parseString() in the LCD plugins (P036_FRAMEOLED & P012_LCD) a couple weeks ago. This function does a toLowerCase() on the arg strings.
- Thomas
by ThomasB
19 Dec 2019, 17:59
Forum: ESP Easy: Software
Topic: obscure problem with sendtohtttp (and thingspeak)
Replies: 58
Views: 2967

Re: obscure problem with sendtohtttp (and thingspeak)

I just talked to TD-er, he will make this patch official later today or tomorrow.
@grovkillen & @TD-er: Thank you both for your ongoing development work and helping out with this issue. Merry Christmas!

- Thomas
by ThomasB
19 Dec 2019, 01:40
Forum: ESP Easy: Software
Topic: obscure problem with sendtohtttp (and thingspeak)
Replies: 58
Views: 2967

Re: obscure problem with sendtohtttp (and thingspeak)

Good news, I got it working. The basic patch affects one file, Controller.ino. The LWTTopic & LWTMessageDisconnect strings must be NULL. Also cleanSession must be updated as discussed earlier. See below: boolean cleanSession = true; MQTTresult = MQTTclient.connect(clientid.c_str(), SecuritySettings....
by ThomasB
19 Dec 2019, 00:17
Forum: ESP Easy: Software
Topic: obscure problem with sendtohtttp (and thingspeak)
Replies: 58
Views: 2967

Re: obscure problem with sendtohtttp (and thingspeak)

I'm currently not setup to compile, so I'm hoping for someone to build a [Testing] bin for me to try. Reply to self: I was able to get Platformio to behave, so I have the ability to compile ESPEasy again. nice that you find a clue. I was hoping that the solution would be as easy as setting the clea...
by ThomasB
18 Dec 2019, 18:25
Forum: ESP Easy: Software
Topic: obscure problem with sendtohtttp (and thingspeak)
Replies: 58
Views: 2967

Re: obscure problem with sendtohtttp (and thingspeak)

I'm not ready to give up on the fight. So more investigation today. Maybe tingspeak's MQTT controller does have some kind of redirect and does seem to change IP address based on locality? I suspected issues with the domain/DNS too. So I also tested using the thingspeak MQTT broker's IP address rathe...
by ThomasB
18 Dec 2019, 03:19
Forum: ESP Easy: Software
Topic: New Input Box on Rules Page?
Replies: 3
Views: 937

Re: New Input Box on Rules Page?

@grovkillen, Thanks for the info on the mystery box.
- Thomas
by ThomasB
18 Dec 2019, 01:36
Forum: ESP Easy: Software
Topic: obscure problem with sendtohtttp (and thingspeak)
Replies: 58
Views: 2967

Re: obscure problem with sendtohtttp (and thingspeak)

To get a better understanding of the issue, I setup thingspeak on the OpenHAB MQTT controller. After three hours of poking around I had to abandon the investigation (ran out of free time). I tested on the latest Mega PR (mega-20191208). I confirmed that the MQTT client does not successfully connect ...
by ThomasB
17 Dec 2019, 20:22
Forum: ESP Easy: Software
Topic: New Input Box on Rules Page?
Replies: 3
Views: 937

New Input Box on Rules Page?

I noticed a new feature on the latest Mega PR (mega-20191208). It's a Input entry box at the bottom of the Rules Editor page. See red arrow in the photo below: esp_mystery.jpg The entry defaults to zero. But when the rule page is submitted it briefly flashes a numerical value that is slightly smalle...
by ThomasB
17 Dec 2019, 18:34
Forum: ESP Easy: Software
Topic: Help needed with Rules (solved)
Replies: 8
Views: 1230

Re: Help needed with Rules

Thank you Thomas. Your workaround works after reboot. This is very good, because ofter reboot the outside Light will be on or off in regards to Daytime or Nighttime. Thanks for the feedback. Since Domotic's time compare logic is working you should also use it in the Time#initialized rule instead of...
by ThomasB
17 Dec 2019, 17:42
Forum: ESP Easy: Software
Topic: obscure problem with sendtohtttp (and thingspeak)
Replies: 58
Views: 2967

Re: obscure problem with sendtohtttp (and thingspeak)

I send the following message with Rules to MQTT, using the ESP (openHAB) MQTT controller to set the server, user and password. Do you mean you are using the OpenHAB MQTT Controller and Publish rules to speak to Thingspeak? I didn't know that was supported, so learned something new here. Be sure to ...
by ThomasB
17 Dec 2019, 16:51
Forum: ESP Easy: General Discussion
Topic: On Clock#Time rule trigger ?
Replies: 2
Views: 933

Re: On Clock#Time rule trigger ?

And be sure that you have entered accurate Lat & Long coordinates in Tools=>Advanced (Location Settings section). Confirm the settings are correct by going to Tools=>System Variables and sanity check the %sunrise% value.

- Thomas