Search found 1065 matches

by ThomasB
15 May 2020, 01:58
Forum: ESP Easy: Projects / Applications
Topic: Garage door opener with OpenHAB
Replies: 9
Views: 22363

Re: Garage door opener with OpenHAB

There are built-in safety mechanism provided by all modern garage door openers (invisible light beam, excess force sensing, over-current). But the "worry" issue is the reason why I chose to send an email instead of automatically closing the door. I prefer someone be present when the door i...
by ThomasB
15 May 2020, 01:12
Forum: ESP Easy: Hardware
Topic: [FIXED] Wemos MotorShield V1.0 NO i2c-adress
Replies: 20
Views: 16276

Re: Wemos MotorShield V1.0 NO i2c-adress

Great to hear you solved the problem. BTW, what is the name of the ESPEasy bin file you loaded into your Wemos D1 Mini that is working? I had to solder the jumper RTS and the Jumper i2C on the bottom of the board together. This was needed to control the board via wemos. Regarding the solder jumpers,...
by ThomasB
14 May 2020, 21:38
Forum: ESP Easy: Hardware
Topic: [FIXED] Wemos MotorShield V1.0 NO i2c-adress
Replies: 20
Views: 16276

Re: Wemos MotorShield V1.0 NO i2c-adress

I used the http method to send the FORWARD command over network to the board and got the OK message back. Unfortunately the MotorShield plugin responds "OK" to nearly everything, even if the command syntax is wrong or the motorshield board is dead. As a cheap sanity check, please post the...
by ThomasB
13 May 2020, 20:08
Forum: ESP Easy: Projects / Applications
Topic: Webserver HMI/GUI Code Generation Tool?
Replies: 5
Views: 18764

Re: Webserver HMI/GUI Code Generation Tool?

That sounds fantastic!

- Thomas
by ThomasB
13 May 2020, 19:36
Forum: ESP Easy: Projects / Applications
Topic: Webserver HMI/GUI Code Generation Tool?
Replies: 5
Views: 18764

Re: Webserver HMI/GUI Code Generation Tool?

I'm glad you dropped by since you're ESPEasy's web GUI developer. The new interface looks promising. Especially if it gives us total freedom to create our own ESPEasy GUI. But sometimes I don't use ESPEasy. I'm also a ESP8266 / ESP32 user that builds projects with my own firmware. I need to create b...
by ThomasB
13 May 2020, 19:25
Forum: ESP Easy: Projects / Applications
Topic: Garage door opener with OpenHAB
Replies: 9
Views: 22363

Re: Garage door opener with OpenHAB

It's great to see ESPEasy applications. They provide inspiration. I'll share an idea you might like to add to your project: My garage door has a very similar solution using an Insteon I/O module. And I use OpenHab too. I added an OpenHab rule that checks to see if the garage door is still open late ...
by ThomasB
13 May 2020, 19:07
Forum: ESP Easy: Projects / Applications
Topic: Webserver HMI/GUI Code Generation Tool?
Replies: 5
Views: 18764

Webserver HMI/GUI Code Generation Tool?

One of the features of ESPEasy is that we can upload custom web pages to SPIFFS. And any ESP8266/ESP32 project can act as a web server as well. It is a nice way to create a HMI GUI for our home automation projects. Especially since there are times I want to host the web page on the device, not host ...
by ThomasB
13 May 2020, 18:15
Forum: ESP Easy: Projects / Applications
Topic: Problem with SendToHTTP
Replies: 22
Views: 16914

Re: Problem with SendToHTTP

I checked and the login name: admin is lower case, and the password I am using is lower case with a few numbers. Only part of the web string which has upper case is ...[the path] If you review the logs from the OP, his path string remained unchanged. So that optimistically suggests you might be abl...
by ThomasB
13 May 2020, 05:26
Forum: ESP Easy: Projects / Applications
Topic: Problem with SendToHTTP
Replies: 22
Views: 16914

Re: Problem with SendToHTTP

Any further ideas on above appreciated The OP's SendToHTTP statement did not work because the rules parser coverts the statement to lower case letters. That caused the OP's mixed-case password credentials to fail. I see that your example HTTP URL has some uppercase in it: http://admin:12345678@192....
by ThomasB
12 May 2020, 22:58
Forum: ESP Easy: Hardware
Topic: Wemos D1-Mini USB connection issues
Replies: 3
Views: 11336

Re: Wemos D1-Mini USB connection issues

Interesting solution. Your 5V conversion should also change the V3 pin, per the data sheet. Why? The CH340 chip supports 3.3V VCC if the "V3" pin is also connected to 3.3V. When using 5V VCC, the V3 pin must be only connected to a .1uF cap (V3 is not connected to VCC). ch340-1.jpg ch340-2....
by ThomasB
11 May 2020, 03:55
Forum: ESP Easy: Hardware
Topic: [FIXED] Wemos MotorShield V1.0 NO i2c-adress
Replies: 20
Views: 16276

Re: Wemos MotorShield V1.0 NO i2c-adress

Here's instructions on how to use the Wemos D1 for programming the MotorShield (instead of USB-TTL).
https://github.com/thomasfredericks/wemos_motor_shield

- Thomas
by ThomasB
10 May 2020, 00:20
Forum: ESP Easy: Hardware
Topic: [FIXED] Wemos MotorShield V1.0 NO i2c-adress
Replies: 20
Views: 16276

Re: Wemos MotorShield V1.0 NO i2c-adress

yes i already know that, but i can´t flash the firmware, whenever the USB2TTL programmer doesn´t recogize the motor shield. The ST-Link programmer has been reported to work better than USB programming. Some say it is because of the chance of using an incompatiabe UBS-TTL dongle. but mine has no i2c...
by ThomasB
09 May 2020, 19:14
Forum: ESP Easy: Hardware
Topic: [FIXED] Wemos MotorShield V1.0 NO i2c-adress
Replies: 20
Views: 16276

Re: Wemos MotorShield V1.0 NO i2c-adress

Now I'm thinking about to buy a ST Link programmer to flash the STM32 with a new firmware. That sounds like a reasonable idea. If you purchased all the non-functional boards from the same supplier then maybe they are missing firmware. Regardless, the original firmware is buggy. So you should reflas...
by ThomasB
09 May 2020, 18:32
Forum: ESP Easy: General Discussion
Topic: Level control Led
Replies: 3
Views: 5936

Re: Level control Led

... the level control on gipo16 also switch between 0 and 1, but the output voltage on gipo 16 pin is - 2.5V to 2.5v and not 0V to 5V. Why is it like this? The GPIO Pin's Logic High output voltage is approximately 3.3V, not 5V. If you require 5V output then you'll need additional circuitry, such as...
by ThomasB
07 May 2020, 19:27
Forum: ESP Easy: General Discussion
Topic: Problem with new Sonoff S20
Replies: 10
Views: 9075

Re: Problem with new Sonoff S20

I think there's a way for me to contribute a donation to this effort. Kindly let me know the best way to do that.
The two main developers (TD-er & Grovkillen) appreciate donations. Here are their links:
https://www.patreon.com/GrovkillenTDer
Or
http://ko-fi.com/GrovkillenTDer

- Thomas
by ThomasB
07 May 2020, 17:27
Forum: ESP Easy: General Discussion
Topic: Problem with new Sonoff S20
Replies: 10
Views: 9075

Re: Problem with new Sonoff S20

Instead of loading the special [2step_UploaderMega] bin you should flash with a [Normal] bin. For an example, see the file name I provided in my previous post. To see the boot messages you'll need to use a serial serial terminal, as mentioned earlier. These messages will help confirm the board is bo...
by ThomasB
05 May 2020, 00:54
Forum: ESP Easy: General Discussion
Topic: Problem with new Sonoff S20
Replies: 10
Views: 9075

Re: Problem with new Sonoff S20

... would you be so kind as to elaborate on how I use a serial log to check the status of the S20? A serial terminal program and your FTDI adapter is needed for serial port debugging. I use PuTTY, but feel free to use your favorite terminal program. Serial port = 115.2K baud, 8 bit, 1 stop, No pari...
by ThomasB
04 May 2020, 23:15
Forum: ESP Easy: Software
Topic: Firmware update resulted in 'Generic HTTP Controller' issue
Replies: 5
Views: 6070

Re: Firmware update resulted in 'Generic HTTP Controller' issue

I found that this bug was reported and a fix was released on builds after Feb 21:
https://github.com/letscontrolit/ESPEasy/issues/2878

If the latest Mega build does not work for you then I recommend opening the issue on GitHub.

- Thomas
by ThomasB
04 May 2020, 21:15
Forum: ESP Easy: General Discussion
Topic: Problem with new Sonoff S20
Replies: 10
Views: 9075

Re: Problem with new Sonoff S20

The flashes were all successful, but when I plug in the S20, it's dead. (Pressing and holding down the button whilst plugging it in.) I get no ESP network, nor do any lights on the device flash. Do NOT press and hold the button when plugging it in. The special button-press operation is reserved for...
by ThomasB
04 May 2020, 19:03
Forum: ESP Easy: Software
Topic: Firmware update resulted in 'Generic HTTP Controller' issue
Replies: 5
Views: 6070

Re: Firmware update resulted in 'Generic HTTP Controller' issue

I suggest using serial log; The messages might be helpful in troubleshooting this issue. BTW, some changes were made late last year that affects rule parsing. So if your SmarthomeNG actions are triggered by rules then please check this article for updated syntax: https://github.com/letscontrolit/ESP...
by ThomasB
04 May 2020, 04:19
Forum: ESP Easy: Software
Topic: math functions usable in rules
Replies: 1
Views: 4713

Re: math functions usable in rules

Misc.ino shows that these operators are allowed in expressions:

Code: Select all

+
-
*
/
^
%
- Thomas
by ThomasB
03 May 2020, 06:33
Forum: ESP Easy: Projects / Applications
Topic: Nodemcu V3 with BS18b20, no temp values !
Replies: 7
Views: 12081

Re: Nodemcu V3 with BS18b20, no temp values !

Your boot message shows you're running R120. That's a very old release. I suggest you try the latest Mega release instead.
https://github.com/letscontrolit/ESPEasy/releases

- Thomas
by ThomasB
02 May 2020, 20:11
Forum: ESP Easy: Projects / Applications
Topic: Nodemcu V3 with BS18b20, no temp values !
Replies: 7
Views: 12081

Re: Nodemcu V3 with BS18b20, no temp values !

This issue has come up before. My memory is fuzzy on the details, but I recall that the Arduino code works Ok with the internal weak pullup. But the ESPEasy code is less tolerant to DS18B20 bit timing and installing the external 4.7K pull-up resistor seems to help out. But per @TD-er's recommendatio...
by ThomasB
30 Apr 2020, 05:16
Forum: ESP Easy: Software
Topic: Rule acting on serial input
Replies: 2
Views: 6173

Re: Rule acting on serial input

but it isn't defined what "T1018" is. "T1018" is the leading characters of a serial message string that was sent to ser2net from a boiler controller. It's just a user's example that somehow found it's way into the Rule's documentation. Unfortunately the wording is very confusing...
by ThomasB
28 Apr 2020, 04:10
Forum: ESP Easy: General Discussion
Topic: INA219 Calibrate external shunt
Replies: 18
Views: 15340

Re: INA219 Calibrate external shunt

Some basic concepts that may help out are discussed here: https://www.letscontrolit.com/forum/vie ... f=5&t=3334

- Thomas
by ThomasB
24 Apr 2020, 19:51
Forum: ESP Easy: General Discussion
Topic: ADC A0 reading is often 0 despite proper signal
Replies: 7
Views: 8075

Re: ADC A0 reading is often 0 despite proper signal

Very simple configuration with current sensor 'HW-670' with analogue output to measure power used by motor pump. 1 reading per second. sometimes i have properly a value, most of the time, output is zero on ESP. I've not used it, but that sensor's photo shows a AC current transformer with buffer amp...
by ThomasB
23 Apr 2020, 06:01
Forum: ESP Easy: Projects / Applications
Topic: ESP EASY to work as standalone without login to WiFi
Replies: 7
Views: 7756

Re: ESP EASY to work as standalone without login to WiFi

But my question still remains how am i able to access the web-control-penal to add rules or to add a device? Because in AP mode i can only see the wifi-settings page when i open 192.168.4.1. Try a direct URL to the devices and rules pages. Like these: http://192.168.4.1/devices http://192.168.4.1/r...
by ThomasB
20 Apr 2020, 02:36
Forum: ESP Easy: Software
Topic: NodeMCU keeps rebooting
Replies: 3
Views: 5775

Re: NodeMCU keeps rebooting

Also in Tools=>Advanced:
* Restart WiFi Lost Conn: unchecked (disabled)
* Serial Log Level: None (disabled)

- Thomas
by ThomasB
19 Apr 2020, 18:47
Forum: ESP Easy: Hardware
Topic: Avoir bad relay trigger during boot
Replies: 2
Views: 7618

Re: Avoir bad relay trigger during boot

It sounds like you are doing all the right things. Does this occur during power-up boot, warm boot (reset button), or both boot modes? If relay click occurs on all boot modes then perhaps D5's internal weak pull-up has been enabled. That would suggest that the 100K ohm external pull-down value is to...
by ThomasB
18 Apr 2020, 20:14
Forum: ESP Easy: Hardware
Topic: problem displaying on a Nextion screen
Replies: 17
Views: 17934

Re: problem displaying on a Nextion screen

Ordinarily you would use \xB0 in the Nextion text string. But the \ escape char breaks the rules parser.

- Thomas
by ThomasB
15 Apr 2020, 20:02
Forum: ESP Easy: Hardware
Topic: Burn sonof
Replies: 5
Views: 9240

Re: Burn sonof

Couple things: 1. There have been reports that the ESP8266 often survives accidental connection to 5V power. But there is a higher chance the Flash chip will be damaged. So Flash again with 3.3V power; If flash upload is successful then the Sonoff is probably still OK. For confirmation that it still...
by ThomasB
14 Apr 2020, 00:08
Forum: ESP Easy: General Discussion
Topic: "Voting" for the most Easy controller!
Replies: 29
Views: 24400

Re: "Voting" for the most Easy controller!

I'll add my two cents on OpenHab, since I've been running it on a RPI for several years. tl;dr : Not easy, but flexible. My overall opinion is that the flexibility of OpenHab tends to make it "hard" to configure. But setting it up should be within the skills of a enthusiastic ESPEasy fan. ...
by ThomasB
12 Apr 2020, 00:15
Forum: ESP Easy: Software
Topic: MQTT and QOS
Replies: 1
Views: 4098

Re: MQTT and QOS

I recall there have been request in the past to be able to set QOS. But I don't believe that feature has been added. For now, QOS = 0.

- Thomas
by ThomasB
11 Apr 2020, 21:29
Forum: ESP Easy: Hardware
Topic: Timer not correct
Replies: 4
Views: 7777

Re: Timer not correct

In the Rules#Timer 2 event you are setting var #2, but testing var #1.

I think you want this:

Code: Select all

On Rules#Timer=2 do
timerSet,2,1 //Set Timer 2 for the next event in 2 seconds
 if [VAR#2]=1
   let,2,0
  mcpgpio, 6,0
  else 
   let,2,1
   mcpgpio, 6,1
 endif
endon
- Thomas
by ThomasB
10 Apr 2020, 20:21
Forum: ESP Easy: Projects / Applications
Topic: Espeasy mega right formula for INA219 current
Replies: 9
Views: 14308

Re: Espeasy mega right formula for INA219 current

A 130mA offset seems excessive for the circuit shown in the photo. As a sanity check, please provide the measurement's variation when you compare the DMM's reading to the INA219A. Meter = ? mA (in series with battery lead, input of Vreg) INA219 = ? mA Be sure to record the INA219A current while the ...
by ThomasB
08 Apr 2020, 17:20
Forum: ESP Easy: General Discussion
Topic: %syshour% and %sysmin% issue
Replies: 5
Views: 6430

Re: %syshour% and %sysmin% issue

Very nice! So the solution does not need rules at all. Just use %syshour_0% and %sysmin_0% (or any of the other system vars ending in _0%).

I've updated the wiki; Now these useful vars are advertised in the official docs.

- Thomas
by ThomasB
08 Apr 2020, 03:21
Forum: ESP Easy: General Discussion
Topic: OTA Update
Replies: 3
Views: 5912

Re: OTA Update

but after 11- 13% upload it crashes and i need to power cycle the unit. Any ideas ? Perhaps it is caused by mega-20191119. The releases during that time period had WiFi issues. But be mindful that your old version is a [TESTING] branch with 79 plugins. The new version you have chosen is a [NORMAL] ...
by ThomasB
08 Apr 2020, 00:15
Forum: ESP Easy: Software
Topic: How To? Multiple Source MQTT Publishing
Replies: 3
Views: 5325

Re: How To? Multiple Source MQTT Publishing

... can I duplicate the Unit Name of the 3 additional esp8266s with different Unit Numbers? I propose a different solution. Go to ESPEasy Controller's setup page and edit the MQTT Controller Publish entry. It defaults to this: %sysname%/%tskname%/%valname% Instead of using the %sysname% variable, y...
by ThomasB
07 Apr 2020, 18:03
Forum: ESP Easy: General Discussion
Topic: syslog - any chance of configurable port?
Replies: 2
Views: 5342

Re: syslog - any chance of configurable port?

That was a feature requested a couple years ago. Still not implemented, so feel free to bump it: https://github.com/letscontrolit/ESPEasy/issues/1258 If you don't mind compiling your own ESPEasy then edit the port value in the source code. It is hard-coded in the syslog() function found in the Netwo...
by ThomasB
07 Apr 2020, 02:27
Forum: ESP Easy: General Discussion
Topic: %syshour% and %sysmin% issue
Replies: 5
Views: 6430

Re: %syshour% and %sysmin% issue

To refresh the vars once per minute: on System#Boot do TimerSet,1,10 endon on Time#Set do // Include this rule if NTP time is used event,UpdateTime endon on Rules#Timer=1 do event,UpdateTime endon on UpdateTime do TimerSet,1,60 let,5,%syshour% let,6,%sysmin% endon This code is untested, so may requi...
by ThomasB
06 Apr 2020, 21:53
Forum: ESP Easy: Software
Topic: [SOLVED] Unable to access value of progress bar
Replies: 9
Views: 6803

Re: Unable to access value of progress bar

You're welcome. Glad to hear you solved it.

- Thomas
by ThomasB
06 Apr 2020, 21:27
Forum: ESP Easy: Software
Topic: [SOLVED] Unable to access value of progress bar
Replies: 9
Views: 6803

Re: Unable to access value of progress bar

The weblog shows that the Nextion command string for meteo.j0.val is being sent to the Nextion. So far so good. Just a hunch, but I suspect the issue is because the data is sent as a float value. I believe the progress bar expects an integer between 0 and 100. So edit the two DHT plugins and change ...
by ThomasB
06 Apr 2020, 17:54
Forum: ESP Easy: Software
Topic: [SOLVED] Unable to access value of progress bar
Replies: 9
Views: 6803

Re: Unable to access value of progress bar

Very strange. In the web log you will be able to see the InterfaceNextion printing actions (ACT:). They will allow you to see exactly what is being sent to the Nextion. So check the logged meteo.j0.val action. What is being sent? Also: 1. Does the progress bar work if Statement Line 7 uses [DHT11#Hi...
by ThomasB
06 Apr 2020, 01:16
Forum: ESP Easy: General Discussion
Topic: %syshour% and %sysmin% issue
Replies: 5
Views: 6430

Re: %syshour% and %sysmin% issue

As you have experienced, the leading zeros are suppressed. I am not aware of any formatting options for the %system% type variables that will enable leading zeros. However, if you're using a recent Mega release, the referring [variables] can be formatted using floating point transformations. These c...
by ThomasB
05 Apr 2020, 23:32
Forum: ESP Easy: Software
Topic: [SOLVED] Unable to access value of progress bar
Replies: 9
Views: 6803

Re: Unable to access value of progress bar

Actually, meteo is the name of the page where I want to change the components (on the same page "meteo"). If "meteo" is the Nextion page's name (renamed default PageX) then your existing syntax is fine. j0 is already global. OK. You originally mentioned that the following line d...
by ThomasB
05 Apr 2020, 22:28
Forum: ESP Easy: Software
Topic: [SOLVED] Unable to access value of progress bar
Replies: 9
Views: 6803

Re: Unable to access value of progress bar

In the Nextion IDE, change j0.val to global scope. If it already is global, then post a screenshot of ESPEasy's DHT11 device page for review. BTW, I recommend that your Nextion vars include the page number that defines it. For example, if t4.txt and j0.val are both on Nextion page 0, then the syntax...
by ThomasB
04 Apr 2020, 20:50
Forum: ESP Easy: General Discussion
Topic: Trying to load ESPEasy on esp8266-01 boards
Replies: 2
Views: 4323

Re: Trying to load ESPEasy on esp8266-01 boards

Using bin file: ESPEasy_R120_1024.bin You're flashing with old R120 (legacy) code. I suggest you use the latest release from the Mega branch. https://github.com/letscontrolit/ESPEasy/releases Wondering if the board is toast. It is too soon to determine that. At this point I would say it is probably...
by ThomasB
04 Apr 2020, 18:51
Forum: ESP Easy: Software
Topic: ESP 8266 ESPEasy restart problem
Replies: 3
Views: 4527

Re: ESP 8266 ESPEasy restart problem

thank you. this solve my problem. You're welcome. Other ESPEasy users have experienced this problem. So I reported it to the developers. Ref: https://github.com/letscontrolit/ESPEasy/issues/2987 do you also know why my led didn't change the state? At this point I can't even guess; I would need a lo...
by ThomasB
03 Apr 2020, 19:59
Forum: ESP Easy: General Discussion
Topic: MCP23017 Switch Button Type
Replies: 2
Views: 4495

Re: MCP23017 Switch Button Type

That option is not built into the plugin. But you have described a Push-On / Push-Off switch function, which can be emulated in Rules. That is to say, an event rule could be called each time the switched is pressed. Then a dummy var can be toggled (inverted) with each press event. The dummy var's ne...
by ThomasB
03 Apr 2020, 19:51
Forum: ESP Easy: Projects / Applications
Topic: Help on _P222 Debounced counter
Replies: 2
Views: 9201

Re: Help on _P222 Debounced counter

Using _P222, is it necessary to use _P003 in parallel? I don't use this plugin, but after reviewing the source code I see that P222 is self contained and does not need P003. Doesn't _P222 plugin create an output at Devices window? Source code indicates that there should be three values: Count, Tota...