Search found 222 matches

by ThomasB
18 Apr 2019, 21:55
Forum: ESP Easy: Software
Topic: lcd 2004 Display - LCD2004 backlight off
Replies: 2
Views: 59

Re: lcd 2004 Display - LCD2004 backlight off

According to the wiki you can control the backlight in your rules. See LCDCMD,<value> description in the Commands Section at the bottom of https://www.letscontrolit.com/wiki/index.php/LCDDisplay

- Thomas
by ThomasB
14 Apr 2019, 07:45
Forum: ESP Easy: Software
Topic: Issue in Rules and sendtohttp
Replies: 8
Views: 144

Re: Issue in Rules and sendtohttp

Glad to hear you sorted it out. Mega isn't perfect, but has more functionality than the legacy R120 release.

- Thomas
by ThomasB
13 Apr 2019, 20:04
Forum: ESP Easy: Software
Topic: Issue in Rules and sendtohttp
Replies: 8
Views: 144

Re: Issue in Rules and sendtohttp

Tried Chrome, works fine. R120 is quite old and I don't have an installation with it anymore. Try a recent Mega release -- that should solve the problem.

- Thomas
by ThomasB
13 Apr 2019, 19:36
Forum: ESP Easy: Software
Topic: Issue in Rules and sendtohttp
Replies: 8
Views: 144

Re: Issue in Rules and sendtohttp

I entered your text on a couple different ESPEasy versions and did not experience the rule mangling that you see. I did not test the rule, I only confirmed that it could be successfully saved and remain intact. What ESPEasy release version are you using? What browser are you using? Perhaps one of th...
by ThomasB
12 Apr 2019, 21:14
Forum: ESP Easy: Projects / Applications
Topic: Trying to find a schematic
Replies: 5
Views: 146

Re: Trying to find a schematic

It's strange it did not show-up in your search.
Indeed. Glad to see that the mystery drawing was found.

- Thomas
by ThomasB
12 Apr 2019, 19:10
Forum: ESP Easy: Projects / Applications
Topic: Trying to find a schematic
Replies: 5
Views: 146

Re: Trying to find a schematic

I did an image dump of the forum (spanning Jan-2018 to Apr-2019) and could not find anything that matches your description. Here's a link so you can investigate: https://www.google.com/search?q=site:www.letscontrolit.com/forum/&safe=active&tbs=cdr:1,cd_min:1/1/2018,cd_max:4/12/2019&tbm=isch&tbas=0&s...
by ThomasB
11 Apr 2019, 21:54
Forum: ESP Easy: Software
Topic: Why does this rule stop working ?
Replies: 2
Views: 97

Re: Why does this rule stop working ?

Hmm. I don't believe a timer event is designed to be used in a conditional expression, as seen in this statement: if [Fermenter_Temp#Fermenter_Temperature]>18 and [Rules#Timer]=1 Instead, have the Timer set a variable. This variable will be used in your conditional rule to replace the "[Rules#Timer]...
by ThomasB
11 Apr 2019, 17:23
Forum: ESP Easy: Projects / Applications
Topic: Seria Server - Ser2Net wiki?
Replies: 13
Views: 570

Re: Seria Server - Ser2Net wiki?

I have no experience in using the Serial Server plugin. But I have a recommendation. In your rule, change the TaskValueSet line to this: TaskValueSet,2,1,[%eventvalue%] FWIW, my testing shows that without the brackets the %eventvalue% will result in a zero assignment. Which is odd because there's a ...
by ThomasB
11 Apr 2019, 03:15
Forum: ESP Easy: Software
Topic: Access Device Info via Raspberry Pi
Replies: 20
Views: 274

Re: Access Device Info via Raspberry Pi

You're welcome! Glad to hear that JSON is working for you.

- Thomas
by ThomasB
11 Apr 2019, 01:51
Forum: ESP Easy: General Discussion
Topic: Monitoring Battery/Accu
Replies: 1
Views: 121

Re: Monitoring Battery/Accu

Short Answer: Yes. Long Answer: Use the "Analog input - internal" Plugin. ADC input is on pin A0. You MUST use a voltage divider that scales your maximum external voltage so it does not exceed 1VDC: https://www.letscontrolit.com/wiki/index.php?title=DC_Voltage_divider https://www.microcontroller-pro...
by ThomasB
11 Apr 2019, 00:34
Forum: ESP Easy: Software
Topic: Access Device Info via Raspberry Pi
Replies: 20
Views: 274

Re: Access Device Info via Raspberry Pi

it continually shows the blank 4th value name, see attached pics.
That is normal, you can't hide unused System Info plugin values. I don't know why it was implemented that way, but the workaround is to ignore the unused values. If it helps, name it "Unused" as a reminder to ignore it.

- Thomas
by ThomasB
10 Apr 2019, 22:37
Forum: ESP Easy: Software
Topic: Access Device Info via Raspberry Pi
Replies: 20
Views: 274

Re: Access Device Info via Raspberry Pi

I only used 3 of the rows but it seemingly will not let me clear the text from the 4th row so as it is blank, is there a way to do this that I am missing? I tested this on a Sonoff (mega-20190409) and had no problem removing the 4th row value's name from "Generic - System Info" plugin device. Are y...
by ThomasB
10 Apr 2019, 21:56
Forum: ESP Easy: Software
Topic: Access Device Info via Raspberry Pi
Replies: 20
Views: 274

Re: Access Device Info via Raspberry Pi

I think that I may have been over complicating things & have thought of a far more simpler approach. It's a shame to ignore the power measurement features in your Sonoff. So rather than give up on JSON, maybe we can walk you through it. Your RPI will do all the heavy lifting; You just have to add s...
by ThomasB
08 Apr 2019, 01:50
Forum: ESP Easy: Hardware
Topic: Sonoff POW + Hardware Watchdog
Replies: 17
Views: 383

Re: Sonoff POW + Hardware Watchdog

That is unexpected. For a sanity test I just checked my mega-20180714 Sonoff and the user vars are restored on warm boot.

- Thomas
by ThomasB
08 Apr 2019, 01:46
Forum: ESP Easy: General Discussion
Topic: PWM dimming, delay, decreasing??
Replies: 10
Views: 319

Re: PWM dimming, delay, decreasing??

The switch plugin went through some changes a few weeks ago. There was some discussion on it doing too much. Then it was reverted after things broke. I'm surprised you see it working differently than before.
- Thomas
by ThomasB
07 Apr 2019, 19:23
Forum: ESP Easy: Hardware
Topic: Sonoff POW + Hardware Watchdog
Replies: 17
Views: 383

Re: Sonoff POW + Hardware Watchdog

That is interesting. I experience watchdog timeouts too (it's a persistent issue) and my user vars are retained on the reboot. As a rule/configuration validation test: (1) Perform a warm reboot using the Tools menu (click Tools=Reboot button). (2) Immediately after reboot, compare the user vars to t...
by ThomasB
06 Apr 2019, 17:52
Forum: ESP Easy: Hardware
Topic: Reboot cause: WEMOS D1 (clone) voltage regulator ??
Replies: 10
Views: 348

Re: Reboot cause: WEMOS D1 (clone) voltage regulator ??

Are NodeMCU's free of the reboot problem ? No, they randomly reboot. So do my Sonoffs. For reference, the Sonoffs don't reboot on ESPEasy R120. Where/how did you find that ? This document https://www.torexsemi.com/file/xc6205/XC6204-XC6205.pdf states in it's intro: Dropout voltage 200mV@100mA Sorry...
by ThomasB
05 Apr 2019, 18:46
Forum: ESP Easy: Hardware
Topic: Reboot cause: WEMOS D1 (clone) voltage regulator ??
Replies: 10
Views: 348

Re: Reboot cause: WEMOS D1 (clone) voltage regulator ??

Yikes! FWIW, another issue with the XC6204 is that Vin MUST be at least 2V greater than Vout (2V dropout). So it's definitely a bad choice for the Wemos. BTW, the LM117 dropout is 1.2V, so besides its increased current capabilities it can tolerate USB powered operation (~5V Vin). I'm running mostly ...
by ThomasB
03 Apr 2019, 20:26
Forum: ESP Easy: Hardware
Topic: Sonoff POW + Hardware Watchdog
Replies: 17
Views: 383

Re: Sonoff POW + Hardware Watchdog

Is this applies to all "devices" or Dummy only? It applies to the user variables assigned to the various device plugins. But GPIO is not a user variable and its state is not saved. So the workaround is to use a dummy device's user variable to store your GPIO's state. Or if applicable, you can use y...
by ThomasB
03 Apr 2019, 19:14
Forum: ESP Easy: Hardware
Topic: Sonoff POW + Hardware Watchdog
Replies: 17
Views: 383

Re: Sonoff POW + Hardware Watchdog

Maybe there is any way to keep the state of this gpio-12 in the POW's memory to check it after reboot and make the on/off command? This is possible because the last known User Variable values are saved in RTC memory. And they are restored on a warm boot. So this feature can be used to create your s...
by ThomasB
03 Apr 2019, 05:09
Forum: ESP Easy: General Discussion
Topic: PWM dimming, delay, decreasing??
Replies: 10
Views: 319

Re: PWM dimming, delay, decreasing??

I reviewed _P001_Switch.ino to see if there is an explanation. As written, PWM (with optional duration function) is configured to "increase" the PWM value (e.g., brighten effect). It does not offer a traditional fade. But it will wrap around to a lower PWM value when the new PWM value is smaller tha...
by ThomasB
01 Apr 2019, 03:08
Forum: ESP Easy: Hardware
Topic: Adafruit Motorshield v2 with Stepper Motor
Replies: 1
Views: 102

Re: Adafruit Motorshield v2 with Stepper Motor

Within the last month you're the second person to report problems getting that board configuration to work with ESPEasy. And it doesn't appear that the problem was solved because the open topic has not been updated. So this motor shield board might not be the best choice until someone shares detaile...
by ThomasB
31 Mar 2019, 17:28
Forum: ESP Easy: General Discussion
Topic: Wifi seems to be dead.. how to get the config (r120)
Replies: 6
Views: 204

Re: Wifi seems to be dead.. how to get the config (r120)

You're welcome. Glad to hear you solved it. Which method did you fix it with, backup migration or WiFi AP mode?

- Thomas
by ThomasB
29 Mar 2019, 20:07
Forum: ESP Easy: Software
Topic: (solved) webinterface password
Replies: 5
Views: 141

Re: webinterface password

The command name changes the UNIT's name (Device ID). To put it another way, it is the same as visiting the webui and changing the Unit Name found at the top of the Config page.

Unlike the Admin Name, you can easily change the the Unit Name.

- Thomas
by ThomasB
29 Mar 2019, 19:14
Forum: ESP Easy: Software
Topic: (solved) webinterface password
Replies: 5
Views: 141

Re: webinterface password

but what is the user when logging into the webinterface?
The value for ADMIN USERNAME is: admin

The name is hard coded in ESPEasy-Globals.h. It requires a re-compile to change (edit DEFAULT_ADMIN_USERNAME).

- Thomas
by ThomasB
29 Mar 2019, 02:17
Forum: ESP Easy: General Discussion
Topic: (solved) upload rule remote via json or any other remote script
Replies: 10
Views: 331

Re: (solved) upload rule remote via json or any other remote script

ThomasB must be an Robot.
Shhhush! That's suppose to be a secrete. :)

- Thomas
by ThomasB
29 Mar 2019, 00:27
Forum: ESP Easy: Software
Topic: Flash ESPEasy with Arduino IDE -> Missing Library
Replies: 9
Views: 598

Re: Flash ESPEasy with Arduino IDE -> Missing Library

Plugins:⋄ 77 [Normal] [Testing] [Development] But in "Device" P124 is missing. Plugin P124 has been pre-defined in the PLUGIN_SET_EXPERIMENTAL section in file define_plugin_sets.h . So you'll want to build the Experimental release to take advantage of this. For a less risky build you can add the #d...
by ThomasB
28 Mar 2019, 20:39
Forum: ESP Easy: General Discussion
Topic: Wifi seems to be dead.. how to get the config (r120)
Replies: 6
Views: 204

Re: Wifi seems to be dead.. how to get the config (r120)

If you can backup the entire ROM then you can migrate to working hardware. So something like this is worth a shot: https://www.letscontrolit.com/forum/viewtopic.php?t=5169 But, maybe WiFi is working and the STA mode settings are corrupted. That would probably cause ESPEasy fallback to AP mode. Have ...
by ThomasB
28 Mar 2019, 18:40
Forum: ESP Easy: General Discussion
Topic: (solved) upload rule remote via json or any other remote script
Replies: 10
Views: 331

Re: (solved) upload rule remote via json or any other remote script

Great! Thanks for confirming the workaround helped you out.

- Thomas
by ThomasB
28 Mar 2019, 18:01
Forum: ESP Easy: General Discussion
Topic: (solved) upload rule remote via json or any other remote script
Replies: 10
Views: 331

Re: upload rule remote via json or any other remote script

could you post a template uploading rules? It is not working for me. Uploading rules files using curl appears to be partially broken. The main issue is that it will only work if the file to be uploaded is already named in the file system. Try this: 1. Go to the rules tab and choose the rule set you...
by ThomasB
28 Mar 2019, 15:46
Forum: ESP Easy: Software
Topic: Flash ESPEasy with Arduino IDE -> Missing Library
Replies: 9
Views: 598

Re: Flash ESPEasy with Arduino IDE -> Missing Library

"SUCCESS". Pictures say more than words. Congrats! In general,all warnings and messages disappear within a very short time. This window is only visible for 1 second, then it is gone. Do you have other experiences or a helpful tip? I use the Platformio IDE extension in VSCode. Its compile success me...
by ThomasB
27 Mar 2019, 22:03
Forum: ESP Easy: Software
Topic: Flash ESPEasy with Arduino IDE -> Missing Library
Replies: 9
Views: 598

Re: Flash ESPEasy with Arduino IDE -> Missing Library

I suggest reverting the file back to its original state and use Platformio to compile (rather than Arduino). With Platformio the mega-20190315 release compiles OK.

Getting started with Platformio can be frustrating. But it is the preferred compiler for ESPEasy.

- Thomas
by ThomasB
27 Mar 2019, 16:02
Forum: ESP Easy: Software
Topic: (solved) hardware initial setting gpio output low not working?
Replies: 2
Views: 95

Re: hardware initial setting gpio output low not working?

GPIO-0 is the special boot mode pin. https://www.letscontrolit.com/wiki/index.php/Configuration A logic low on GPIO-0 at boot initialization would create a problem. Perhaps that is why your GPIO-0 boot state setting is being ignored. It is Ok to use it in your rules (because they run after boot is c...
by ThomasB
27 Mar 2019, 02:56
Forum: ESP Easy: Software
Topic: New Reboot Cause. What's this?
Replies: 4
Views: 220

Re: New Reboot Cause. What's this?

About a small hint to the solution of this problem, I would be very happy. Incidentally, my current ESPEasy build is: mega-20190315 I suspect that the issue regarding the LabelType declaration is related to the location of the StringProviderTypes.h header file. See the comments here: https://www.le...
by ThomasB
27 Mar 2019, 01:16
Forum: ESP Easy: Software
Topic: Flash ESPEasy with Arduino IDE -> Missing Library
Replies: 9
Views: 598

Re: Flash ESPEasy with Arduino IDE -> Missing Library

Hmm, StringProviderTypes.h appears to be a new addition in the latest release. You can either: 1. Leave StringProviderTypes.h in your project directory and edit StringProvider.ino's include on line #1 so that it looks like this: #include "StringProviderTypes.h" Or 2. Move the StringProviderTypes.h f...
by ThomasB
26 Mar 2019, 22:46
Forum: ESP Easy: Projects / Applications
Topic: Relay
Replies: 8
Views: 359

Re: Relay

can you help me about this. appreciate As Kimot stated, reading the relay pin with a Switch device is problematic. It used to be tolerated (and there are many examples of doing it in the wiki), but I do not believe it is supported anymore. To avoid surprises the solution is to use dummy variables t...
by ThomasB
26 Mar 2019, 18:46
Forum: ESP Easy: Software
Topic: normal or normal_core_241 or normal_core_242
Replies: 5
Views: 205

Re: normal or normal_core_241 or normal_core_242

There are 3 versions for the 1M:normal, normal core 241 and normal core 242 and I don't see anywhere the explanation, except in the changelog. I would suppose that I have to use the last one (core 242) but why are the other versions part of the zip bin file. What are they used for ? 1. The default ...
by ThomasB
21 Mar 2019, 18:48
Forum: ESP Easy: General Discussion
Topic: Checking (ping) internet connectivity
Replies: 4
Views: 183

Re: Checking (ping) internet connectivity

Ping is not an out-of-the-box feature. But is possible, per this custom plugin:
viewtopic.php?f=6&t=3636

- Thomas
by ThomasB
21 Mar 2019, 03:19
Forum: ESP Easy: Software
Topic: event without an event
Replies: 6
Views: 230

Re: event without an event

Like some other ESPEasy devices, the dummy (P033) plugin does not support a zero interval value. That means it cannot be disabled. So you have to expect repeated (interval) data and handle it in your rules. If the interval data is a deal killer in your application then there is a workaround if you d...
by ThomasB
16 Mar 2019, 18:05
Forum: ESP Easy: General Discussion
Topic: Rules on mega version problem
Replies: 3
Views: 208

Re: Rules on mega version problem

You have a odd problem. I don't see any other issues in the rule syntax. Maybe another set of eyes will spot something.

BTW, in Tools=>Advanced_Settings->Rule_Settings there is a entry for "Old Engine." This box should be checked (enable old engine).

- Thomas
by ThomasB
16 Mar 2019, 17:57
Forum: ESP Easy: General Discussion
Topic: no more Wifi status after version update
Replies: 3
Views: 209

Re: no more Wifi status after version update

Unfortunately the blue LED remains off even when I try to switch it on by rule (assignement removed in hardware) At least you know that it's a Wemos hardware issue instead of a ESPEasy bug. does that mean that this output is bricked? Either the LED has died or the D4 I/O pin is bricked. If you requ...
by ThomasB
15 Mar 2019, 03:55
Forum: ESP Easy: General Discussion
Topic: Rules problem...
Replies: 5
Views: 259

Re: Rules problem...

enddo is incorrect syntax. Correct usage is endon . Revised rules with syntax corrections: on System#Boot do gpio,2,0 timerset,1,10 //Set Timer 1 endon on rules#timer=1 do //if Timer1 expires taskvalueset 5,1,1 //set dummy#var1 to 1 timerset,2,10 //Set Timer2 endon on rules#timer=2 do //If Timer2 e...
by ThomasB
15 Mar 2019, 01:24
Forum: ESP Easy: General Discussion
Topic: Rules on mega version problem
Replies: 3
Views: 208

Re: Rules on mega version problem

I see two TaskValue variables in your rules that are referencing a missing Dummy Device. These:

Code: Select all

 TaskValueSet,4,1,0
 TaskValueSet,4,2,0
Maybe this is confusing the rule engine? Try removing them (or create the mating Dummy Device and its 2 variables) and see what happens.

- Thomas
by ThomasB
13 Mar 2019, 18:18
Forum: ESP Easy: Hardware
Topic: Motor Shield v2.0
Replies: 7
Views: 363

Re: Motor Shield v2.0

Hmm. It seems there's some overall confusion about the hardware you purchased. The ongoing comments have been for the Wemos Motor Shield clone that is sold by AliExpress. This one: https://www.letscontrolit.com/wiki/index.php?title=WemosMotorshield But there is another motor shield sold by AliExpres...
by ThomasB
12 Mar 2019, 16:50
Forum: ESP Easy: Hardware
Topic: Motor Shield v2.0
Replies: 7
Views: 363

Re: Motor Shield v2.0

very time i refresh, i get a different I2C adress, where this should be 0x60. Regarding the random i2C address when you refresh, do you mean you are using ESPEasy's I2C scanner? If that is the case then maybe that tool is broken. I'm not saying I know for a fact it is broken, but it is possible. Ev...
by ThomasB
12 Mar 2019, 16:18
Forum: ESP Easy: Hardware
Topic: Wemos D1 Mini freezes
Replies: 2
Views: 289

Re: Wemos D1 Mini freezes

I kept using the powered USB hub without being connected to my pc, and they work for much longer periods then when connected to the wall plugs. Since your Wemos D1 Mini boards run more reliably with the USB hub I tend to agree with you that it is possibly a power issue. Unreliable operation on vari...
by ThomasB
11 Mar 2019, 21:29
Forum: ESP Easy: Software
Topic: Problem to publish with mqtt
Replies: 6
Views: 268

Re: Problem to publish with mqtt

Glad to hear you solved it.
- Thomas
by ThomasB
11 Mar 2019, 20:07
Forum: ESP Easy: General Discussion
Topic: no more Wifi status after version update
Replies: 3
Views: 209

Re: no more Wifi status after version update

That is unexpected. I think it would be wise to revert back to your "working" Oct 18 version and reconfirm the LED hardware is still OK. If the older firmware brings life back to the WiFi LED then do a full memory erase (install blank_*MB.bin file). Then install the latest version (mega-20190311 was...
by ThomasB
11 Mar 2019, 18:32
Forum: ESP Easy: Hardware
Topic: Motor Shield v2.0
Replies: 7
Views: 363

Re: Motor Shield v2.0

Code: Select all

Supplied 12V to the power inlet and connect neatly through the D4 and D5 (Cl and DA)
According to the Wemos Mini D1 Wiki, the I2C SCL is D1 (GPIO-5) and SDA is D2 (GPIO-4).
https://wiki.wemos.cc/products:d1:d1_mini
https://steve.fi/Hardware/d1-pins/

- Thomas