Search found 1065 matches

by ThomasB
13 Nov 2020, 19:24
Forum: ESP Easy: Software
Topic: Command unknown: "PWM,14,200"
Replies: 10
Views: 10936

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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
by ThomasB
17 Oct 2020, 19:31
Forum: ESP Easy: General Discussion
Topic: Wake on Lan?
Replies: 34
Views: 26175

Re: Wake on Lan?

@wiredcharlie, thanks for confirming the WOL plugin is working. Here's the minimal_IRext_ESP8266_4M1M firmware build you requested:
ESP_Easy_mega_20201017_minimal_IRext_ESP8266_4M1M.zip
(545.03 KiB) Downloaded 428 times

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

Re: Wake on Lan?

Attached is the bin. It's a _test_ESP8266_4M1M_VCC build. BTW, Nextion is included in _test_ releases. The plugin's name is: Communication - Wake On LAN [Testing] Some tips: 1. When you first add the WOL task device, blank fields will be automatically populated with default values if you leave them ...
by ThomasB
14 Oct 2020, 20:32
Forum: ESP Easy: General Discussion
Topic: Wake on Lan?
Replies: 34
Views: 26175

Re: Wake on Lan?

@Wiki, thanks volunteering. Let me know what ESPEasy device you have (or give me the name of the bin file you're currently using) and I'll provide ready-to-run compiled firmware. For validation I used a WIN10 PC. I had to enable WOL in the PC bios and configure the WIN10 power settings on its Ethern...
by ThomasB
14 Oct 2020, 17:33
Forum: ESP Easy: General Discussion
Topic: Wake on Lan?
Replies: 34
Views: 26175

Re: Wake on Lan?

Before getting official with a PR it would be nice to have at least one interested user try it out. @wiredcharlie, are you still around?

- Thomas
by ThomasB
14 Oct 2020, 01:42
Forum: ESP Easy: General Discussion
Topic: Wake on Lan?
Replies: 34
Views: 26175

Re: Wake on Lan?

The Wake-On-LAN plugin is working on my Wemos 4MB device. That is to say, the Wemos can wake up a sleeping PC via its Ethernet connection. Now looking for beta users to try it out.

- Thomas
by ThomasB
13 Oct 2020, 20:35
Forum: ESP Easy: General Discussion
Topic: Wake on Lan?
Replies: 34
Views: 26175

Re: Wake on Lan?

Are the (optional) parameters in such order that only the last parameters can be omitted? That is Correct. BTW, the Plugin's user default IP and Port settings aren't expected to change after they are setup to work on the user's router. So an ESPEasy device that wakeups several different MAC's would...
by ThomasB
13 Oct 2020, 19:59
Forum: ESP Easy: General Discussion
Topic: Wake on Lan?
Replies: 34
Views: 26175

Re: Wake on Lan?

Looks like such a plugin may need an external library, like this one: https://github.com/a7md0/WakeOnLan @TD-er, I started coding the plugin last night using a7md0 's WOL library. Here's a view of the Device page: wakeOnLan.jpg The basic concept: Installations that only need to WOL one MAC can use ...
by ThomasB
13 Oct 2020, 07:17
Forum: ESP Easy: General Discussion
Topic: Wake on Lan?
Replies: 34
Views: 26175

Re: Wake on Lan?

WOL seems like a useful thing to add to ESPEasy. Do you need help creating a plugin?

- Thomas
by ThomasB
09 Oct 2020, 18:11
Forum: ESP Easy: Projects / Applications
Topic: D1 Mini & OpenHab
Replies: 10
Views: 16584

Re: D1 Mini & OpenHab

I'm using OH 2.4 with ESPEasy. I don't have any issues. I think my success is because I never directly control GPIO. Instead, I use events and have the GPIO controlled in ESPEasy rules. For example, here is a OH item for one of my GPIO controlled devices: Switch Attic_AC "Attic Relay AC" <...
by ThomasB
07 Oct 2020, 20:08
Forum: ESP Easy: Projects / Applications
Topic: D1 Mini & OpenHab
Replies: 10
Views: 16584

Re: D1 Mini & OpenHab

I suggest updating to the latest Mega release. No promises, but it might solve your problem.

- Thomas
by ThomasB
01 Oct 2020, 17:15
Forum: ESP Easy: General Discussion
Topic: re-send RDIF info to Serial
Replies: 1
Views: 5375

Re: re-send RDIF info to Serial

I have configured the serial server but I get all the events that the console brings up ...
I suspect you already tried it, but I suggest turning off the Serial log.
Tools-->Advanced-->LogSettings

That's the typical solution for suppressing common serial log messages.

- Thomas
by ThomasB
01 Oct 2020, 05:14
Forum: ESP Easy: General Discussion
Topic: MCP23017: Port control - not Pin control
Replies: 9
Views: 11447

Re: MCP23017: Port control - not Pin control

Rules.... not enough space as i have to set all 16 pin states for each of the 31 "MAP" values. You can create a short general purpose event rule that avoids hard coding 31 MAP values. Here is an example: on MCPport16 do logentry,"The 16-bit port pattern is %eventvalue1%" MCPGPIO...
by ThomasB
30 Sep 2020, 02:50
Forum: ESP Easy: Hardware
Topic: GPS Plug-In?
Replies: 7
Views: 15985

Re: GPS Plug-In?

Use a build with "test" in the name. For example,
ESP_Easy_mega_20200929_test_ESP8266_4M1M_VCC.bin

- Thomas