Search found 8739 matches

by TD-er
11 Oct 2020, 11:56
Forum: ESP Easy: General Discussion
Topic: VARS_PER_TASK - only 4 values ?
Replies: 3
Views: 6497

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: 28848

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: 34958

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: 6497

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: 6865

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: 28848

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: 8946

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: 28848

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: 5907

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: 14425

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: 478654

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: 28848

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: 8266

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: 9796

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: 138330

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: 478654

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: 6298

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: 14425

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: 8266

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: 8266

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: 8266

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: 14425

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: 6864

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: 6864

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: 8266

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: 14425

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: 39607

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: 39607

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: 6864

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: 39607

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: 28848

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: 9796

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: 21542

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: 21542

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: 7749

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.
by TD-er
04 Oct 2020, 21:40
Forum: ESP Easy: General Discussion
Topic: SendToHttp Raw-Message
Replies: 29
Views: 21542

Re: SendToHttp Raw-Message

So it cannot make a connection to the other host.
Just make sure the port is correct and the rest of the URL.

You only showed what was logged, but can you also show (verbatim in code tags) the exact command you give?
by TD-er
04 Oct 2020, 15:27
Forum: ESP Easy: Hardware
Topic: ESP-WROOM-32 Easy Flash issue/workaround
Replies: 5
Views: 11556

Re: ESP-WROOM-32 Easy Flash issue/workaround

OK, I will add a warning about flashing the ESP32 and I guess including the flasher that's not working is also not really useful in the ESP32 ZIP file.

I am not sure if we are allowed to include the Espressif flasher in the download.
by TD-er
04 Oct 2020, 15:26
Forum: ESP Easy: Software
Topic: Wemos D1 I2C Befehl senden
Replies: 38
Views: 28848

Re: Wemos D1 I2C Befehl senden

What is not working?
Remember the "serialproxy_write" does write the literal string including a line termination (CRLF) to the serial port.

So it does not send the byte 5, but the characters "5<CR><LF>"
by TD-er
04 Oct 2020, 15:23
Forum: ESP Easy: General Discussion
Topic: SendToHttp Raw-Message
Replies: 29
Views: 21542

Re: SendToHttp Raw-Message

Sorry, made a copy/paste error.
Here's the ESP8266 build: https://www.dropbox.com/s/92maswz93cww1 ... 4.zip?dl=0
by TD-er
04 Oct 2020, 10:28
Forum: ESP Easy: Hardware
Topic: ESP-WROOM-32 Easy Flash issue/workaround
Replies: 5
Views: 11556

Re: ESP-WROOM-32 Easy Flash issue/workaround

I thought this was also mentioned in the README in the ZIP file?

If it isn't clear enough, please help to clarify the README file on this.
by TD-er
04 Oct 2020, 10:26
Forum: ESP Easy: Software
Topic: Wemos D1 I2C Befehl senden
Replies: 38
Views: 28848

Re: Wemos D1 I2C Befehl senden

Of course there is some documentation on that (although it could be improved as this is a frequently returning question) For using PlatformIO: https://espeasy.readthedocs.io/en/latest/Participate/PlatformIO.html For using Arduino IDE: https://espeasy.readthedocs.io/en/latest/Participate/ArduinoIDE.h...
by TD-er
04 Oct 2020, 10:23
Forum: ESP Easy: Software
Topic: 'Text1' will not fit in region 'iram1_0_seg'
Replies: 6
Views: 7749

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

Great :) There is one "but"... as I have just now merged a commit that does need you to change a few parts of your code. See: https://github.com/letscontrolit/ESPEasy/pull/3289 The reason for this change is that on ESP32 you need to specify a port number and GPIO pins, so it was no longer ...
by TD-er
04 Oct 2020, 10:16
Forum: ESP Easy: Software
Topic: neopixel (basic)
Replies: 12
Views: 12639

Re: neopixel (basic)

See the code: if (cmd.equalsIgnoreCase(F("NeoPixelAll"))) { for (int i = 0; i < MaxPixels; i++) { Plugin_038_pixels->setPixelColor(i, Plugin_038_pixels->Color(event->Par1, event->Par2, event->Par3, event->Par4)); } Plugin_038_pixels->show(); success = true; } And the definition of the Colo...
by TD-er
04 Oct 2020, 10:10
Forum: ESP Easy: General Discussion
Topic: SendToHttp Raw-Message
Replies: 29
Views: 21542

Re: SendToHttp Raw-Message

What other device is it where you want to connect to? If you enable the debug log level you will see the actual request being sent. (given you have debug log level code included in the build, which isn't the case with "test" builds due to size restrictions) This is only logged if the conne...
by TD-er
03 Oct 2020, 12:23
Forum: ESP Easy: General Discussion
Topic: Making EspEasy a little bit more useable with ioBroker
Replies: 37
Views: 27815

Re: Making EspEasy a little bit more useable with ioBroker

Some plugins can have a selection to act on some plugin, like the level plugin.
There is an example of how to add a selector containing all active tasks.
by TD-er
03 Oct 2020, 12:20
Forum: ESP Easy: Hardware
Topic: How to make Dew point show on display with sensor BME280?
Replies: 11
Views: 12011

Re: How to make Dew point show on display with sensor BME280?

See the bottom of the system variables page (Tools => System variables)
There is an example of how you can compute the dew point using 2 variables.
by TD-er
03 Oct 2020, 12:19
Forum: ESP Easy: General Discussion
Topic: SendToHttp Raw-Message
Replies: 29
Views: 21542

Re: SendToHttp Raw-Message

Just a few checks you can do: Is the IP you try to reach in the same subnet as your ESP? Do you use DHCP or static IP on the ESP? If static, please check you have the correct configuration, like correct gateway (needed when you try to reach something not in your subnet), correct subnetmask (e.g. 255...
by TD-er
02 Oct 2020, 22:59
Forum: ESP Easy: General Discussion
Topic: SendToHttp Raw-Message
Replies: 29
Views: 21542

Re: SendToHttp Raw-Message

I think it is less than 10 months ago that I added this feature.
by TD-er
02 Oct 2020, 22:46
Forum: ESP Easy: General Discussion
Topic: SendToHttp Raw-Message
Replies: 29
Views: 21542

Re: SendToHttp Raw-Message

Does the other end require login?

Can you also try to check "SendToHTTP wait for ack" on Tools->Advanced page?