Search found 5692 matches

by TD-er
04 Dec 2021, 21:42
Forum: ESP Easy: Hardware
Topic: high load, device responsive, rules not updatable
Replies: 2
Views: 15

Re: high load, device responsive, rules not updatable

Try pinging to the devices from just any node in the network. Preferably pinging for a longer time. Are the ping statistics similar for all nodes? Do you have lost pings? Does simply pinging to a node make it act more responsive? (this may very well be happening) The "slow" nodes, do they ...
by TD-er
04 Dec 2021, 21:38
Forum: ESP Easy: General Discussion
Topic: Espeasy only as AP
Replies: 13
Views: 8783

Re: Espeasy only as AP

Not entirely sure what the problem is you encounter. About the progress on ESP-now layer. I have spent a lot of time on investigating very strange issues regarding WiFi radio becoming a bit "deaf" after some time. This also happened on the ESP-now layer and on normal WiFi STA mode. Right n...
by TD-er
04 Dec 2021, 21:17
Forum: ESP Easy: Hardware
Topic: Firmware Support for L298H Bridge Boards?
Replies: 53
Views: 2172

Re: Firmware Support for L298H Bridge Boards?

The higher GPIO numbers on ESP32 as a bit tricky. I don't think they support pull-up or pull-down resistors. Also for pulse-counting inputs or other inputs controlled with a switch, you may need to take precautions to prevent the cables to pick up noise. The best way is to always let some current fl...
by TD-er
03 Dec 2021, 23:25
Forum: ESP Easy: Hardware
Topic: Converting AirGradient project to Esp Easy
Replies: 7
Views: 207

Re: Converting AirGradient project to Esp Easy

There are 2 OLED plugins; OLED and Framed OLED.
They differ in the possibilities and the Framed OLED one allows for more different display models
by TD-er
03 Dec 2021, 10:50
Forum: ESP Easy: Hardware
Topic: MCP23017 - read pin state [plugin#mcpgpio#pinstate#1]
Replies: 8
Views: 252

Re: MCP23017 - read pin state [plugin#mcpgpio#pinstate#1]

You can have nested if's, only there is a limit to it.
by TD-er
03 Dec 2021, 10:17
Forum: ESP Easy: Software
Topic: Espeasy does always send the "Off" command to Domoticz
Replies: 10
Views: 230

Re: Espeasy does always send the "Off" command to Domoticz

Just for completeness, see this explanation: https://espeasy.readthedocs.io/en/latest/Rules/Rules.html?highlight=formatting#formatting-refered-values I am not sure if Domoticz checks these parmeters case insensitive. If it doesn't, then you might want to use the if statement to select different stri...
by TD-er
02 Dec 2021, 21:32
Forum: ESP Easy: Software
Topic: Espeasy does always send the "Off" command to Domoticz
Replies: 10
Views: 230

Re: Espeasy does always send the "Off" command to Domoticz

One simple way of debugging rules is to add logentry commands in the rules. See: https://espeasy.readthedocs.io/en/latest/Reference/Command.html?highlight=logentry#internal-commands For example: on exDisplay#value do logentry,'exDisplay: %eventvalue1%' if %eventvalue1% = 0 or %eventvalue1% = 1 publi...
by TD-er
02 Dec 2021, 18:30
Forum: ESP Easy: Software
Topic: Espeasy does always send the "Off" command to Domoticz
Replies: 10
Views: 230

Re: Espeasy does always send the "Off" command to Domoticz

Does the unit itself also act on the switching via the MQTT broker?
If so, then you may want to have a look at the documentation of the Domoticz Helper plugin: https://espeasy.readthedocs.io/en/lates ... #p029-page
by TD-er
02 Dec 2021, 18:12
Forum: ESP Easy: Software
Topic: Espeasy does always send the "Off" command to Domoticz
Replies: 10
Views: 230

Re: Espeasy does always send the "Off" command to Domoticz

You should use %eventvalue1% instead of [exDisplay#value] And don't use quotes wrapped around the 0 and 1 So something like this will work probably: on exDisplay#value do if %eventvalue1% = 0 or %eventvalue1% = 1 publish domoticz/in,'{"command": "switchlight", "idx": 17...
by TD-er
02 Dec 2021, 15:15
Forum: ESP Easy: General Discussion
Topic: How to change Espressif to custom name in networkscan
Replies: 10
Views: 917

Re: How to change Espressif to custom name in networkscan

Any ESP8266/ESP8285 or ESP32 (and ESP32-S2) can be used with ESPEasy.
The only Espressif ones not (yet) supported are ESP32-C series (ESP32-C3/C6) and ESP32-H series (those will be in mass production end Q2 next year as I have been told by Espressif)
So there is a lot to choose from :)
by TD-er
02 Dec 2021, 10:27
Forum: ESP Easy: Software
Topic: HTTP protocol security
Replies: 4
Views: 143

Re: HTTP protocol security

You can also add an IP-filter on the "Config" tab.
by TD-er
02 Dec 2021, 09:50
Forum: ESP Easy: General Discussion
Topic: How to change Espressif to custom name in networkscan
Replies: 10
Views: 917

Re: How to change Espressif to custom name in networkscan

About the NAT-NAT situation. Let's first make clear that the most obvious issues with such a setup does occurs when you have devices in both subnets. For example: Experiabox (NAT1) -> subnet A -> router2 (NAT2) -> subnet B Maybe devices in subnet B can communicate with devices in subnet A if the con...
by TD-er
01 Dec 2021, 22:25
Forum: ESP Easy: General Discussion
Topic: How to change Espressif to custom name in networkscan
Replies: 10
Views: 917

Re: How to change Espressif to custom name in networkscan

I wonder how those Deco AP's are configured. Are they just plain bridges to your Experiabox network? In other words, are the IP-ranges the same regardless if they are plugged into the Experiabox directly, or connected to the Experia's WiFi, or connected to the Deco APs? If those are NOT the same, th...
by TD-er
01 Dec 2021, 21:30
Forum: ESP Easy: Hardware
Topic: Converting AirGradient project to Esp Easy
Replies: 7
Views: 207

Re: Converting AirGradient project to Esp Easy

Are you sure the SDA and SCL pins are not swapped?
Does it show up in the I2C scanner? (tools page)
by TD-er
01 Dec 2021, 20:11
Forum: ESP Easy: General Discussion
Topic: Cant compile ESP Easy with Arduino
Replies: 9
Views: 259

Re: Cant compile ESP Easy with Arduino

When compiling with PlatformIO, the platformio.ini files (and the other .ini files included there) define the used esp8266/Arduino or esp32/Arduino library version. For Arduino IDE you have to select this yourself in the Arduino configuration. That's what I mean with the SDK version. The default (in...
by TD-er
01 Dec 2021, 12:47
Forum: ESP Easy: Hardware
Topic: Current best hardware platform for ESP Easy?
Replies: 5
Views: 168

Re: Current best hardware platform for ESP Easy?

The "U" version is maybe even a more preferrable choice if you develop your own boards and merely use the bare modules from Espressif to solder on your boards. The reason I use the "U" version is because of the option to use an external antenna. I use these in my designs: https:/...
by TD-er
01 Dec 2021, 12:40
Forum: ESP Easy: General Discussion
Topic: How to change Espressif to custom name in networkscan
Replies: 10
Views: 917

Re: How to change Espressif to custom name in networkscan

The hostname of the unit can be set. Not sure whether Fing does query the device's hostname, but if it does for other devices then we may have to look into perhaps a specific call that Fing makes for this that we're missing? I know that the Android app I often use, Network Analyzer, does show the ho...
by TD-er
30 Nov 2021, 23:30
Forum: ESP Easy: General Discussion
Topic: temporarily disable a switch input
Replies: 4
Views: 128

Re: temporarily disable a switch input

A flaky Wemos board often has a very limited (in max current) voltage regulator on board, or a really poor quality USB connector.
You may want to test using a different USB cable and/or adding a capacitor of between 22uF and 100 uF on the 3V3 and GND pins. (mind the polarity !!!)
by TD-er
30 Nov 2021, 12:27
Forum: ESP Easy: Projects / Applications
Topic: In-soil/Underground application of SHT1x & DS18B20
Replies: 29
Views: 2507

Re: In-soil/Underground application of SHT1x & DS18B20

Better use a looptimer, it is easier ;) A loop timer is also a bit more exact with its intervals, but I doubt that's the issue here as your interval is quite long. If the task does not yield a new value, it often means there is no new value present on the sensor, or the sensor was not responding. Yo...
by TD-er
30 Nov 2021, 09:06
Forum: ESP Easy: Hardware
Topic: Converting AirGradient project to Esp Easy
Replies: 7
Views: 207

Re: Converting AirGradient project to Esp Easy

You can assign almost any pin to use for I2C on the Hardware tab. I wonder what may break the PM sensor. I recently improved that plugin, for the PMSx003 sensors from Plantower, so if you have a bit more information I can look into it. D5 (GPIO-14) and D6 (GPIO-12) for the PMSx003 sensor is just fin...
by TD-er
29 Nov 2021, 20:22
Forum: ESP Easy: Hardware
Topic: Sonoff basic r1 failure and decay after prolonged use
Replies: 9
Views: 894

Re: Sonoff basic r1 failure and decay after prolonged use

The bigger Sonoff units, like the POW and the TH16 are of better quality compared to the Basic. I do have 4 of them running 24/7 here as my permanent test units. They are running like this for close to 4 years now, with only days of not being powered. So this also implies these are of the "earl...
by TD-er
29 Nov 2021, 20:00
Forum: ESP Easy: General Discussion
Topic: Cant compile ESP Easy with Arduino
Replies: 9
Views: 259

Re: Cant compile ESP Easy with Arduino

What SDK version did you select?
esp8266/Arduino 3.0.x is not yet (completely) supported.
A pull request is pending, but not yet merged.
So better use the latest 2.7.x
by TD-er
29 Nov 2021, 16:47
Forum: ESP Easy: Software
Topic: system variable after boot
Replies: 7
Views: 221

Re: system variable after boot

This is not going to work: if %ip% = 192.168.178.52 The IP-address may be parsed into a floating point value 192.168 Not sure if it will evaluate to true, but if it does, then it does it probably for all your nodes. Just assuming you have a "class C" network (subnet = 255.255.255.0) then y...
by TD-er
29 Nov 2021, 11:27
Forum: ESP Easy: Software
Topic: system variable after boot
Replies: 7
Views: 221

Re: system variable after boot

Not sure if your conclusion is correct, or not all is clear to me ;)

The sysinfo task may report wrong info on its first call, as that's done before WiFi is initialized.
So you may want to call taskrun on that task as soon as you see the WiFi#Connected event.
by TD-er
29 Nov 2021, 00:54
Forum: ESP Easy: Software
Topic: system variable after boot
Replies: 7
Views: 221

Re: system variable after boot

To be slightly more specific with the link to the events: https://espeasy.readthedocs.io/en/lates ... ore-events

But Ton's link may provide more examples.
Better read both :)
by TD-er
29 Nov 2021, 00:51
Forum: ESP Easy: Hardware
Topic: MCP23017 - read pin state [plugin#mcpgpio#pinstate#1]
Replies: 8
Views: 252

Re: MCP23017 - read pin state [plugin#mcpgpio#pinstate#1]

Not entirely sure if this makes the difference (have to look into the code, but I decided to go to bed like 15 mins ago....) See: https://espeasy.readthedocs.io/en/latest/Rules/Rules.html?highlight=pinstate#special-task-names [Plugin#MCP#Pinstate#N] to get the pin state of a MCP pin. You're using no...
by TD-er
28 Nov 2021, 14:01
Forum: ESP Easy: Software
Topic: Free Memory
Replies: 1
Views: 128

Re: Free Memory

Well the Wiki is quite outdated. On old builds all web pages were rendered in memory and thus you needed to have quite a lot of memory free to serve the web pages. Now we render all web pages while it is being transferred to your browser, thus you only need a fraction of free memory. The reason the ...
by TD-er
28 Nov 2021, 13:51
Forum: ESP Easy: Software
Topic: Wifi Reconnect: Will Update to 2.0 help?
Replies: 3
Views: 151

Re: Wifi Reconnect: Will Update to 2.0 help?

Switching to 802.11 b/g only mode (tools -> Advanced page, but might not yet be present in 2018 builds) may give you some extra headroom in RSSI levels. The RSSI will not improve, but the WiFi connection may be more stable at low RSSI values. N.B. some access points also allow you to switch to b/g o...
by TD-er
27 Nov 2021, 16:21
Forum: ESP Easy: Software
Topic: Notify using ssl/tls
Replies: 21
Views: 9037

Re: Notify using ssl/tls

Hmm missing timestamp in the mail header is a good point.
Can you make an issue for it on GitHub?
by TD-er
27 Nov 2021, 15:14
Forum: ESP Easy: General Discussion
Topic: Cant compile ESP Easy with Arduino
Replies: 9
Views: 259

Re: Cant compile ESP Easy with Arduino

The libs may have been modified to be used with ESPEasy, so you should use the files in the libs dir of the ESPEasy repository.
Not using the library manager of Arduino IDE.
by TD-er
26 Nov 2021, 22:29
Forum: ESP Easy: Hardware
Topic: Esp Easy max7219 Dot Matrix
Replies: 13
Views: 5018

Re: Esp Easy max7219 Dot Matrix

Is the dot matrix task then disabled? ESPEasy has a mechanism where it detects quick reboots. After 10 of such incomplete boot sequences, it starts disabling tasks and then controllers, one by one. So this may help prevent the ESP to remain inaccessible if a plugin or controller misbehaves (read: ca...
by TD-er
26 Nov 2021, 20:27
Forum: ESP Easy: General Discussion
Topic: Cant compile ESP Easy with Arduino
Replies: 9
Views: 259

Re: Cant compile ESP Easy with Arduino

Also please do yourself a really big favor and don't use Arduino IDE.
A number of defines -which are needed- are done in PlatformIO scripts. You can set them yourself in Arduino IDE, but it probably is quite a lot of work to keep it working and to find them all.
by TD-er
26 Nov 2021, 20:25
Forum: ESP Easy: General Discussion
Topic: Cant compile ESP Easy with Arduino
Replies: 9
Views: 259

Re: Cant compile ESP Easy with Arduino

Are you using the libraries as they are in the lib directory of the repository?
by TD-er
26 Nov 2021, 12:16
Forum: ESP Easy: Hardware
Topic: PC fan control with ESP8266 – 3-pin or 4-pin PWM fans?
Replies: 2
Views: 228

Re: PC fan control with ESP8266 – 3-pin or 4-pin PWM fans?

Main difference between 3 and 4 pins is that the 4 pin variant allows to control the speed by sending a PWM signal to the fan. The 3-pin variant only allows to count the pulses from the fan. Since you need to control several fans, the return signal of all fans has to be counted separately as each fa...
by TD-er
24 Nov 2021, 18:19
Forum: ESP Easy: Software
Topic: How to save the data into the ESP8266
Replies: 1
Views: 199

Re: How to save the data into the ESP8266

If you use a controller to send the data, then there should be a queue from which items are only removed if successful transferred, or the number of attempts is more than the set nr of retries.
by TD-er
23 Nov 2021, 22:57
Forum: ESP Easy: Projects / Applications
Topic: Advanced thermostat for boiler
Replies: 2
Views: 384

Re: Advanced thermostat for boiler

You know, this project of yours is basically the same idea I have had for years now. I always wanted to make the "perfect thermostat", which in my opinion is a thermostat without a single button. It simply must manage the perfect comfort in the house. Of course for "learning" pur...
by TD-er
23 Nov 2021, 13:03
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 163
Views: 121113

Re: ESPEasy to control air conditioners / heat pumps

I'm not really sure if this is the correct place to ask, as it gets very specific very quickly. We do use this library for the IR handling: https://github.com/crankyoldgit/IRremoteESP8266 If someting is missing or should be extended in the IR decoder, then it must be done there (too) as we frequentl...
by TD-er
23 Nov 2021, 12:54
Forum: Introduce yourself
Topic: Hi From Germany
Replies: 4
Views: 132

Re: Hi From Germany

I do think Home Assistant does have more active development, so if I would start now, I guess that would be my choice. However, when I tested it like 3 years ago, you still had to edit a lot of YAML files manually. One typo (tab vs space for example) would render the reload fail. But given the extre...
by TD-er
22 Nov 2021, 19:32
Forum: ESP Easy: Projects / Applications
Topic: In-soil/Underground application of SHT1x & DS18B20
Replies: 29
Views: 2507

Re: In-soil/Underground application of SHT1x & DS18B20

When in doubt about the sensor, you could try it on a separate ESP.
by TD-er
22 Nov 2021, 19:25
Forum: ESP Easy: Software
Topic: Email notification on Low Battery Voltage [notify in rules]
Replies: 15
Views: 657

Re: Email notification on Low Battery Voltage [notify in rules]

Code: Select all

[...]
  if %eventvalue%>=3.5
    [....]
  elseif %eventvalue%<3.5 and [Notification#SendFlag]=0
[...]
The elseif can be simplified, since the first part is the opposite of the first if part :)

Code: Select all

[...]
  if %eventvalue%>=3.5
    [....]
  elseif [Notification#SendFlag]=0
[...]
by TD-er
22 Nov 2021, 17:12
Forum: ESP Easy: Software
Topic: Email notification on Low Battery Voltage [notify in rules]
Replies: 15
Views: 657

Re: Email notification on Low Battery Voltage [notify in rules]

Where do you read the rules?
Given the nature of the events you try to catch, you may only see these log items via serial log.
by TD-er
22 Nov 2021, 11:39
Forum: ESP Easy: Hardware
Topic: WT32-ETH01
Replies: 92
Views: 32524

Re: WT32-ETH01

If you have another of those modules, maybe you can (later) try it. The LAN7820 is not as ESD resistant as I would have hoped. I do have 2 boards here that show symptoms of ESD damage (or maybe bad solder joints?) which are not found anymore by the ESP, but the LED comes to life when you plugin in a...
by TD-er
22 Nov 2021, 11:31
Forum: ESP Easy: Hardware
Topic: WT32-ETH01
Replies: 92
Views: 32524

Re: WT32-ETH01

I don't know if the phase of the clock matters here. GPIO-17 is the inverse signal of GPIO-16 (at least when it is set to be used as clock) So you may also try GPIO-16. Does the log suggest the ETH board is found? FOund something AP Mode: Client connected:Connected devices: 1 213841: UNKNOWN WIFI/E...
by TD-er
22 Nov 2021, 11:28
Forum: ESP Easy: Hardware
Topic: WT32-ETH01
Replies: 92
Views: 32524

Re: WT32-ETH01

The summary like "ETH PHY Type: " should even be printed before it attempts to initialize the eth module.
Make sure it is still set to use Ethernet and not WiFi.
by TD-er
22 Nov 2021, 11:13
Forum: ESP Easy: Hardware
Topic: WT32-ETH01
Replies: 92
Views: 32524

Re: WT32-ETH01

I don't know if the phase of the clock matters here.
GPIO-17 is the inverse signal of GPIO-16 (at least when it is set to be used as clock)
So you may also try GPIO-16.

Does the log suggest the ETH board is found?
by TD-er
22 Nov 2021, 11:05
Forum: ESP Easy: Hardware
Topic: WT32-ETH01
Replies: 92
Views: 32524

Re: WT32-ETH01

You probably need to pull the enable pin down via a 4k7 resistor.
And how is the clock signal connected to the ESP?
by TD-er
22 Nov 2021, 10:44
Forum: ESP Easy: Hardware
Topic: WT32-ETH01
Replies: 92
Views: 32524

Re: WT32-ETH01

Pleae try with I2C address set to 1
by TD-er
22 Nov 2021, 10:17
Forum: ESP Easy: Hardware
Topic: WT32-ETH01
Replies: 92
Views: 32524

Re: WT32-ETH01

If Google translate didn't mess up, then I think this is almost exactly what I described: Either disable the crystal during boot by connecting the OSC_EN pin with the eth power pin (which can be configured in ESPEasy) Only you have to probably invert the signal, hence my remark for the transistor. T...
by TD-er
22 Nov 2021, 09:44
Forum: ESP Easy: Hardware
Topic: WT32-ETH01
Replies: 92
Views: 32524

Re: WT32-ETH01

What do you mean by only working with a custom build? Which eth module do you use? And what do you mean with "how starting it with my esp." I assumed it was about the GPIO-0 being toggled at boot. Another way is to let the ESP32 send the clock to the eth board, but that probably requires m...