Search found 3150 matches

by TD-er
27 Sep 2020, 22:43
Forum: ESP Easy: Projects / Applications
Topic: thingspeak with two devices
Replies: 5
Views: 518

Re: thingspeak with two devices

If you run into issues where the delay queue mechanism may work against you, then you can perhaps better copy the data to a dummy task and call the taskrun command from the rules which will try to flush the data to the connected controller. For this I would use the (new) looptimer command and maybe ...
by TD-er
27 Sep 2020, 22:21
Forum: ESP Easy: Hardware
Topic: LCD Keypad Shield
Replies: 1
Views: 24

Re: LCD Keypad Shield

Well the flow meter and the valve shouldn't be a problem (as long as you can switch the 12V valve with something as low powered as a GPIO pin of the ESP, so use some transistors and maybe an optocoupler) But I don't see what chip is used on the keypad used along the LCD you linked. The LCD is probab...
by TD-er
27 Sep 2020, 22:14
Forum: ESP Easy: Hardware
Topic: What kind of hardware?
Replies: 5
Views: 109

Re: What kind of hardware?

Just keep in mind the GND of the analyzer is connected to the GND of your PC.
So make sure you don't try to connect it to something with a completely different potential.
by TD-er
27 Sep 2020, 20:23
Forum: ESP Easy: General Discussion
Topic: Making EspEasy a little bit more useable with ioBroker
Replies: 3
Views: 53

Re: Making EspEasy a little bit more useable with ioBroker

Well it would be nice to have a very generic way, but it practice it is still quite platform dependent regarding format of the messages being published. For example, is it JSON formatted, publishing in a specific topic, etc. But let's start with the "GPIO-link-plugin" or whatever it should be called...
by TD-er
27 Sep 2020, 16:57
Forum: ESP Easy: General Discussion
Topic: undefined reference to `do_process_c00x
Replies: 14
Views: 132

Re: undefined reference to `do_process_c00x

I guess it is by far the easiest way if you share your portable directory.
by TD-er
27 Sep 2020, 14:04
Forum: ESP Easy: Software
Topic: Fill all dummy sensor entries in one json
Replies: 19
Views: 221

Re: Fill all dummy sensor entries in one json

mackowiakp wrote: 27 Sep 2020, 13:41 THX. Will try when my grandson allows :D
Just let him do it :)
(minimal age for operating ESPEasy appears to be roughly 6 yrs old)
by TD-er
27 Sep 2020, 13:27
Forum: ESP Easy: Software
Topic: Fill all dummy sensor entries in one json
Replies: 19
Views: 221

Re: Fill all dummy sensor entries in one json

Just like this:

Code: Select all

On parameters do
 Let,10,%eventvalue1%
 Let,11,%eventvalue2%
 Let,12,%eventvalue3%
 Let,13,%eventvalue4%
endon
by TD-er
27 Sep 2020, 12:47
Forum: ESP Easy: General Discussion
Topic: undefined reference to `do_process_c00x
Replies: 14
Views: 132

Re: undefined reference to `do_process_c00x

[...] But it´s getting more strange .... If I deselect all controller in the custom.h and use //#define CONTROLLER_SET_NONE #define MQTT_ONLY it will compile fine. :shock: [...] That's something I really don't understand as the only place where it is used, is in the define_plugin_sets.h: #ifdef MEM...
by TD-er
27 Sep 2020, 10:36
Forum: ESP Easy: General Discussion
Topic: undefined reference to `do_process_c00x
Replies: 14
Views: 132

Re: undefined reference to `do_process_c00x

Can you try adding this to _CPlugin_Helper.h:

Code: Select all

#include "ESPEasy_common.h"
by TD-er
27 Sep 2020, 10:29
Forum: ESP Easy: General Discussion
Topic: undefined reference to `do_process_c00x
Replies: 14
Views: 132

Re: undefined reference to `do_process_c00x

Sources of 2 weeks ago is close enough. Right now I really don't have a clue why Arduino IDE is messing with this code. I even tend to believe it is a bug in the Arduino code parsing. (Arduino does generate a .cpp file from .ino files) So I guess the only way to fix it is to move those process delay...
by TD-er
27 Sep 2020, 10:23
Forum: ESP Easy: General Discussion
Topic: Making EspEasy a little bit more useable with ioBroker
Replies: 3
Views: 53

Re: Making EspEasy a little bit more useable with ioBroker

I think a simple plugin to immediately act on an input state by setting an output GPIO pin is indeed something we could use. Right now the switch plugin is extremely over complicated. So something connecting 1 (or 2) GPIO inputs via a logic port to an output GPIO is a good step to simplify something...
by TD-er
27 Sep 2020, 09:45
Forum: ESP Easy: General Discussion
Topic: undefined reference to `do_process_c00x
Replies: 14
Views: 132

Re: undefined reference to `do_process_c00x

Well this one is caused by you having the "servo" library included in the Arduino library manager Multiple libraries were found for "Servo.h" Used: C:\Users\Dominik Schmidt\Desktop\Arduino-EspEasy\portable\packages\esp8266\hardware\esp8266\2.7.4\libraries\Servo And just to be sure, you are using the...
by TD-er
27 Sep 2020, 09:43
Forum: ESP Easy: General Discussion
Topic: MQTT LWT disconnection
Replies: 2
Views: 25

Re: MQTT LWT disconnection

Hmm that's one feature I didn't think of. I guess it makes sense to have it included. Only thing I can't predict is if all data in the buffers of the MQTT client will be flushed when going to sleep. That's one reason why I made sure to disconnect before sleeping. Another approach can be to send the ...
by TD-er
26 Sep 2020, 19:07
Forum: ESP Easy: General Discussion
Topic: undefined reference to `do_process_c00x
Replies: 14
Views: 132

Re: undefined reference to `do_process_c00x

Can you add (as a test) this as 2nd line of the DelayQueueElements.cpp file: #include "../../ESPEasy_common.h" It is already included in the .h file which is included in the cpp on the first line, but I've seen strange things being done by the Arduino preprocessor. And I stronly advice you to use Pl...
by TD-er
26 Sep 2020, 19:01
Forum: ESP Easy: General Discussion
Topic: undefined reference to `do_process_c00x
Replies: 14
Views: 132

Re: undefined reference to `do_process_c00x

I just tested using PlatformIO and your Custom.h file and it builds just fine So I have no clue why Arduino IDE is complaining here. I also checked, but at least C003.ino doesn't have this line split over multiple lines // Uncrustify may change this into multi line, which will result in failed build...
by TD-er
26 Sep 2020, 18:50
Forum: ESP Easy: Software
Topic: Fill all dummy sensor entries in one json
Replies: 19
Views: 221

Re: Fill all dummy sensor entries in one json

Asyncevent is new, but "event" isn't.
So if asyncevent is not working, then event can be used.

I used "asyncevent" in my suggestion as it is not blocking and you experience delays when sending multiple calls.
by TD-er
26 Sep 2020, 18:48
Forum: ESP Easy: Software
Topic: Two questions concerning display variables on LCD
Replies: 5
Views: 67

Re: Two questions concerning display variables on LCD

OK, so I did add a round function there... Good to know :)
That's something I would easily forget to do, so I was doubting if it was using a round function when you asked...
by TD-er
26 Sep 2020, 14:07
Forum: ESP Easy: Software
Topic: Two questions concerning display variables on LCD
Replies: 5
Views: 67

Re: Two questions concerning display variables on LCD

I would expect it will be rounded down, since it is a float casted to an int. I doubt there is a 0.5 added to it before casting. If you need formatting, please look at the documentation: https://espeasy.readthedocs.io/en/latest/Rules/Rules.html?highlight=formatting#formatting-refered-values And you ...
by TD-er
26 Sep 2020, 14:05
Forum: ESP Easy: Software
Topic: Fill all dummy sensor entries in one json
Replies: 19
Views: 221

Re: Fill all dummy sensor entries in one json

Have you tried it?

So in the GET url you send an event like this:

Code: Select all

AsyncEvent,eventname=1,2,3,4
And in the rules you must then act on the "eventname" like this:

Code: Select all

on eventname do
  LogEntry,'Values %eventvalue1% %eventvalue2% %eventvalue3% %eventvalue4%'
endon
by TD-er
26 Sep 2020, 13:51
Forum: ESP Easy: Hardware
Topic: What kind of hardware?
Replies: 5
Views: 109

Re: What kind of hardware?

OK, didn't know that.
Now find a phone supporting USB OTG :)
by TD-er
26 Sep 2020, 13:50
Forum: ESP Easy: General Discussion
Topic: undefined reference to `do_process_c00x
Replies: 14
Views: 132

Re: undefined reference to `do_process_c00x

What else did you define to use the Custom.h?

You must also have this defined in the ESPEasy.ino file (at the top of the file)

Code: Select all

#define USE_CUSTOM_H
What controller related defines do you have in the Custom.h?
by TD-er
24 Sep 2020, 23:03
Forum: ESP Easy: Hardware
Topic: What kind of hardware?
Replies: 5
Views: 109

Re: What kind of hardware?

Well such protocol decoders do exist and often use a PC to decode the data. For example Sigrok For this you can use just about any logic analyser tool, like the very affordable 8 channel 24 MHz USB analyzers which can be had for less than 10 euro. For example: https://www.banggood.com/nl/USB-Logic-A...
by TD-er
24 Sep 2020, 22:57
Forum: ESP Easy: Hardware
Topic: TTGO T-Higrow ESP32 Plant Sensor
Replies: 10
Views: 893

Re: TTGO T-Higrow ESP32 Plant Sensor

A DPS8005 is even worse in resolution as it has a voltage range of 80V but still uses the same resolution A/D converters If you have the Bluetooth interface, you could also run the Android app. As far as I remember, the app could save the recorded data, but that's quite a long time ago I used it as ...
by TD-er
24 Sep 2020, 22:51
Forum: ESP Easy: Software
Topic: Fill all dummy sensor entries in one json
Replies: 19
Views: 221

Re: Fill all dummy sensor entries in one json

I just thought of a way that could make it possible.

You could send an event and the event can have upto 4 eventvalues.
Such an event will then be dealt with in the rules and in there you can split the eventvalues into 4 separate commands to set the values to a dummy task.
by TD-er
24 Sep 2020, 19:00
Forum: ESP Easy: Software
Topic: Fill all dummy sensor entries in one json
Replies: 19
Views: 221

Re: Fill all dummy sensor entries in one json

OK, this isn't a JSON call, just a simple HTTP GET url.
Still doesn't make it possible to set multiple values in one call, but at least I now know what you're talking about as I really couldn't imagine how you were sending JSON via HTTP to fill the dummy values.
by TD-er
24 Sep 2020, 18:57
Forum: ESP Easy: General Discussion
Topic: Rule-help with irrigation control
Replies: 21
Views: 248

Re: Rule-help with irrigation control

If it is crashing on HW watchdog too, then it could very well be a bug or a configuration issue. Does it reconnect quite often to the MQTT broker? Does it help if you continously send a ping to the node? And can you post all of the rules you're now running? And I don't see the build version mentioned.
by TD-er
24 Sep 2020, 18:28
Forum: ESP Easy: General Discussion
Topic: Rule-help with irrigation control
Replies: 21
Views: 248

Re: Rule-help with irrigation control

That looks like it power cycled.
by TD-er
24 Sep 2020, 18:27
Forum: ESP Easy: Software
Topic: Fill all dummy sensor entries in one json
Replies: 19
Views: 221

Re: Fill all dummy sensor entries in one json

Not jet.
What exact call do you make right now to fill each value?
by TD-er
24 Sep 2020, 17:45
Forum: ESP Easy: General Discussion
Topic: Rule-help with irrigation control
Replies: 21
Views: 248

Re: Rule-help with irrigation control

Are the MQTT messages sent to the broker?
Or are they all placed in a queue?
by TD-er
24 Sep 2020, 16:52
Forum: ESP Easy: Hardware
Topic: TTGO T-Higrow ESP32 Plant Sensor
Replies: 10
Views: 893

Re: TTGO T-Higrow ESP32 Plant Sensor

If you're using a linear voltage regulator, then it makes perfect sense if the current is constant (apart from the peaks at boot and RF calibration of course)
If not, then I can't explain why you should have a constant current regardless the supplied voltage.
by TD-er
23 Sep 2020, 23:44
Forum: ESP Easy: General Discussion
Topic: Rule-help with irrigation control
Replies: 21
Views: 248

Re: Rule-help with irrigation control

@TD-er: How I can be show the memory infos, before or until the reboot? That's hard, but I guess it may also run very low on memory when you do not yet crash and reboot. So make sure you have the timingstats stuff enabled (not running the "testing" build) and then you can also see the lowest record...
by TD-er
23 Sep 2020, 22:55
Forum: ESP Easy: General Discussion
Topic: Rule-help with irrigation control
Replies: 21
Views: 248

Re: Rule-help with irrigation control

Pleae see my edit too.
by TD-er
23 Sep 2020, 22:53
Forum: ESP Easy: General Discussion
Topic: Rule-help with irrigation control
Replies: 21
Views: 248

Re: Rule-help with irrigation control

I'm currently to that sharp anymore as I would like to be, so I leave the checking for matching on...endon and if...endif to those that are. Can you show some info on the used memory? Especially the free stack. I suspect you're running out of memory via a stack overflow. Can you try to replace the E...
by TD-er
23 Sep 2020, 22:10
Forum: ESP Easy: General Discussion
Topic: Rule-help with irrigation control
Replies: 21
Views: 248

Re: Rule-help with irrigation control

I guess this is indeed the culprit: [Zeiten1#Dauer%eventvalue1%] I don't even have a clue what it would be when it is acually being parsed. The order in which things will be replaced does matter here. So it is very well possible this was once working if the %eventvalue% would be converted into some ...
by TD-er
23 Sep 2020, 10:15
Forum: ESP Easy: General Discussion
Topic: Hostname and MQTT-Sysname differs
Replies: 1
Views: 43

Re: Hostname and MQTT-Sysname differs

To answer the last 2 questions. No and no :) I did move all calls to generate a hostname into the same function call, but that does give lots of strange side effects, like you're now experiencing. So that's enough to change it (soon) to some way of having a checkbox almost everywhere where a hostnam...
by TD-er
23 Sep 2020, 00:13
Forum: ESP Easy: Software
Topic: How to display on OLED sensors values ?
Replies: 3
Views: 64

Re: How to display on OLED sensors values ?

Good you found your issue :)
by TD-er
22 Sep 2020, 16:54
Forum: ESP Easy: Software
Topic: How to display on OLED sensors values ?
Replies: 3
Views: 64

Re: How to display on OLED VEML6070 values ?

Don't use a - (minus) sign in your variable names (also not to be used in the task name)

Any character usable in a formula should be omitted from these task names and task value names.
by TD-er
22 Sep 2020, 16:37
Forum: ESP Easy: General Discussion
Topic: Functions in rules. For example, ABS.
Replies: 6
Views: 121

Re: Functions in rules. For example, ABS.

Right now we don't have an abs call, but you could store the result in a variable and simply check to see if it is negative.
If it is negative you can multiply its value by -1.
Or just check the 2 values you want to subtract.
If A > B do A-B else B-A.
by TD-er
22 Sep 2020, 11:08
Forum: ESP Easy: General Discussion
Topic: EspEasy MP3 confused
Replies: 5
Views: 3130

Re: EspEasy MP3 confused

Plugin 065 (DRF0299) should be included in the "testing" build.
It should be listed as "Notify - DFPlayer-Mini MP3 [TESTING]" in the plugin list when adding a new task.
by TD-er
22 Sep 2020, 11:05
Forum: ESP Easy: Hardware
Topic: wemos + two led
Replies: 3
Views: 66

Re: wemos + two led

Not sure if the plugin for the 7-segment display does allow for multiple instances, so you should try it yourself. If it does support multiple instances, you're still left with the addressing of the other display as there doesn't seem to be room for a task index number in the commands. Also the docu...
by TD-er
22 Sep 2020, 11:00
Forum: ESP Easy: General Discussion
Topic: Set Variable on Remote ESPEasy
Replies: 7
Views: 174

Re: Set Variable on Remote ESPEasy

I think it can be done also without the variable, as you can also create your own event and act on it via the rules. An event can have upto 4 values, which you can access via the %eventvalue1% (I guess the others can be guessed) in the rules block. This way you have near instant reaction on your eve...
by TD-er
21 Sep 2020, 14:57
Forum: ESP Easy: General Discussion
Topic: Power measurement of AC loads using ESP32
Replies: 6
Views: 121

Re: Power measurement of each device using ESP32

OK, I just googled the ACS712 sensor (didn't know it) and it is just an analog output sensor (Hall effect sensor)
So you can just use the ADC plugin.

Just make sure you don't use pins connected to ADC2 of the ESP32 as those do not work well when WiFi is used.
by TD-er
21 Sep 2020, 14:44
Forum: ESP Easy: General Discussion
Topic: Set Variable on Remote ESPEasy
Replies: 7
Views: 174

Re: Set Variable on Remote ESPEasy

There is a bug (a known one) regarding a very specific set of plugins, which does manifest itself also when sharing via p2p. It is related to the plugins which allow to change the number of output values. Dummy is one of them, just like Sysinfo and a few more. When you first pair the tasks via p2p, ...
by TD-er
21 Sep 2020, 14:38
Forum: ESP Easy: General Discussion
Topic: Power measurement of AC loads using ESP32
Replies: 6
Views: 121

Re: Power measurement of each device using ESP32

If I use the I2C sensor I guess ESP32 supports only two I2C devices. As Ton already stated, for those sensors that only have a limited set of I2C addresses, you can use a multiplexer to overcome this issue. About the recent changes of I2C plugins. The update is intended to add support for multiple ...
by TD-er
21 Sep 2020, 00:57
Forum: ESP Easy: General Discussion
Topic: Set Variable on Remote ESPEasy
Replies: 7
Views: 174

Re: Set Variable on Remote ESPEasy

SendTo is using the ESPEasy p2p controller. This is not the most intuitive configuration, but it should work just fine when setup right. See: https://espeasy.readthedocs.io/en/latest/Controller/C013.html#c013-page Just a few things you really should take into account: - Do set unique unit IDs (not 0...
by TD-er
20 Sep 2020, 11:41
Forum: ESP Easy: Projects / Applications
Topic: UV/ Light sensor window. Fused silica and other options.
Replies: 4
Views: 194

Re: UV/ Light sensor window. Fused silica and other options.

Usually ShardanX is the one with the most experience in how materials behave and really insightful replies. But as he hasn't replied yet, so maybe I can also put in my 2 cents here. When using plastics, you may risk the UV breaks apart the compound that keep plastic flexible ("weekmakers" in Dutch, ...
by TD-er
19 Sep 2020, 22:45
Forum: ESP Easy: Hardware
Topic: DHT22 with wemos D1
Replies: 15
Views: 6016

Re: DHT22 with wemos D1

No, what I mean is what's the humidity of the environment where the module is positioned.
For example, is it positioned in an evironment where the relative humidity is above 80%?
by TD-er
19 Sep 2020, 21:35
Forum: ESP Easy: General Discussion
Topic: Unstable syslog-operation
Replies: 7
Views: 113

Re: Unstable syslog-operation

The problem should be fixed in the latest code. So you should try the latest nightly build to see if it is indeed fixed.

What I tried to tell you is that "waiting for a few more days" is not going to change anything unless you update the firmware.
by TD-er
19 Sep 2020, 21:33
Forum: ESP Easy: Hardware
Topic: DHT22 with wemos D1
Replies: 15
Views: 6016

Re: DHT22 with wemos D1

Is it posioned in above average humidity?