Search found 8754 matches

by TD-er
13 Oct 2020, 23:06
Forum: ESP Easy: General Discussion
Topic: Compile error with 4M1M with latest source from today
Replies: 3
Views: 6092

Re: Compile error with 4M1M with latest source from today

Micha_he wrote: 13 Oct 2020, 20:36 Ok, when I can ignore it..... The bin-file is created and seems to work.
Yep this one you can ignore.
I will have a look at the warnings later.
Some other libraries also have warnings and even our own code has warnings which aren't so innocent as this one.
by TD-er
13 Oct 2020, 23:03
Forum: ESP Easy: General Discussion
Topic: Wake on Lan?
Replies: 34
Views: 26185

Re: Wake on Lan?

ThomasB wrote: 13 Oct 2020, 20:35 [...]

My goal is to keep it simple and let ESPEasy rules handle the WOL activity. If you have any comments/suggestions then let me know.
Couldn't agree more :)
by TD-er
13 Oct 2020, 20:05
Forum: ESP Easy: General Discussion
Topic: Wake on Lan?
Replies: 34
Views: 26185

Re: Wake on Lan?

I prefer the latter, to include the library complete in the lib folder. This also gives credits to the original author and makes it easier to update the library if bugs are fixed there. About the suggested command. Are the (optional) parameters in such order that only the last parameters can be omit...
by TD-er
13 Oct 2020, 18:23
Forum: ESP Easy: General Discussion
Topic: Dummy device > Domoticz
Replies: 11
Views: 11422

Re: Dummy device > Domoticz

[...] Any troubleshooting suggestions? Please use a build, which is roughly 3 years newer... The newest builds can be found here: https://github.com/letscontrolit/ESPEasy/releases But for now, as the last (2) builds have some issue with WiFi, please use this test build which has a fix for the WiFi ...
by TD-er
13 Oct 2020, 13:51
Forum: ESP Easy: Software
Topic: SPI in ISR causes WDT timeout. Seachsing for other ways...
Replies: 8
Views: 8972

Re: SPI in ISR causes WDT timeout. Seachsing for other ways...

Well I noticed the extra bool flag, so assumed (I know that's something I must try to do less often...) you used it.
But I now see you set the millis in the ISR call and set to 0 when handling the call, then it is indeed exactly what I meant.
by TD-er
13 Oct 2020, 13:49
Forum: ESP Easy: General Discussion
Topic: Wake on Lan?
Replies: 34
Views: 26185

Re: Wake on Lan?

Looks like such a plugin may need an external library, like this one: https://github.com/a7md0/WakeOnLan
by TD-er
12 Oct 2020, 19:56
Forum: ESP Easy: Software
Topic: getting InfluxDB to work with Generic HTTP Advanced
Replies: 4
Views: 8497

Re: getting InfluxDB to work with Generic HTTP Advanced

For an external host, make sure to set the timeout of the controller to a higher value (default of 100 msec is too short for external hosts)
Try first with a timeout of 1000 msec.

Also make sure to change the "Check Reply" from its default so it does wait for an acknowledgement.
by TD-er
12 Oct 2020, 18:41
Forum: ESP Easy: Software
Topic: ADS1115 ADC calibration range issue
Replies: 4
Views: 6869

Re: ADS1115 ADC calibration range issue

Well you suggested a formula option for others looking for a solution for the same issue.
So I was thinking out loud why not change the plugin to offer the same kind of calibration as present on the ADC plugin.
by TD-er
12 Oct 2020, 18:38
Forum: ESP Easy: Software
Topic: SPI in ISR causes WDT timeout. Seachsing for other ways...
Replies: 8
Views: 8972

Re: SPI in ISR causes WDT timeout. Seachsing for other ways...

You can even simplify it by just setting the millis() in the ISR call.
When reading you set it to 0 again.
So then in the 50/sec call you only need to compare it with 0 and if not, just copy the value for further processing and set to 0.
by TD-er
12 Oct 2020, 15:08
Forum: ESP Easy: Software
Topic: SPI in ISR causes WDT timeout. Seachsing for other ways...
Replies: 8
Views: 8972

Re: SPI in ISR causes WDT timeout. Seachsing for other ways...

PLUGIN_READ is the function that tells the connected controller whether or not there is new data to send. If that function returns "success = true;" then any connected controller will receive the task data and also events are sent to be processed in rules. So that PLUGIN_READ is typically ...
by TD-er
12 Oct 2020, 14:33
Forum: ESP Easy: Hardware
Topic: WiFi (201) No AP found
Replies: 2
Views: 9245

Re: WiFi (201) No AP found

The core label is currently the SHA of the last commit from GitHub we use. In older builds I did have a translation of those into a more readable string, until some time when it was no longer needed to have. But apparently the string returned from the core libs now have the SHA instead of the tag. I...
by TD-er
12 Oct 2020, 14:27
Forum: Staff Announcements forum
Topic: BIG announcement, the future of ESP Easy. [READ THIS IF YOU LOVE OUR FW]
Replies: 105
Views: 1528402

Re: BIG announcement, the future of ESP Easy. [READ THIS IF YOU LOVE OUR FW]

Yes, as you can see on the forum and GitHub, we are very active in development and support for ESPEasy. So all Patreon money is more than welcome as it allows for less time spent on "billable hours" which not always result in ESPEasy time :) Just to give an impression of my "working d...
by TD-er
12 Oct 2020, 03:04
Forum: ESP Easy: General Discussion
Topic: Wake on Lan?
Replies: 34
Views: 26185

Re: Wake on Lan?

Nope, we don't have a wake on lan packet generator plugin thingy. (yet?)
by TD-er
11 Oct 2020, 12:05
Forum: ESP Easy: General Discussion
Topic: Smaller bin files - more stripdown options in custom.h?
Replies: 10
Views: 9833

Re: Smaller bin files - more stripdown options in custom.h?

Well I also attempted to do it in the pre_custom_xxx.py files (see tools/pio/) but it is quite hard to describe string like parameters in a Python environment which will end up as defines in C++ code. I managed to do so with build environment parameters like the build filename and the build environm...
by TD-er
11 Oct 2020, 11:56
Forum: ESP Easy: General Discussion
Topic: VARS_PER_TASK - only 4 values ?
Replies: 3
Views: 6514

Re: VARS_PER_TASK - only 4 values ?

[...] Regarding the settings in general .. Would it not be a better solution to store the settings in a more dynamic way? This would reduce storage space and could eleminate hard coded boundaries like VARS_PER_TASK ... Sure, but right now we have the historical choice to binary dump C++ objects to ...
by TD-er
10 Oct 2020, 12:43
Forum: ESP Easy: Software
Topic: Wemos D1 I2C Befehl senden
Replies: 38
Views: 28999

Re: Wemos D1 I2C Befehl senden

Ath wrote: 10 Oct 2020, 10:20 I would expect the [device#variable] to be replaced by the current sensor value, so, no event would trigger that piece of code?
Hmm good point... I thought that was why it stripped off the square brackets first, but may have to check in the code if that's still the current situation here.
by TD-er
10 Oct 2020, 12:42
Forum: ESP Easy: Hardware
Topic: LCD2004
Replies: 70
Views: 35236

Re: LCD2004

Just looking at the code of the LCD plugin, I would think it is able to set a GPIO pin as a "Display Button" and also a "Display Timeout".

If that pin is pulled to GND, it will start a backlight timer, which will automatically turned off after set nr of seconds.
by TD-er
10 Oct 2020, 12:38
Forum: ESP Easy: General Discussion
Topic: VARS_PER_TASK - only 4 values ?
Replies: 3
Views: 6514

Re: VARS_PER_TASK - only 4 values ?

Please have a look at how the Eastron plugin does it.
It uses the same global pointer among multiple tasks running the plugin to interact with the device and thus allowing to share various units of measure among multiple tasks.
by TD-er
10 Oct 2020, 12:36
Forum: ESP Easy: Software
Topic: ADS1115 ADC calibration range issue
Replies: 4
Views: 6869

Re: ADS1115 ADC calibration range issue

The ADC plugin has a nice and intuitive calibration, so why not use it on others too?
by TD-er
09 Oct 2020, 20:27
Forum: ESP Easy: Software
Topic: Wemos D1 I2C Befehl senden
Replies: 38
Views: 28999

Re: Wemos D1 I2C Befehl senden

Ath wrote: 09 Oct 2020, 17:10 You might want to remove the square brackets from the line with 'on ... do'
Aren't they removed in the parser to find the on...do line?
by TD-er
09 Oct 2020, 16:37
Forum: ESP Easy: Software
Topic: SPI in ISR causes WDT timeout. Seachsing for other ways...
Replies: 8
Views: 8972

Re: SPI in ISR causes WDT timeout. Seachsing for other ways...

You can set a flag in the ISR code which stores the millis() in a volatile parameter. In the 50/sec call you then check this parameter and reschedule the call to PLUGIN_READ using Scheduler.schedule_task_device_timer(event->TaskIndex, xxx); // the volatile parameter + 5 See for some examples the cod...
by TD-er
09 Oct 2020, 13:33
Forum: ESP Easy: Software
Topic: Wemos D1 I2C Befehl senden
Replies: 38
Views: 28999

Re: Wemos D1 I2C Befehl senden

Not tested it, but I guess you could do something like this in the rules. Assume the task running serialproxy is called "proxy" and the value it returns is "v" So you may need to change that to match your setup. The idea is to store the received value in a dummy task at task 3, v...
by TD-er
09 Oct 2020, 09:03
Forum: ESP Easy: General Discussion
Topic: Sonoff Relay, UDP SendTo, and Wifi interference
Replies: 2
Views: 5924

Re: Sonoff Relay, UDP SendTo, and Wifi interference

To me it looks like the extra power drawn from the relay may make the WiFi a bit unstable.

Can you at least also try with enabling sending Gratuitous ARP to see if it changes behavior?
by TD-er
08 Oct 2020, 21:43
Forum: ESP Easy: Software
Topic: Plugin 095 - TFT
Replies: 22
Views: 14512

Re: Plugin 095 - TFT

It is also very very similar to what I had in mind.
by TD-er
08 Oct 2020, 20:13
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 498762

Re: RPIEasy

Not sure how much current can be sourced from a GPIO pin on the R'pi, but maybe it is more safe to use a transistor anyway? Also make sure to place a diode "antiparallel" over the relais coil to protect the electronics driving the coil. Just the first hit on Google regarding "relais d...
by TD-er
08 Oct 2020, 12:32
Forum: ESP Easy: Software
Topic: Wemos D1 I2C Befehl senden
Replies: 38
Views: 28999

Re: Wemos D1 I2C Befehl senden

You can feed the received strings to an MQTT controller. Currently the "String" type of data is not yet supported in a lot of places in ESPEasy. It can be used to send to a MQTT controller, but it is also possible to send it to a display ("[task#varname]" also supports strings) o...
by TD-er
08 Oct 2020, 12:27
Forum: ESP Easy: General Discussion
Topic: Weird readings from DS18B20
Replies: 9
Views: 8298

Re: Weird readings from DS18B20

Well I'm not sure yet how massive it will be as I simply don't know where to logically place it. To clarify this, let me explain it from a block view perspective on the ESPEasy "components". We have: - Plugin interacting with hardware - Task, an instance of a plugin able to output data. - ...
by TD-er
08 Oct 2020, 09:15
Forum: ESP Easy: General Discussion
Topic: Smaller bin files - more stripdown options in custom.h?
Replies: 10
Views: 9833

Re: Smaller bin files - more stripdown options in custom.h?

Sadly the #define DISABLE_SC16IS752_Serial cannot be in the Custom.h as it must be present at the start of the compile. So either you must define it in your PlatformIO.ini (as I did for minimal_OTA labelled builds) or in the pre_custom_xxx.py file. For Arduino IDE you must make sure it is defined in...
by TD-er
08 Oct 2020, 09:10
Forum: ESP Easy: Hardware
Topic: WIFI : Disconnected! Reason: '(200) Beacon timeout'
Replies: 74
Views: 144736

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

Did you completely erase the flash between versions?
by TD-er
07 Oct 2020, 23:29
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 498762

Re: RPIEasy

Is it GPIO15 on the R'pi or on the ESP?
If it is on the ESP, please note that GPIO15 is a bit special as it has a pull-down resistor instead of the normal pull-up resistors.
If it is on the R'pi, then I really don't know :)
by TD-er
07 Oct 2020, 23:27
Forum: Introduce yourself
Topic: new guy
Replies: 1
Views: 6432

Re: new guy

Hallo Arnold.
Wees welkom en laat gerust weten als je ergens tegenaan loopt :)
by TD-er
07 Oct 2020, 23:25
Forum: ESP Easy: Software
Topic: Plugin 095 - TFT
Replies: 22
Views: 14512

Re: Plugin 095 - TFT

That last line is clearly becoming more important by the day.
by TD-er
07 Oct 2020, 23:23
Forum: ESP Easy: General Discussion
Topic: Weird readings from DS18B20
Replies: 9
Views: 8298

Re: Weird readings from DS18B20

Would a very simple IIR filter as "standard conversion" already help here?

For example %c_iir_pnf%(prev,next,factor)

The resulting value is then something like:
res = prev + ((next - prev) / factor)
by TD-er
07 Oct 2020, 16:22
Forum: ESP Easy: General Discussion
Topic: Weird readings from DS18B20
Replies: 9
Views: 8298

Re: Weird readings from DS18B20

Ah that's why you just commented on the issue for a filter plugin :)
by TD-er
07 Oct 2020, 14:48
Forum: ESP Easy: General Discussion
Topic: Weird readings from DS18B20
Replies: 9
Views: 8298

Re: Weird readings from DS18B20

Well it really depends on what you want to do with the measured values. If it is to detect a draft, then it may be the best place :) If you want to measure the temperature near where you are in the room (e.g. your desk), then I think placing it on the desk is a good place. Just make sure you're not ...
by TD-er
07 Oct 2020, 14:38
Forum: ESP Easy: Software
Topic: Plugin 095 - TFT
Replies: 22
Views: 14512

Re: Plugin 095 - TFT

So we should make a separate build for it?
by TD-er
07 Oct 2020, 14:36
Forum: ESP Easy: Software
Topic: Number to hex string conversion in rules
Replies: 5
Views: 6865

Re: Number to hex string conversion in rules

It was really easy to do, most of the needed time was in updating the system variables documentation.

See: https://github.com/letscontrolit/ESPEasy/pull/3296
by TD-er
07 Oct 2020, 13:46
Forum: ESP Easy: Software
Topic: Number to hex string conversion in rules
Replies: 5
Views: 6865

Re: Number to hex string conversion in rules

That's what I meant with "very elaborate rules"

I think a new feature supporting this should be something like the other "Standard Conversions" (See System Variables page)

I will see what I can think of...
by TD-er
07 Oct 2020, 10:28
Forum: ESP Easy: General Discussion
Topic: Weird readings from DS18B20
Replies: 9
Views: 8298

Re: Weird readings from DS18B20

Well as a person you do put in 100 Watt per person in heat in the room. As soon as you open the door, there is quite some heat exchange and I assume you have the light switch next to the door. So depending on the size of the room, I can imagine the presence of a person can increase the temperature i...
by TD-er
07 Oct 2020, 10:20
Forum: ESP Easy: Software
Topic: Plugin 095 - TFT
Replies: 22
Views: 14512

Re: Plugin 095 - TFT

Which fonts are missing in the repository?
And how are you building it? Using PlatformIO?
by TD-er
07 Oct 2020, 10:19
Forum: ESP Easy: General Discussion
Topic: HTTP get command for sensor value
Replies: 32
Views: 40735

Re: HTTP get command for sensor value

It was merged on May 21st this year: https://github.com/letscontrolit/ESPEas ... 2956/files
So your build doesn't have it yet.
by TD-er
06 Oct 2020, 22:54
Forum: ESP Easy: General Discussion
Topic: HTTP get command for sensor value
Replies: 32
Views: 40735

Re: HTTP get command for sensor value

What ESPEasy version are you running?

Also keep in mind you need to count from 0.

So tasknr and valnr start counting at 0.
by TD-er
06 Oct 2020, 22:53
Forum: ESP Easy: Software
Topic: Number to hex string conversion in rules
Replies: 5
Views: 6865

Re: Number to hex string conversion in rules

Hmm the other way around is already present, but I can only think of very elaborate ways to convert to hex.

So unless you want to create very elaborate (thus slow) rules, I guess it is a nice feature request.
by TD-er
06 Oct 2020, 20:52
Forum: ESP Easy: General Discussion
Topic: HTTP get command for sensor value
Replies: 32
Views: 40735

Re: HTTP get command for sensor value

For CSV like output it is possible to address per sensor value.
See: https://espeasy.readthedocs.io/en/lates ... =json#json
by TD-er
06 Oct 2020, 13:26
Forum: ESP Easy: Software
Topic: Wemos D1 I2C Befehl senden
Replies: 38
Views: 28999

Re: Wemos D1 I2C Befehl senden

From where do you send the command?
by TD-er
06 Oct 2020, 13:25
Forum: ESP Easy: General Discussion
Topic: Smaller bin files - more stripdown options in custom.h?
Replies: 10
Views: 9833

Re: Smaller bin files - more stripdown options in custom.h?

I will look in the defines wrapping the I2C serial bridge as that's a valid point. (if it is indeed included while not needed) About the compressed feature. Remember you cannot simply compress it and think that's the amount of space you gain. You have to keep in mind, at least one of the sketches sh...
by TD-er
05 Oct 2020, 20:58
Forum: ESP Easy: General Discussion
Topic: SendToHttp Raw-Message
Replies: 29
Views: 21573

Re: SendToHttp Raw-Message

Please show the network related part of the sysinfo page.
Just to be sure we're not missing something here.
by TD-er
05 Oct 2020, 20:54
Forum: ESP Easy: General Discussion
Topic: SendToHttp Raw-Message
Replies: 29
Views: 21573

Re: SendToHttp Raw-Message

Ath wrote: 05 Oct 2020, 19:42 Does your receiving ESP use ip filtering, just like ESPEasy (see Hardware tab)? and if so, is the sending ESP in the allowed range?
[...]
IP-filtering is only for access to the web interface.
by TD-er
05 Oct 2020, 09:16
Forum: ESP Easy: Software
Topic: 'Text1' will not fit in region 'iram1_0_seg'
Replies: 6
Views: 7762

Re: 'Text1' will not fit in region 'iram1_0_seg'

If you think it is ready to be used by others, please make a pull request for it on GitHub.