Search found 8752 matches

by TD-er
11 Apr 2023, 09:11
Forum: ESP Easy: Hardware
Topic: ESP32 SonOff Dual R3 Schematics.
Replies: 23
Views: 18175

Re: ESP32 SonOff Dual R3 Schematics.

Maybe this is the same kind of "blow up": https://www.youtube.com/watch?v=qQ9Pxl4KAGw
by TD-er
10 Apr 2023, 22:14
Forum: ESP Easy: Hardware
Topic: Support for I2S microphone to have a sound level meter
Replies: 3
Views: 1261

Re: Support for I2S microphone to have a sound level meter

Problem with I2S is that it has really hard real-time requirements. So you need to have some DMA memory reserved which you must either fill (for output) or read (for input) in due time or else you get buffer-underrun or buffer overflow. If it is just for measuring some volume level, then it is a bit...
by TD-er
10 Apr 2023, 14:33
Forum: ESP Easy: Software
Topic: ESP32-CAM and mega-20230409
Replies: 17
Views: 2319

Re: ESP32-CAM and mega-20230409

yep, could be also due to the latest IDF and build toolchain.
by TD-er
10 Apr 2023, 11:06
Forum: ESP Easy: Software
Topic: ESP32-CAM and mega-20230409
Replies: 17
Views: 2319

Re: ESP32-CAM and mega-20230409

I did optimize a lot to reduce the bin size, but this seems more than I expected.
So I wonder if some things are now left out for some reason.
Maybe best to try it on some other ESP32 first to see if there are some plugins missing?
by TD-er
10 Apr 2023, 10:23
Forum: ESP Easy: Software
Topic: ESP32-CAM and mega-20230409
Replies: 17
Views: 2319

Re: ESP32-CAM and mega-20230409

Maybe you can test it by flashing the exact build (or one made by us from roughly that date) on another ESP32 module. Then try to OTA update it. The reason I'm suggesting this is because the bootloader has changed since we moved to IDF 4.4 And really taking every precaution possible, I also suggest ...
by TD-er
09 Apr 2023, 22:29
Forum: ESP Easy: Hardware
Topic: Pzem-016
Replies: 3
Views: 970

Re: Pzem-016

Not sure if it is compatible with the existing PZEM plugins.
But if it is, then it is indeed just a matter of using one of those cheap MAX485 level converter modules.
by TD-er
09 Apr 2023, 21:06
Forum: ESP Easy: General Discussion
Topic: Ina219 script isue
Replies: 18
Views: 2045

Re: Ina219 script isue

No, disable task 2, called "RE_lader"

I think this "Switch input" task for that GPIO pin may affect the change you intend to make via rules.
by TD-er
09 Apr 2023, 20:55
Forum: ESP Easy: General Discussion
Topic: Ina219 script isue
Replies: 18
Views: 2045

Re: Ina219 script isue

Hmm looking at your screenshot, you also have a input switch task for GPIO-14.
I think this may 'bite' each other if you also try to switch the GPIO pin state of that pin via rules.
Please disable that input switch task for GPIO-14 to see if this may help fix your rules issue.
by TD-er
09 Apr 2023, 20:53
Forum: ESP Easy: General Discussion
Topic: Ina219 script isue
Replies: 18
Views: 2045

Re: Ina219 script isue

Please double check also the task name to be "spanningsmeter" As I get it from your post, you first tried it on an ESP32 and then tried to mirror this onto an ESP8266. Since that task name for the INA219 isn't a default name, it is easy to overlook. Also check to see you haven't checked th...
by TD-er
09 Apr 2023, 19:19
Forum: ESP Easy: General Discussion
Topic: Very long time connecting to WiFi
Replies: 62
Views: 29257

Re: Very long time connecting to WiFi

Good to know users find improvements instead of serious bugs on a new build :)
Thanks.
by TD-er
07 Apr 2023, 22:01
Forum: ESP Easy: Hardware
Topic: ESP32 SonOff Dual R3 Schematics.
Replies: 23
Views: 18175

Re: ESP32 SonOff Dual R3 Schematics.

The max. voltage between 2 phases is more than 230 V.
More like 400V.
So I guess the components are too small for this higher voltage and thus may have caused sparks.

The diode next to a coil looks like it may be intended to prevent high voltages when the current changes through this coil.
by TD-er
07 Apr 2023, 12:44
Forum: ESP Easy: Hardware
Topic: ESP32-S2 Embedded PSRAM
Replies: 20
Views: 12870

Re: ESP32-S2 Embedded PSRAM

I did order 5 with PSRAM and 5 without, all from the same seller.... Just received them, 10 pcs with PSRAM :( So not sure whether I should feel "duped" as those with PSRAM are generally considered to be of "better value". N.B. Added ToDo for testing boards without PSRAM added to ...
by TD-er
07 Apr 2023, 10:38
Forum: ESP Easy: General Discussion
Topic: Evaluation: MQTT triggers Outputs
Replies: 4
Views: 861

Re: Evaluation: MQTT triggers Outputs

You can also give direct commands via MQTT as described in the docs for C005 you linked. For example to trigger an event in the rules with some eventvalue(s) and act on them via the rules. This way you can define a complete sequence of actions to be performed via a single message. Like starting a ti...
by TD-er
07 Apr 2023, 10:31
Forum: ESP Easy: Software
Topic: SCD30 - CO2 sensor
Replies: 118
Views: 258773

Re: SCD30 - CO2 sensor

Maybe there is some correlation with air pressure?
Or relative humidity? (or both?)
by TD-er
06 Apr 2023, 23:22
Forum: ESP Easy: Software
Topic: SCD30 - CO2 sensor
Replies: 118
Views: 258773

Re: SCD30 - CO2 sensor

No, what I mean is that the close to "400 ppm" doesn't hardly show any detail, just like it 'clips' at 400 ppm. This means the actual reported values are roughly 50-ish ppm too low on the S8. The SDC30_RAW does show much more detail and a believable decline in ppm values to 400 ppm. Only t...
by TD-er
06 Apr 2023, 21:20
Forum: ESP Easy: Software
Topic: SCD30 - CO2 sensor
Replies: 118
Views: 258773

Re: SCD30 - CO2 sensor

It looks like the ABC for the S8 is a bit off here.
As you can see, there is hardly any 'detail' near 400 ppm with your S8.
by TD-er
06 Apr 2023, 21:14
Forum: ESP Easy: Hardware
Topic: Support for I2S microphone to have a sound level meter
Replies: 3
Views: 1261

Re: Support for I2S microphone to have a sound level meter

Looks like a nice project, but I think it will be quite a lot of work to get it to work in ESPEasy. The simple reason is that we probably need to let this run on the 2nd core as it would otherwise render ESPEasy completely unresponsive. Since we don't have anything setup for multi-core processing ri...
by TD-er
05 Apr 2023, 21:36
Forum: ESP Easy: Hardware
Topic: Support for ESP32 S3
Replies: 4
Views: 2294

Re: Support for ESP32 S3

I also have them, waiting for some time for me to implement support for them.

I will probably implement both the S3 as well as the C3 at the same time.
by TD-er
05 Apr 2023, 21:35
Forum: ESP Easy: Hardware
Topic: Connecting a Rain Gauge
Replies: 14
Views: 16433

Re: Connecting a Rain Gauge

This can also be used for any other switch with relatively long wires.
by TD-er
04 Apr 2023, 21:06
Forum: ESP Easy: General Discussion
Topic: Seeking Home Automation Advice
Replies: 79
Views: 49856

Re: Seeking Home Automation Advice

Thus, for the WAF, it doesn't really Matter? :)
by TD-er
04 Apr 2023, 20:57
Forum: ESP Easy: Software
Topic: ChatGPT wrote a PID Controller
Replies: 5
Views: 3025

Re: ChatGPT wrote a PID Controller

Well I have seen others (not on April 1st) asking ChatGPT 3 to generate ESPEasy rules and it actually did write them.
Like you said, looking legit at first glance, but invalid syntax.
by TD-er
04 Apr 2023, 17:44
Forum: ESP Easy: General Discussion
Topic: GPIO triggering all the time
Replies: 2
Views: 824

Re: GPIO triggering all the time

You should either use it as shown for an input (e.g. with a button connected to it) or solely interact with the GPIO via rules.

To receive events when acting on it via rules, you should indeed call "monitor" for that GPIO pin.
by TD-er
03 Apr 2023, 09:24
Forum: ESP Easy: Projects / Applications
Topic: MQTT string in EspEasy
Replies: 6
Views: 1850

Re: MQTT string in EspEasy

Only the first eventvalue is checked for being a numerical. So you can add a dummy first eventvalue and then use the 2nd eventvalue. You can also use an * to make sure it isn't only trying to match numericals. See: https://espeasy.readthedocs.io/en/latest/Rules/Rules.html#using-event-values-as-comma...
by TD-er
02 Apr 2023, 22:06
Forum: ESP Easy: Software
Topic: Another FreeMem() issue
Replies: 2
Views: 2074

Re: Another FreeMem() issue

Please don't use Arduino IDE, but use PlatformIO.
For example along with VS-code.
by TD-er
02 Apr 2023, 22:05
Forum: ESP Easy: Hardware
Topic: Current Sensor SCT013 overload
Replies: 26
Views: 20134

Re: Current Sensor SCT013 overload

These are just simple convertors from AC current to DC voltage.
So there's nothing really needed as ESPEasy has support for lots of ADCs.

But why not use something like the PZEM-004Tv30 ?
See: https://espeasy.readthedocs.io/en/lates ... #p102-page
by TD-er
02 Apr 2023, 21:58
Forum: ESP Easy: Projects / Applications
Topic: MQTT string in EspEasy
Replies: 6
Views: 1850

Re: MQTT string in EspEasy

Not if you're making your own custom builds with a deployment SSID included. For obvious reasons is this only possible for 'custom' builds. But it is really useful for quick deployment on lots of units, where you have some special AP configured for the initial deployment. Since you can even let it t...
by TD-er
02 Apr 2023, 17:08
Forum: ESP Easy: Projects / Applications
Topic: MQTT string in EspEasy
Replies: 6
Views: 1850

Re: MQTT string in EspEasy

Maybe you can send it as some kind of event. See the command options for C005: https://espeasy.readthedocs.io/en/latest/Controller/C005.html#command-handling You can then try to formulate an event of which one of the eventvalues are the new credentials. Another option is to make a build with the pro...
by TD-er
02 Apr 2023, 17:03
Forum: ESP Easy: General Discussion
Topic: In a bit of a quandry... should I update the version of ESP Easy? What will it break...
Replies: 1
Views: 733

Re: In a bit of a quandry... should I update the version of ESP Easy? What will it break...

It is nearly impossible to tell what may have been wrong in the 2021 versions you tested. A lot of issues have been fixed since and it might be possible some other things are broken... The main change since really old builds is the update to a later SDK version, which does cause WiFi issues on some ...
by TD-er
01 Apr 2023, 17:40
Forum: ESP Easy: General Discussion
Topic: Rule <action> statement, to read and publish device value?
Replies: 8
Views: 1382

Re: Rule <action> statement, to read and publish device value?

Don't use "nested" on...do...endon stuff.

You also missed a "do"

Code: Select all

on Clock#Time=All,**:*7 do //will run every 10 minutes
  taskrun,Ambient
Endon

On Ambient#Temperature do
    Publish,UxStuff/%sysname%/,"%lcltime%,%eventvalue% , C"
Endon
by TD-er
01 Apr 2023, 10:03
Forum: ESP Easy: Software
Topic: ChatGPT wrote a PID Controller
Replies: 5
Views: 3025

Re: ChatGPT wrote a PID Controller

ChatGTP doesn't understand how variables and dummy tasks are to be used. So this code will not work, for the simple fact we don't have 6 taskvalues. Also [TaskValue(1,4)] is invalid ESPEasy syntax. It may have used some parts of the (wiki) documentation as there are uses of [ADC#Temperature] instead...
by TD-er
31 Mar 2023, 23:04
Forum: ESP Easy: General Discussion
Topic: Rule <action> statement, to read and publish device value?
Replies: 8
Views: 1382

Re: Rule <action> statement, to read and publish device value?

You can call TaskRun to trigger the task to take a sample. When a new value is available, the task will send out an event with the new value and also send the new value(s) to the linked controllers of that task. Since you want to create your own MQTT publish call, I guess you simply have to act on t...
by TD-er
30 Mar 2023, 08:37
Forum: ESP Easy: Software
Topic: Can device get disabled by software?
Replies: 5
Views: 1106

Re: Can device get disabled by software?

Hmm sounds like your power supply may no longer be stable. Maybe also change the power supply (for example when using some USB charger) and/or the USB cable. I know USB cables don't really age, but perhaps it got jammed somewhere? USB chargers however do age. I had one included with my microscope an...
by TD-er
29 Mar 2023, 21:25
Forum: ESP Easy: Software
Topic: Can device get disabled by software?
Replies: 5
Views: 1106

Re: Can device get disabled by software?

What kind of ESP is it? (8266 or 32) Which build? (there has recently been a bug where pulse count may cause issues) How long is the cable to the pulse counting pin? Longer cables can act as an antenna and pulse counting on ESP8266 is purely done in software. So those interrupts can cause issues, es...
by TD-er
28 Mar 2023, 08:54
Forum: ESP Easy: Software
Topic: How to Send to Controller via Rule (or trigger publish)?
Replies: 1
Views: 868

Re: How to Send to Controller via Rule (or trigger publish)?

Whenever a task performs the PLUGIN_READ function (in the code), it may yield a value (or multiple, like with the BME280) Those values are then sent to all connected controllers of that task. You can trigger a call to PLUGIN_READ from the rules by running the command TaskRun. N.B. this is also how y...
by TD-er
28 Mar 2023, 08:49
Forum: ESP Easy: General Discussion
Topic: on Clock#Time=All,**:00 do
Replies: 10
Views: 6955

Re: on Clock#Time=All,**:00 do

Great!

This was a bug in our numerical parser function, so it may also fix other issues where numbers are parsed.
by TD-er
27 Mar 2023, 17:35
Forum: ESP Easy: General Discussion
Topic: on Clock#Time=All,**:00 do
Replies: 10
Views: 6955

Re: on Clock#Time=All,**:00 do

Can you test the test build for this PR (when it is ready) ?
https://github.com/letscontrolit/ESPEasy/pull/4573
by TD-er
27 Mar 2023, 13:25
Forum: ESP Easy: General Discussion
Topic: on Clock#Time=All,**:00 do
Replies: 10
Views: 6955

Re: on Clock#Time=All,**:00 do

Hmm, looks like the getNumerical function is acting up here....

May have to look at it later this evening.
by TD-er
27 Mar 2023, 12:39
Forum: ESP Easy: General Discussion
Topic: on Clock#Time=All,**:00 do
Replies: 10
Views: 6955

Re: on Clock#Time=All,**:00 do

I just looked into this and I find it really strange this error is occuring now.
The only changes made to it (2 years ago) is to change `byte` to `uint8_t`
The latest change before that was 3 year ago.
by TD-er
26 Mar 2023, 22:18
Forum: ESP Easy: Hardware
Topic: CO2 sensor
Replies: 3
Views: 1047

Re: CO2 sensor

Hi TDer Voltage has been measured and is within specs. Just a quick google shows me this: https://www.tinytronics.nl/shop/nl/sensoren/lucht/gas/winsen-mh-z19c-co2-sensor-met-kabel Apparently the sensor doesn't have a wide range of voltages. The older ones, like the A version, did allow for a range ...
by TD-er
26 Mar 2023, 22:06
Forum: ESP Easy: General Discussion
Topic: command exist for timezone ?
Replies: 6
Views: 1587

Re: command exist for timezone ?

The reason it might not work directly and thus needs an event for it is because it is a system command which is set to be "restricted". This means it cannot be called directly from any origin. There are other restricted commands, like the one to reset to factory defaults. For that one it i...
by TD-er
26 Mar 2023, 14:49
Forum: Introduce yourself
Topic: Hello (From Toulouse : Team Chocolatine !)
Replies: 1
Views: 1087

Re: Hello (From Toulouse : Team Chocolatine !)

Welcome!
Pierrem31 wrote: 26 Mar 2023, 14:17 [...] sky is the limit !
[...]
So I guess you're not an astronaut or astronomer? ;)
by TD-er
26 Mar 2023, 13:43
Forum: ESP Easy: Hardware
Topic: CO2 sensor
Replies: 3
Views: 1047

Re: CO2 sensor

I still haven't tested the "C" version of this sensor myself, so I am not 100% sure the current plugin does properly work with this "C" version. One of the things I would first check is to see if the voltage is correct. The other versions of this sensor need quite a significant c...
by TD-er
26 Mar 2023, 11:22
Forum: ESP Easy: General Discussion
Topic: on Clock#Time=All,**:00 do
Replies: 10
Views: 6955

Re: on Clock#Time=All,**:00 do

Sounds like a bug....

As a work-around, you could start a timer at :59 and act on the event triggered by this timer.
Just until this bug is fixed. (Related GitHub issue)
by TD-er
26 Mar 2023, 11:09
Forum: ESP Easy: General Discussion
Topic: Espeasy PIO VM Image? Espeasy Arduino portable Zip? Configurable Web Flasher?
Replies: 3
Views: 942

Re: Espeasy PIO VM Image? Espeasy Arduino portable Zip? Configurable Web Flasher?

If you're familiar with (Ubuntu) Linux, you can also start a WSL or some other VM (or actual machine) and have a look at the build script in the tools folder in the ESPEasy repo. In the comments, there is a list of requirements to be installed first and then you can use some arguments to build eithe...
by TD-er
26 Mar 2023, 10:06
Forum: ESP Easy: General Discussion
Topic: Espeasy PIO VM Image? Espeasy Arduino portable Zip? Configurable Web Flasher?
Replies: 3
Views: 942

Re: Espeasy PIO VM Image? Espeasy Arduino portable Zip? Configurable Web Flasher?

There isn't such a build service (yet, Ton is working on it) However, there are several options available to make it all a bit easier (hopefully) to build an image yourself. For example: - Use Vagrant to fire up a VM which will then automatically deploy and build based on a single file you configure...
by TD-er
23 Mar 2023, 16:18
Forum: ESP Easy: General Discussion
Topic: The checkbox for the "MQTT Import" plugin turns off on its own!
Replies: 2
Views: 3250

Re: The checkbox for the "MQTT Import" plugin turns off on its own!

Those will be turned off when you have had several crashes in a row. ESPEasy will then detect it hasn't completed a full boot and after 10 of such it will 1-by-1 turn off tasks until it can complete a boot. N.B. those will only be turned off in memory and not saved. However, if you then save the set...
by TD-er
23 Mar 2023, 09:55
Forum: ESP Easy: Projects / Applications
Topic: via MQTT-subscription: LED ON/OFF
Replies: 2
Views: 1427

Re: via MQTT-subscription: LED ON/OFF

Have you checked the checkbox "Generate events for accepted topics" ?
by TD-er
22 Mar 2023, 21:52
Forum: ESP Easy: Software
Topic: 7-segment TM1637: 7dbin not work
Replies: 12
Views: 1933

Re: 7-segment TM1637: 7dbin not work

Yes, ESP_Easy_mega_20230308_custom_ESP32_4M316k Mar 8 2023. That date only reflects the build data. I do assume you did use the latest code that was available at that date? So just to be sure that you didn't have some (much) older code from an earlier build on your PC and just built a new image...
by TD-er
22 Mar 2023, 21:51
Forum: ESP Easy: Software
Topic: 7-segment TM1637: 7dbin not work
Replies: 12
Views: 1933

Re: 7-segment TM1637: 7dbin not work

Hmm, when handling this command, there seems to be a special case for 6 digit displays: case P073_TM1637_6DGT: { tm1637_SwapDigitInBuffer(event, 0); // only needed for 6-digits displays tm1637_ShowBuffer(event, 0, 6); break; } So I guess the writer of this code (Ath) should probably look into this...
by TD-er
22 Mar 2023, 21:46
Forum: ESP Easy: Software
Topic: 7-segment TM1637: 7dbin not work
Replies: 12
Views: 1933

Re: 7-segment TM1637: 7dbin not work

Using the latest code I assume?