Search found 4529 matches

by TD-er
19 Apr 2021, 20:01
Forum: ESP Easy: Hardware
Topic: Support for PZEM 004T Energy monitor
Replies: 267
Views: 467875

Re: Support for PZEM 004T Energy monitor

The build script detects when a compiled bin file exceeds its maximum size.
So if it wasn't included in the ZIP, it very likely exceeded the max. size you can flash.
by TD-er
19 Apr 2021, 08:40
Forum: ESP Easy: Projects / Applications
Topic: How to log the water level in a well pipe
Replies: 6
Views: 71

Re: How to log the water level in a well pipe

You can still use the circuit on one of those capacitive soil sensors. Remember, the distance between the "plates" matters, so my first guess would be to use the two wires of a pair as opposite 'plates' of te capacitor. But I don't know how the distance to water affects the capacitance. In...
by TD-er
19 Apr 2021, 00:33
Forum: ESP Easy: Software
Topic: IR transmiter
Replies: 1
Views: 20

Re: IR transmiter

Have you noticed that in the ZIP file there are several binary files?
Some of them have "IR" in their names.
Please try one of those with the proper flash size definition (e.g. 4M1M for 4MB flash with 1 MB of filesystem)
See also the Readme.txt file in the ZIP.
by TD-er
18 Apr 2021, 22:13
Forum: ESP Easy: Software
Topic: Using clock, timer and PIR to send IR transmitter command
Replies: 4
Views: 48

Re: Using clock, timer and PIR to send IR transmitter command

I just removed the SSID/pass from your post
by TD-er
18 Apr 2021, 21:29
Forum: ESP Easy: Projects / Applications
Topic: How to log the water level in a well pipe
Replies: 6
Views: 71

Re: How to log the water level in a well pipe

24mm is a bit too small for an ultrasonic sensor. I think the capacitive approach is still the best option, but maybe not by using the plant sensor things, but maybe constructing it from something similar to CAT5 cable. A capacitor is just 2 plates close to each other, but not touching. Water surrou...
by TD-er
18 Apr 2021, 19:06
Forum: ESP Easy: Software
Topic: Strange behavior MH-Z19B sensor
Replies: 5
Views: 56

Re: Strange behavior MH-Z19B sensor

Use "Custom" sensor type in Domoticz.
That's working fine for over 3 years on my setup.
by TD-er
18 Apr 2021, 13:11
Forum: ESP Easy: Software
Topic: Strange behavior MH-Z19B sensor
Replies: 5
Views: 56

Re: Strange behavior MH-Z19B sensor

I wonder why it was working as an air quality sensor in the first place. Domoticz does have a sensor type "CO2", but that one does need "the other" type we're sending (either we're sending the Nvalue and it needs the Svalue or vice verse) so that would not have worked at all. Not...
by TD-er
18 Apr 2021, 10:34
Forum: ESP Easy: Projects / Applications
Topic: How to log the water level in a well pipe
Replies: 6
Views: 71

Re: How to log the water level in a well pipe

What material is this pipe made of? If it is non-metal, then you could think of those "soil meters" which measure the soil to see if the plants need water by measuring capacitance. These could then be taped at the outside of the pipe at specific places to measure whether there is water nea...
by TD-er
18 Apr 2021, 10:22
Forum: ESP Easy: Software
Topic: Using clock, timer and PIR to send IR transmitter command
Replies: 4
Views: 48

Re: Using clock, timer and PIR to send IR transmitter command

I woudl start with keeping track of "not detected in last N minutes". Let's assume you get an event when receiving a PIR signal. Not sure how the event is formatted, but let's call it "PIR#value". When receiving this event, you set a timer to 60 minutes. See: https://espeasy.read...
by TD-er
17 Apr 2021, 15:25
Forum: ESP Easy: Software
Topic: Plugin 133 VL53L0X I2C Ranging LIDAR
Replies: 23
Views: 4757

Re: Plugin 133 VL53L0X I2C Ranging LIDAR

Of course you need to make a build with your Custom.h.
And you don't need to wipe the entire unit by writing a blank image to it, you should be able to flash the new build via the web interface (as long as you keep the same layout like "4M1M")
by TD-er
17 Apr 2021, 15:21
Forum: ESP Easy: Hardware
Topic: Controlling 3 Fans with Wemos D1 Mini
Replies: 3
Views: 67

Re: Controlling 3 Fans with Wemos D1 Mini

Depends on what kind of motor you're using. Usually the rpm of a DC motor is controlled by the voltage and the load. This could be controlled via PWM, but I guess you may also need some capacitor to make sure it doesn't work as a brake. Also don't forget to place a diode over the motor to protect th...
by TD-er
16 Apr 2021, 21:48
Forum: ESP Easy: Software
Topic: Plugin 133 VL53L0X I2C Ranging LIDAR
Replies: 23
Views: 4757

Re: Plugin 133 VL53L0X I2C Ranging LIDAR

[...] With that said I do still have a question. Some of my settings like NTP server and Default MQTT PUB and SUB didn't get set any idea why that would be if the flash was successful? Those will only be set when creating a new config. Either a new install (NTP settings) or adding a new controller ...
by TD-er
16 Apr 2021, 21:46
Forum: ESP Easy: Software
Topic: Plugin 133 VL53L0X I2C Ranging LIDAR
Replies: 23
Views: 4757

Re: Plugin 133 VL53L0X I2C Ranging LIDAR

Yep, that Custom.h can still be used for Custom builds. It is either using the Custom.h file or (exclusive OR) the custom Python file. The build scripts detect if the Custom.h is present and then use that instead of the pre_custom_espNNN.py file. C:\Users\myname\.platformio\packages\framework-arduin...
by TD-er
16 Apr 2021, 15:16
Forum: ESP Easy: Software
Topic: Plugin 133 VL53L0X I2C Ranging LIDAR
Replies: 23
Views: 4757

Re: Plugin 133 VL53L0X I2C Ranging LIDAR

What is the content of your Custom.h file? Please have a look at the file define_plugin_sets.h: /******************************************************************************\ * Libraries dependencies ***************************************************** \*******************************************...
by TD-er
16 Apr 2021, 13:59
Forum: Introduce yourself
Topic: Hello from Luebeck
Replies: 1
Views: 13

Re: Hello from Luebeck

Welcome and glad you got things working and got enthusiast about it too :)
by TD-er
16 Apr 2021, 08:35
Forum: ESP Easy: Software
Topic: Plugin 133 VL53L0X I2C Ranging LIDAR
Replies: 23
Views: 4757

Re: Plugin 133 VL53L0X I2C Ranging LIDAR

[...] Do I just need to keep adding new lib files? The libs you should get from the lib directory, not trying to install via the library manager of the Arduino IDE as some libraries do not exist in the Arduino Library manager and some have ESPEasy specific changes which are not present in the origi...
by TD-er
15 Apr 2021, 23:43
Forum: ESP Easy: General Discussion
Topic: Wifi Setup Wizard / D1 Mini ESP8266
Replies: 5
Views: 121

Re: Wifi Setup Wizard / D1 Mini ESP8266

Sad to hear it is taken so long to get it to work, but on the other hand good to know the changes I have been working on the last 2 days is going to be appreciated as I promise you it will be a lot more intuitive in the next nightly build (probably this weekend or Monday) Still have to test a few mo...
by TD-er
15 Apr 2021, 13:18
Forum: ESP Easy: General Discussion
Topic: Wifi Setup Wizard / D1 Mini ESP8266
Replies: 5
Views: 121

Re: Wifi Setup Wizard / D1 Mini ESP8266

After a successful connect attempt it will save the credentials. I'm working -as we speak- on the setup procedure which is far from perfect. For now, as you just flashed the unit, I guess you can easily access it via serial. So then it is the easiest to set the credentials by hand via serial: wifiss...
by TD-er
14 Apr 2021, 13:38
Forum: ESP Easy: General Discussion
Topic: Platformio and ESPEasy: firmware perso
Replies: 12
Views: 419

Re: Platformio and ESPEasy: firmware perso

I made an issue for this: https://github.com/letscontrolit/ESPEasy/issues/3577

I had planned to make a new nightly build this evening, but I guess this really has to be dealt with before I make a new nightly build.
by TD-er
14 Apr 2021, 13:09
Forum: ESP Easy: General Discussion
Topic: Platformio and ESPEasy: firmware perso
Replies: 12
Views: 419

Re: Platformio and ESPEasy: firmware perso

What if you update the URL to use a more recent tag like this: https://cdn.jsdelivr.net/gh/letscontrol ... efault.css
That still does seem to work... for now
But I don't think this is a good way to continue using the GitHub CDN servers.
by TD-er
14 Apr 2021, 13:04
Forum: ESP Easy: General Discussion
Topic: Platformio and ESPEasy: firmware perso
Replies: 12
Views: 419

Re: Platformio and ESPEasy: firmware perso

OK, that must have been a recent change then....
I will have a look at it.
by TD-er
14 Apr 2021, 08:44
Forum: ESP Easy: General Discussion
Topic: Platformio and ESPEasy: firmware perso
Replies: 12
Views: 419

Re: Platformio and ESPEasy: firmware perso

You can define WEBSERVER_CSS in your Custom.h (or the .py files you may have changed to build your version)

Code: Select all

#define WEBSERVER_CSS
by TD-er
13 Apr 2021, 23:17
Forum: ESP Easy: Software
Topic: Ping Plugin
Replies: 34
Views: 11125

Re: Ping Plugin

What exact build did you use? The builds should all use the same code base and only differ on the number of plugins included. There are builds with some additional changes like "alt_wifi" or "beta" in the name. "alt_wifi" does use a different build of the (closed source...
by TD-er
13 Apr 2021, 23:13
Forum: ESP Easy: Software
Topic: flash writes happen to often.....?
Replies: 4
Views: 111

Re: flash writes happen to often.....?

Yep, that's what the code suggests, which I browsed when typing the answer to your question :)

The total writes counter is large enough, that it can hold more writes than the flash can handle (32 bit int)
by TD-er
13 Apr 2021, 23:11
Forum: ESP Easy: Hardware
Topic: Neo-7M replacement for Neo-6
Replies: 23
Views: 368

Re: Neo-7M replacement for Neo-6

Ah good to know.
I also have some GPS units here which hardly get a time fix, let alone a position fix.
I will try to use a different antenna on them.
by TD-er
13 Apr 2021, 23:10
Forum: ESP Easy: General Discussion
Topic: Platformio and ESPEasy: firmware perso
Replies: 12
Views: 419

Re: Platformio and ESPEasy: firmware perso

That looks like you're running a build that doesn't include the static files.
A very quick-and-easy fix (without even rebuilding) is copy the missing files to your file system as described here: https://espeasy.readthedocs.io/en/lates ... is-al-mean
by TD-er
13 Apr 2021, 15:44
Forum: ESP Easy: Hardware
Topic: Neo-7M replacement for Neo-6
Replies: 23
Views: 368

Re: Neo-7M replacement for Neo-6

Ah OK, missed that part somehow....
by TD-er
13 Apr 2021, 15:39
Forum: ESP Easy: Software
Topic: flash writes happen to often.....?
Replies: 4
Views: 111

Re: flash writes happen too often.....?

Daily flash write counts is reset after 86400 seconds since last reset of this counter.
The "38" in your example is the number of flash writes since last boot.
by TD-er
13 Apr 2021, 08:31
Forum: ESP Easy: General Discussion
Topic: Rules running out of space
Replies: 18
Views: 5510

Re: Rules running out of space

Just to be clear, what do you mean by "new rules engine" ?
There is also a flag in the Tools->Advanced settings which has this name (and should soon be replaced by "experimental rules, do not use")
by TD-er
12 Apr 2021, 23:35
Forum: ESP Easy: Software
Topic: Ping Plugin
Replies: 34
Views: 11125

Re: Ping Plugin

Piratee wrote: 12 Apr 2021, 22:43 I once tried to complicate EspEasy from source but failed. I will do another approach.
Have you tried the 'nightly builds' ? https://github.com/letscontrolit/ESPEasy/releases
by TD-er
12 Apr 2021, 23:34
Forum: ESP Easy: General Discussion
Topic: espeasy device locks up once in a while
Replies: 5
Views: 148

Re: espeasy device locks up once in a while

Send Gratuituous ARP is indeed a bit helpful in preventing the ARP issues.
But like I said, missing ARP requests is not the only problem here.
by TD-er
12 Apr 2021, 21:13
Forum: ESP Easy: General Discussion
Topic: Rule timer
Replies: 1
Views: 118

Re: Rule timer

Timers are global.
You can see the rules files as being one concatenated big rules file (except a block of "on ... endon" should be in the same file)

If my memory serves me well, there are 8 timers. At least there used to be, not 100% if I removed that limit.
by TD-er
12 Apr 2021, 21:08
Forum: ESP Easy: General Discussion
Topic: espeasy device locks up once in a while
Replies: 5
Views: 148

Re: espeasy device locks up once in a while

Just a short (hopefully not too short) introduction on how "Layer 2" networking works. Each network device has a MAC address, which is supposed to be unique for every network device ever sold. Communication between network devices is done based on these MAC addresses. This level of communi...
by TD-er
12 Apr 2021, 20:43
Forum: ESP Easy: Software
Topic: Why the "if %systime% condition doesn't work both ways?
Replies: 3
Views: 156

Re: Why the "if %systime% condition doesn't work both ways?

I edited your post to add code wrappers, which makes it quite easy why your code does not work. Each "if" should end with an "endif" and "on" should end with "endon". Example taken from the rules documentation: on <trigger> do if <test> <action> <action> endif...
by TD-er
12 Apr 2021, 20:38
Forum: ESP Easy: Hardware
Topic: Neo-7M replacement for Neo-6
Replies: 23
Views: 368

Re: Neo-7M replacement for Neo-6

What was the fix for the HW serial port?
Using pull-up resistors?
by TD-er
12 Apr 2021, 17:20
Forum: ESP Easy: Hardware
Topic: Connecting an ads1115 to an esp32
Replies: 14
Views: 222

Re: Connecting an ads1115 to an esp32

The gain is described in the datasheet I linked before.
On the bottom half of the task configuration for the ADS you use there is a number of fields.
One for the value name, formula and nr of decimals.

The formula can be something like this:

Code: Select all

%value%*2
by TD-er
12 Apr 2021, 14:58
Forum: ESP Easy: Projects / Applications
Topic: ESPeasy - plugin for Shutters and Blinds
Replies: 6
Views: 219

Re: ESPeasy - plugin for Shutters and Blinds

I do agree with the timing issues in rules parsing. However even when you act on the GPIO pin directly you do not have a guaranteed response time on an action as some plugins temporary disable interrupts to get proper readings. Also WiFi related code may operate on a higher interrupt level which als...
by TD-er
12 Apr 2021, 14:49
Forum: ESP Easy: Projects / Applications
Topic: Voltage-based trigger on Wemos D1/ESP8266 – How?
Replies: 7
Views: 231

Re: Voltage-based trigger on Wemos D1/ESP8266 – How?

<r>5.8 GHz should not interfere with 2.4 GHz WiFi. Maybe it can interfere with 802.11ac in the U-NII-3 band, however that's hardly used here.<br/> Only semi-professional WiFi gear which does use a different radio for communicating between APs to allow for a more stable WiFi bridge (or mesh) may use ...
by TD-er
12 Apr 2021, 13:37
Forum: ESP Easy: Hardware
Topic: Connecting an ads1115 to an esp32
Replies: 14
Views: 222

Re: Connecting an ads1115 to an esp32

Are you sure those are the pins defined on the ESP32 in your setup? (Hardware tab) If you can't find anything via the scan, you may need to add 2 pull-up resistors of roughly 4k7 - 10k between the I2C pins and the 3v3 Do not swap SCL and SDA, as you may be used to with serial connections (serial RX/...
by TD-er
12 Apr 2021, 10:59
Forum: ESP Easy: Hardware
Topic: Connecting an ads1115 to an esp32
Replies: 14
Views: 222

Re: Connecting an ads1115 to an esp32

Yep, what Ton said... The max analog input voltage is related to the supplied power to the sensor. You should not go above that Vdd of the sensor. You could power it from 5V, but then you also must take care of the I2C signals coming from the sensor to make sure they are not at 5V too as that may ca...
by TD-er
12 Apr 2021, 09:19
Forum: ESP Easy: Projects / Applications
Topic: ESPeasy - plugin for Shutters and Blinds
Replies: 6
Views: 219

Re: ESPeasy - plugin for Shutters and Blinds

Sounds like something you can do in rules. Something like an event to move up or down. - Check variable to see if some action is already active (if active generate event as if the limit switch of that action was triggered) - Set a variable to know we're waiting for the opposite limit switch - Start ...
by TD-er
12 Apr 2021, 08:28
Forum: ESP Easy: Hardware
Topic: Connecting an ads1115 to an esp32
Replies: 14
Views: 222

Re: Connecting an ads1115 to an esp32

It is an I2C sensor, so you must connect it to the pins assigned to the I2C bus. On the Hardware tab you can see which pins to use for SDA and SCL (or change it if needed). See the datasheet of the sensor for more information of the sensor. Most I2C sensor boards already have pull-up resistors prese...
by TD-er
12 Apr 2021, 08:15
Forum: ESP Easy: Projects / Applications
Topic: Voltage-based trigger on Wemos D1/ESP8266 – How?
Replies: 7
Views: 231

Re: Voltage-based trigger on Wemos D1/ESP8266 – How?

Turning 5V into 3v3 pulse signal isn't that hard using 2 resistors as a voltage divider. The cheap radar sensor does also work on lower voltages, but it is then behaving quite different, so maybe it is the same with this one... It may work but not the same. Also keep in mind these sensors may be aff...
by TD-er
11 Apr 2021, 23:28
Forum: ESP Easy: Projects / Applications
Topic: Voltage-based trigger on Wemos D1/ESP8266 – How?
Replies: 7
Views: 231

Re: Voltage-based trigger on Wemos D1/ESP8266 – How?

The reason I advise to go for a separate power supply is mainly because I would like to keep users alive :) and also because I suspect the power supply in that sensor will not be powerfull enough to deliver peaks of upto 500 mA to the ESP which it may draw when starting WiFi. Even the Sonoff power s...
by TD-er
11 Apr 2021, 20:52
Forum: ESP Easy: Projects / Applications
Topic: ESPeasy - plugin for Shutters and Blinds
Replies: 6
Views: 219

Re: ESPeasy - plugin for Shutters and Blinds

How are the shutters and blinds controlled?
Via a stepper motor? Or a servo? DC motor with limit switches?
by TD-er
11 Apr 2021, 20:50
Forum: ESP Easy: Projects / Applications
Topic: Voltage-based trigger on Wemos D1/ESP8266 – How?
Replies: 7
Views: 231

Re: Voltage-based trigger on Wemos D1/ESP8266 – How?

I have not played with those modules. But since it is working on mains power, you really should be cautious as most of those units do not have proper isolations from mains. What you can do is replace the relais with an LED + an optocoupler. Depending on the relais voltage you can either place the LE...
by TD-er
11 Apr 2021, 20:40
Forum: ESP Easy: General Discussion
Topic: Rules running out of space
Replies: 18
Views: 5510

Re: Rules running out of space

Hmm the file should be saved anyway. I have tested it before and rules upto 6 - 7 k were working fine (did not test larger ones)
The mentioned file limit is a left-over from before we saved the rules using JavaScript via the upload URL.
by TD-er
11 Apr 2021, 20:37
Forum: ESP Easy: Software
Topic: Ping Plugin
Replies: 34
Views: 11125

Re: Ping Plugin

It should be part of the "testing" build (ESP8266 at least)
by TD-er
11 Apr 2021, 20:35
Forum: ESP Easy: Software
Topic: New rules engine
Replies: 12
Views: 6453

Re: New rules engine

The "new rules" will not be continued as they lack much more and also do not work very intuitively.
So please use the "old rules" system.
by TD-er
11 Apr 2021, 20:33
Forum: ESP Easy: General Discussion
Topic: 20112 - Mega // How to activate rules
Replies: 2
Views: 137

Re: 20112 - Mega // How to activate rules

Please don't use the "new rules"
I will mark them as "experimental (do not use)" as the current label is confusing..