Search found 9153 matches

by TD-er
26 Sep 2024, 21:50
Forum: ESP Easy: General Discussion
Topic: PlatformIO and custom compilation
Replies: 14
Views: 649

Re: PlatformIO and custom compilation

And download the ZIP from GitHub, not from the releases page.
Screenshot 2024-09-26 214955.png
Screenshot 2024-09-26 214955.png (189.89 KiB) Viewed 584 times
by TD-er
26 Sep 2024, 21:20
Forum: ESP Easy: General Discussion
Topic: PlatformIO and custom compilation
Replies: 14
Views: 649

Re: PlatformIO and custom compilation

Just make sure to checkout the files using Git and not just downloading ZIP files from the release page. Sometimes files get renamed or moved, so when copying a ZIP file over the old source code tree will then result in build issues and I've seen some issues when using ZIP files from the releases pa...
by TD-er
26 Sep 2024, 09:08
Forum: ESP Easy: General Discussion
Topic: PlatformIO and custom compilation
Replies: 14
Views: 649

Re: PlatformIO and custom compilation

I'm not 100% sure I understand what you're asking. Did you make changes to ESPEasy for your builds? Or is it just changing the Custom.h file? If it is just the Custom.h file, you can just fetch the latest sources and build it. If you have made changes to ESPEasy, then I would suggest you work on a f...
by TD-er
26 Sep 2024, 07:46
Forum: ESP Easy: Projects / Applications
Topic: Gas meter with Hall Sensor, counting via ADC (A0)
Replies: 18
Views: 5630

Re: Gas meter with Hall Sensor, counting via ADC (A0)

dp1971@gmail.com wrote: 26 Sep 2024, 06:18 Here is the answer if you like to use mqtt
https://github.com/CraigHoffmann/water-meter-reader
Why suggest an entirely different project with only 1 purpose on a forum about ESPEasy which can do the same and more?
by TD-er
24 Sep 2024, 23:34
Forum: ESP Easy: General Discussion
Topic: Calculation formula for pH display with the PH-4502C module
Replies: 7
Views: 448

Re: Calculation formula for pH display with the PH-4502C module

Just make sure you end both calibration values for both points at the same time, when swapping the values.
When saving, ESPEasy will try to match the first one to an integer value, by extrapolating.
So you need to have both entered or else you will get an offset for obvious reasons :)
by TD-er
24 Sep 2024, 21:11
Forum: ESP Easy: General Discussion
Topic: Calculation formula for pH display with the PH-4502C module
Replies: 7
Views: 448

Re: Calculation formula for pH display with the PH-4502C module

I was just thinking... why don't you use the calibration?
The formula you derived is a linear function, so you can just compute 2 points and fill them in the calibration.
by TD-er
24 Sep 2024, 18:19
Forum: ESP Easy: General Discussion
Topic: Calculation formula for pH display with the PH-4502C module
Replies: 7
Views: 448

Re: Calculation formula for pH display with the PH-4502C module

Is the measured voltage correct and not clipping?

Can you try to 'debug' the formula by using rules? (thus not using the formula field)

Code: Select all

on ads1115_ain1 do
  let,1,%eventvalue1%
  let,2,(%eventvalue1%-3.6015)/(-0.15)
  logentry,"ads1115_ain1 in: [var#1]  out [var#2]"
endon
by TD-er
22 Sep 2024, 11:03
Forum: ESP Easy: Projects / Applications
Topic: Communication between a PIC and an ESP8266
Replies: 5
Views: 453

Re: Communication between a PIC and an ESP8266

When connected to the serial port on which ESPEasy also has its 'console' running, you could send ESPEasy commands. So commands like "taskvalueset,1,23,45.6" (not the , is an argument separator, the . is the decimal separator) will work perfectly fine. You could also wrap things in events ...
by TD-er
19 Sep 2024, 12:45
Forum: ESP Easy: Software
Topic: P096 Lolin ePaper. Updatting screen without flikkering?
Replies: 3
Views: 407

Re: P096 Lolin ePaper. Updatting screen without flikkering?

You must realize that updating your e-ink screen frequently will literally wear out the pixels. The pixels are balls with some paint on 1 side. The display will literally rotate these balls. If you update your e-ink screen frequently (even partial update) your pixels will fade as the paint will wear...
by TD-er
14 Sep 2024, 10:30
Forum: ESP Easy: General Discussion
Topic: Distance sensor not working with release 20220809 and later
Replies: 1
Views: 419

Re: Distance sensor not working with release 20220809 and later

Can you make an issue for this on GitHub, otherwise this (valuable) info may get lost.
by TD-er
11 Sep 2024, 23:52
Forum: ESP Easy: General Discussion
Topic: How to change the AP mode SSID "ESP_Easy_0"
Replies: 4
Views: 13571

Re: How to change the AP mode SSID "ESP_Easy_0"

On the config tab
You can set the host name and unit nr.
by TD-er
11 Sep 2024, 15:36
Forum: ESP Easy: Hardware
Topic: Cannot enable SSD1306 LCD in Task Settings
Replies: 5
Views: 823

Re: Cannot enable SSD1306 LCD in Task Settings

Those boards with integrated OLED sometimes need to have some reset pin configured. And since ESPEasy by default does have "Check I2C devices when enabled" checked (tools->Advanced page), it will not allow you to keep the task enabled if the device cannot be found via I2C scan. You should ...
by TD-er
10 Sep 2024, 21:12
Forum: ESP Easy: General Discussion
Topic: MCP Status without device
Replies: 43
Views: 13499

Re: MCP Status without device

Also better not use "int32(2x)" unless you really need the extra bits to store your values. Not all controllers might be able to handle types which differ from the default float type. So if you need to store integer values which exceed 21 bits (roughly 2 million) you can switch this output...
by TD-er
10 Sep 2024, 18:09
Forum: ESP Easy: General Discussion
Topic: MCP Status without device
Replies: 43
Views: 13499

Re: MCP Status without device

You cannot set strings using taskvalueset.
Only numbers

If you need to store a complete IP-address, in a task, then you must do this per taskvalue.

I assume you need to keep it in a dummy task, to keep it to survive a reboot?
by TD-er
10 Sep 2024, 16:33
Forum: ESP Easy: General Discussion
Topic: MCP Status without device
Replies: 43
Views: 13499

Re: MCP Status without device

You can only set numerical values using taskvalueset.
And when you want to use taskvalueset on tasks which are not dummy tasks, then you have to enable this on the tools->Advanced page.
by TD-er
10 Sep 2024, 16:31
Forum: ESP Easy: General Discussion
Topic: MCP Status without device
Replies: 43
Views: 13499

Re: MCP Status without device

Yep, calculations are not done in strings. You need to store it in a variable using let. There are some exceptions like as a direct command parameter, then you need to prefix it using an = sign. For example: gpio,1,=!%eventvalue1% But this is not done (for obvious reasons) in string parsing replacem...
by TD-er
09 Sep 2024, 16:22
Forum: ESP Easy: General Discussion
Topic: does not connect any more to Hidden SSID
Replies: 17
Views: 1841

Re: does not connect any more to Hidden SSID

Hmm that's odd, I don't see (yet) what else might have changed which could have changed this behavior as I have looked into changed files which are related to WiFi between those 2 builds.
by TD-er
08 Sep 2024, 12:49
Forum: ESP Easy: General Discussion
Topic: does not connect any more to Hidden SSID
Replies: 17
Views: 1841

Re: does not connect any more to Hidden SSID

Can you try this test build:
https://github.com/letscontrolit/ESPEas ... 0758798363

Preferrably on a node which is good reachable when things go wrong.
by TD-er
08 Sep 2024, 10:54
Forum: ESP Easy: General Discussion
Topic: does not connect any more to Hidden SSID
Replies: 17
Views: 1841

Re: does not connect any more to Hidden SSID

I think I may have found something rather fishy in the changes since april build. In order to reduce the binary size of the builds, I have replaced some union structs with just bit-wise structs. However those will not be copied if the compiler generates a default copy constructor. So I am now lookin...
by TD-er
07 Sep 2024, 13:38
Forum: ESP Easy: General Discussion
Topic: does not connect any more to Hidden SSID
Replies: 17
Views: 1841

Re: does not connect any more to Hidden SSID

Just to be sure, those problematic units are ESP8266?
by TD-er
06 Sep 2024, 12:52
Forum: ESP Easy: Software
Topic: several PZEM004T to esp or just one
Replies: 25
Views: 6689

Re: several PZEM004T to esp or just one

The USB port you now used (reporting its serial port as "JTAG" in Windows Device Manager) is a simulated serial port. So the ESP does act as an USB device to Windows then. This also means it must do some stuff in software to emulate these ports. If for whatever reason your board was flashe...
by TD-er
04 Sep 2024, 12:46
Forum: ESP Easy: Projects / Applications
Topic: calibration BH1750 sensor
Replies: 4
Views: 1035

Re: calibration BH1750 sensor

I think the first question here should be if such a calibration would be a non-linear function? Those are hard to fit in formula or in rules. If it is just some kind of offset and/or factor (e.g. form of a*%value% + b) then the current formula option is perfectly suitable for this as this is univers...
by TD-er
03 Sep 2024, 16:37
Forum: ESP Easy: General Discussion
Topic: does not connect any more to Hidden SSID
Replies: 17
Views: 1841

Re: does not connect any more to Hidden SSID

Multiple DHCP calls is not uncommon as for example the DNS server entry is not among the standard fields in the reply.
No idea though why it would try to authorize twice.
by TD-er
03 Sep 2024, 15:38
Forum: ESP Easy: Software
Topic: several PZEM004T to esp or just one
Replies: 25
Views: 6689

Re: several PZEM004T to esp or just one

Nope you do not need to combine anything. Only a single file is needed. Just to be complete, when using the Espressif Download Tool: - For ESP8266 you need a ".bin" file and not the ".bin.gz" - For ESP32 (any variant) you need a bin file with "factory" in the name. The ...
by TD-er
03 Sep 2024, 15:32
Forum: ESP Easy: General Discussion
Topic: does not connect any more to Hidden SSID
Replies: 17
Views: 1841

Re: does not connect any more to Hidden SSID

OK, have to check this also (along with issues regarding WiFi on ESP-IDF5.3 for ESP32-C3/C6)

When do the WiFi issues stop?

The only closed-source part of all ESP chips and the one part giving me the most headaches.
by TD-er
03 Sep 2024, 12:04
Forum: ESP Easy: General Discussion
Topic: does not connect any more to Hidden SSID
Replies: 17
Views: 1841

Re: does not connect any more to Hidden SSID

Have you also tried forcing b/g mode?
by TD-er
03 Sep 2024, 10:57
Forum: ESP Easy: General Discussion
Topic: does not connect any more to Hidden SSID
Replies: 17
Views: 1841

Re: does not connect any more to Hidden SSID

Ah then this passive scan may have been only present on ESP32...? I just checked at the advanced options of a node I have running here which is running a build of July this year, so the feature should be present in the August build (unless it is an ESP32-only feature of course...) Problem with hidde...
by TD-er
03 Sep 2024, 10:24
Forum: ESP Easy: Hardware
Topic: Sonoff Dual R3 Esp32 damaged trace
Replies: 5
Views: 1436

Re: Sonoff Dual R3 Esp32 damaged trace

The GND is also exposed there, so make sure you do not create a short.
by TD-er
03 Sep 2024, 10:22
Forum: ESP Easy: General Discussion
Topic: does not connect any more to Hidden SSID
Replies: 17
Views: 1841

Re: does not connect any more to Hidden SSID

Which channel is the hidden SSID on?
If this is above channel 11, can you also try setting it to a different channel or uncheck "Passive WiFi Scan" ?
by TD-er
03 Sep 2024, 10:20
Forum: ESP Easy: General Discussion
Topic: does not connect any more to Hidden SSID
Replies: 17
Views: 1841

Re: does not connect any more to Hidden SSID

Do the hidden SSID's show up when performing a scan?
by TD-er
02 Sep 2024, 15:24
Forum: ESP Easy: Software
Topic: several PZEM004T to esp or just one
Replies: 25
Views: 6689

Re: several PZEM004T to esp or just one

Can you try with the Espressif Download tool? It is included in the release build ZIP files and also here: https://github.com/letscontrolit/ESPEasy/tree/mega/dist/flash_download_tool_3.9.6 Or you can download it from the Espressif site: https://www.espressif.com/en/support/download/all (called "...
by TD-er
02 Sep 2024, 12:56
Forum: ESP Easy: Hardware
Topic: Sonoff Dual R3 Esp32 damaged trace
Replies: 5
Views: 1436

Re: Sonoff Dual R3 Esp32 damaged trace

First question is how the trace got damaged like this. Is it due to prolonged soldering and thus delaminating the traces from the PCB? Before attempting to fix it, maybe you can see if other parts of the board may have been damaged? I don't know how the PCB of this board looks like, but if I'm not m...
by TD-er
02 Sep 2024, 12:17
Forum: ESP Easy: Software
Topic: several PZEM004T to esp or just one
Replies: 25
Views: 6689

Re: several PZEM004T to esp or just one

Just some additional info on Ton's reply. The S3 with 16M flash is available with and without PSRAM. However the 8 MB PSRAM is wired differently internal compared to the 2 MB PSRAM. For the ESP32-S3 with 8 MB PSRAM modules you need a specific build which has PSRAM in the name. If you're flashing the...
by TD-er
01 Sep 2024, 16:29
Forum: ESP Easy: Software
Topic: several PZEM004T to esp or just one
Replies: 25
Views: 6689

Re: several PZEM004T to esp or just one

What browser are you using? Chrome is for sure supposed to work. Those boards with 2 USB ports have one connected to native USB on the ESP chip and one to an USB to serial chip. So please also try the other USB port. Since those boards have 2x USB-C you may also want to try to rotate the USB cable 1...
by TD-er
30 Aug 2024, 20:11
Forum: ESP Easy: General Discussion
Topic: ESP Easy - hivemq
Replies: 10
Views: 2059

Re: ESP Easy - hivemq

And there won't be any as TLS is way to much demanding for ESP8266.
We simply do not have the free RAM for it as it requires 20 - 23 kB of free memory and it also extends the binary size way too much.

So no TLS for ESP8266 in ESPEasy.
by TD-er
30 Aug 2024, 17:10
Forum: ESP Easy: General Discussion
Topic: Time Source Problem
Replies: 9
Views: 2250

Re: Time Source Problem

p2p time sync may indeed have some issue when they are awake for a short time. I will have a look as this could indeed lead to serious time differences. The RTC time should at least be compensated for with the estimated sleep time, however this is absolutely not a stable timer. If you set 2 separate...
by TD-er
30 Aug 2024, 15:51
Forum: ESP Easy: General Discussion
Topic: Time Source Problem
Replies: 9
Views: 2250

Re: Time Source Problem

ESPEasy does keep track of time sources and their expected inaccuracy. Also the last time sync of that time source is taken into account to decide which one is best. For example, the most accurate one is GPS with a fix and used PPS pin. (order of usec in expected error) One of the least accurate/pre...
by TD-er
30 Aug 2024, 09:23
Forum: ESP Easy: General Discussion
Topic: Looking for annunciator / buzzer hardware recommendations
Replies: 9
Views: 1877

Re: Looking for annunciator / buzzer hardware recommendations

Yep I agree on Thomas' idea about the MP3 module. It is way easier to do and probably is easier on the battery life too. Just as long as you make sure any amp connected to it is also not powered when unused. So maybe you could even make the MP3 module play continuously and just switch the output as ...
by TD-er
29 Aug 2024, 14:31
Forum: ESP Easy: General Discussion
Topic: espeasy Device alle disable
Replies: 5
Views: 1628

Re: espeasy Device alle disable

You can also try to lower the I2C bus frequency. If all I2C devices are disabled, it might be only a single one is holding the I2C bus so no other device can communicate. If you have a lot of I2C devices connected, the total pull-up resistance might be too strong as most I2C boards do have those on ...
by TD-er
28 Aug 2024, 15:36
Forum: ESP Easy: General Discussion
Topic: ESP Easy - hivemq
Replies: 10
Views: 2059

Re: ESP Easy - hivemq

Have you tried with one of the test builds I linked?
by TD-er
28 Aug 2024, 11:06
Forum: ESP Easy: General Discussion
Topic: ESP Easy - hivemq
Replies: 10
Views: 2059

Re: ESP Easy - hivemq

Ah I notice you need TLS, which is not included right now in ESPEasy. There is a pending PR to add TLS support for MQTT, but this does not compile right now for "LittleFS" builds. Can you see if there is some build here you can test: https://github.com/letscontrolit/ESPEasy/actions/runs/10...
by TD-er
28 Aug 2024, 11:04
Forum: ESP Easy: General Discussion
Topic: ESP Easy - hivemq
Replies: 10
Views: 2059

Re: ESP Easy - hivemq

I just tried it here on a node and I can store the hostname just fine.
Apparently there is enough space (have not looked at the source code yet)
Screenshot 2024-08-28 110258.png
Screenshot 2024-08-28 110258.png (33.88 KiB) Viewed 2053 times
Screenshot 2024-08-28 110238.png
Screenshot 2024-08-28 110238.png (46.41 KiB) Viewed 2053 times
by TD-er
28 Aug 2024, 10:46
Forum: ESP Easy: General Discussion
Topic: ESP Easy - hivemq
Replies: 10
Views: 2059

Re: ESP Easy - hivemq

You normally should change to use DNS, but I'm not sure if such long URLs can be stored in the settings. So I think you may have found an issue which cannot be solved without changing settings structure. Does this broker platform also support some other ways like a shorter URL but then use this hex ...
by TD-er
28 Aug 2024, 07:49
Forum: ESP Easy: Software
Topic: CANBus dev
Replies: 10
Views: 2953

Re: CANBus dev

If you can work with delayed sending the data, then you could also (as in duplicate) send it to the "Cache Controller" and use an extra task "Cache reader" to send the stored data when you have a connection to a MQTT controller for instance. I am about to look into the whole netw...
by TD-er
28 Aug 2024, 00:34
Forum: ESP Easy: Software
Topic: CANBus dev
Replies: 10
Views: 2953

Re: CANBus dev

Not sure where you've read about the goal being WiFi. I have spent a lot (!!!) of time on various implementations of Ethernet modules. Now all ESP32-variants (all except ESP32-C2) support Ethernet. I even had to make pull requests for Arduino and ESP-IDF to add support for some like the M5Stack lite...
by TD-er
27 Aug 2024, 17:39
Forum: ESP Easy: General Discussion
Topic: Help, lost wifi connection
Replies: 24
Views: 4375

Re: Help, lost wifi connection

I know what kind of issues you can run into when provisioning multiple units. However I do not think versioning the files themselves in their filenames is the best to do. Quite often it is best to either arrange it in folders and/or split node specific rules into a separate rules file which is then ...
by TD-er
27 Aug 2024, 13:55
Forum: ESP Easy: General Discussion
Topic: Help, lost wifi connection
Replies: 24
Views: 4375

Re: Help, lost wifi connection

If this is running stable then just keep using it. 802.11n isn't bad, it is just a little less sensitive compared to 802.11b/g But since your AP seems to be received with an RSSI of -56 dBm, I think this is perfectly fine. After all, most access points do need some time when serving a number of stat...
by TD-er
27 Aug 2024, 13:18
Forum: ESP Easy: General Discussion
Topic: Help, lost wifi connection
Replies: 24
Views: 4375

Re: Help, lost wifi connection

But then the download cannot be directly uploaded again.

You can download the tar image (if feature included in your build), which does have these in the tar filename.
by TD-er
27 Aug 2024, 13:00
Forum: ESP Easy: General Discussion
Topic: Help, lost wifi connection
Replies: 24
Views: 4375

Re: Help, lost wifi connection

Maybe it is time for some 'recovery' image as this has also happened to me a few times.
For example one that does just rename the config.dat file
by TD-er
27 Aug 2024, 07:43
Forum: ESP Easy: General Discussion
Topic: Help, lost wifi connection
Replies: 24
Views: 4375

Re: Help, lost wifi connection

Check!
Just to be sure we're on the same page :)