Search found 2312 matches

by TD-er
28 Mar 2020, 21:32
Forum: ESP Easy: General Discussion
Topic: MQTT interval settings
Replies: 17
Views: 408

Re: MQTT interval settings

I guess that the "interval settings" you refer to are the controller's "Minimum Send Interval" ? This is the (minimum) time between calling the publish command. If for some reason somewhere on the line a delay occurs, then the time between arrival on the Domoticz server may be less than that minimum...
by TD-er
28 Mar 2020, 20:29
Forum: ESP Easy: Software
Topic: D1 Mini strange WiFi behaviour
Replies: 6
Views: 77

Re: D1 Mini strange WiFi behaviour

Ah well, I must stop replying all from memory and look into the code before talking.... void prepare_deepSleep(int dsdelay) { checkRAM(F("prepare_deepSleep")); if (!isDeepSleepEnabled()) { // Deep sleep canceled by GPIO16(D0)=LOW return; } // first time deep sleep? offer a way to escape if (lastBoot...
by TD-er
28 Mar 2020, 20:23
Forum: ESP Easy: General Discussion
Topic: 5 DHT Sensors
Replies: 7
Views: 75

Re: 5 DHT Sensors

it can. about one year ago it was not possible and the there was an update. i have running 3 Sensors at one NodeMCU since one year BUT! i had also trouble with DHT sensors and it came all down to resistors capacitors and cable! It was a hard way to learn about electronic components. on a breadbord ...
by TD-er
28 Mar 2020, 20:22
Forum: ESP Easy: General Discussion
Topic: Delete remote branch via VSCode command palette
Replies: 1
Views: 20

Re: Delete remote branch via VSCode command palette

I never use the Git interface in VS code, as I always use GitKraken for my Git stuff. You can delete it via the command line (referring to the origin repository), but I think it is easier to login to your GitHub account and delete it there, or use the delete branch button on the pull request. That l...
by TD-er
28 Mar 2020, 18:08
Forum: ESP Easy: General Discussion
Topic: 5 DHT Sensors
Replies: 7
Views: 75

Re: 5 DHT Sensors

I'm not sure this plugin is capable of running multiple instances on the same node.
by TD-er
28 Mar 2020, 18:06
Forum: ESP Easy: Software
Topic: D1 Mini strange WiFi behaviour
Replies: 6
Views: 77

Re: D1 Mini strange WiFi behaviour

EVENT: System#NoSleep=30 This will only be logged the first time (since cold boot) the node will go to deep sleep. This does allow to disable the deep sleep mode. If you have accidentally set the awake time very short, it is impossible to disable the deep sleep. That's the reason this option is bui...
by TD-er
28 Mar 2020, 17:57
Forum: ESP Easy: Software
Topic: Nextion Display gone??
Replies: 16
Views: 7536

Re: Nextion Display gone??

Please use PlatformIO as building in ArduinoIDE is a lot more complicated. As quick fix in ArduinoIDE you can set this in the file ESPEasy.ino: #define USES_P075 To use the Custom.h file you should rename the sample file to Custom.h and make sure it will be used at compile time. But this is also a l...
by TD-er
28 Mar 2020, 17:53
Forum: ESP Easy: Software
Topic: Change Total value of a pulse counter with command
Replies: 12
Views: 3651

Re: Change Total value of a pulse counter with command

The update is not realtime for several reasons: - The JavaScript code performing the update does only check for updates every N seconds, with N being the minimum of all enabled tasks - Values in the UserVar array are only updated in the PLUGIN_READ call This last one could be changed into re-schedul...
by TD-er
28 Mar 2020, 14:26
Forum: ESP Easy: Software
Topic: Change Total value of a pulse counter with command
Replies: 12
Views: 3651

Re: Change Total value of a pulse counter with command

It stores the values in the PLUGIN_READ call.
So if that's never performed then it will never store them in the RTC.
PLUGIN_READ is called every <interval> seconds or when you run taskRun from the rules.
by TD-er
28 Mar 2020, 11:47
Forum: Introduce yourself
Topic: Introduction
Replies: 1
Views: 23

Re: Introduction

Dank en welkom :)
by TD-er
28 Mar 2020, 11:46
Forum: ESP Easy: Software
Topic: D1 Mini strange WiFi behaviour
Replies: 6
Views: 77

Re: D1 Mini strange WiFi behaviour

I have seen similar behavior and I am not sure yet what may be causing it. It looks like sometimes it may take a very long time to get the first byte successful transmitted after connecting to some access points. In my test setup, it may even take minutes sometimes. Can you test by removing the SSID...
by TD-er
28 Mar 2020, 09:59
Forum: ESP Easy: General Discussion
Topic: MQTT interval settings
Replies: 17
Views: 408

Re: MQTT interval settings

Nope a clean session will very likely not make a difference here. ESPEasy does have some logic for all controllers where it checks if sending was successful. If not, then it will retry the same message later. It can be unsuccessful if it detects to be offline, or when it is set to wait for an acknow...
by TD-er
28 Mar 2020, 09:35
Forum: ESP Easy: General Discussion
Topic: MQTT interval settings
Replies: 17
Views: 408

Re: MQTT interval settings

The MQTT client, WiFi code and IP-stack code is doing a lot of checks. I have to look into the pubsubclient code to be sure, but I guess even there is some feedback whether a MQTT message is accepted by the broker. If that acknowledgement is lost, then the MQTT client code can decide to send it agai...
by TD-er
28 Mar 2020, 09:27
Forum: ESP Easy: Software
Topic: Change Total value of a pulse counter with command
Replies: 12
Views: 3651

Re: Change Total value of a pulse counter with command

Hi TD-er, I'll keep an eye on the commits in the next couple of weeks then! thanks! Well you can try last night's build. I had to fix a recent change in PlatformIO to make the build work, but eventually I was able to get it running and I noticed there was a zip file attached. See: https://github.co...
by TD-er
27 Mar 2020, 23:20
Forum: ESP Easy: Software
Topic: Change Total value of a pulse counter with command
Replies: 12
Views: 3651

Re: Change Total value of a pulse counter with command

In the last source (not sure if it was already included in a build) the values from the pulse counter are restored from RTC.
There was a logic error in that plugin which prevented the restore of those values for that plugin.
by TD-er
27 Mar 2020, 20:04
Forum: ESP Easy: General Discussion
Topic: MQTT interval settings
Replies: 17
Views: 408

Re: MQTT interval settings

The only explanation I can think of for the extra count in Domoticz is when ESPEasy experiences a timeout and resend the message.
How are the pulse count values recorded in Domoticz? Do you just send out a message to notify "+1" or do you send the counter value? I assume the first.
by TD-er
27 Mar 2020, 19:55
Forum: RFlink: General Discussions
Topic: Addressable Temperature Sensors
Replies: 6
Views: 167

Re: Addressable Temperature Sensors

Well I recently added support for LoRaWAN via the Microchip RN2483, so a range of several km is also an option and on location you could share the values via p2p protocol (one as AP, the others as wifi client)

Still not a battery-powered solution as WiFi + battery is not a good solution.
by TD-er
26 Mar 2020, 17:07
Forum: ESP Easy: General Discussion
Topic: MQTT interval settings
Replies: 17
Views: 408

Re: MQTT interval settings

What exactly is the problem you're facing?

If the broker is online (not in local network) then you may need to have a look at the timeout setting.
For a local network, 200 msec may be OK, but for an online broker it may be a bit too short.
by TD-er
26 Mar 2020, 17:03
Forum: RFlink: General Discussions
Topic: Addressable Temperature Sensors
Replies: 6
Views: 167

Re: Addressable Temperature Sensors

Should the sensor units be battery powered?
If not, then you can also have a look at ESPEasy and install several of them.

For battery powered ones I don't have a model to suggest.
by TD-er
26 Mar 2020, 00:32
Forum: RFlink: General Discussions
Topic: Addressable Temperature Sensors
Replies: 6
Views: 167

Re: Addressable Temperature Sensors

If it is in (relative) close proximity, why not use Dallas 1wire sensors?
by TD-er
26 Mar 2020, 00:26
Forum: ESP Easy: General Discussion
Topic: MQTT interval settings
Replies: 17
Views: 408

Re: MQTT interval settings

[...] so if 102ms is the fastest it can do then indeed this can cause problems when 2 or 3 messages are send at the same time. [...] Well it is still no problem as the messages will be put in a queue. There will be a problem when you try to send roughly 10 messages per second, continuously. Then th...
by TD-er
24 Mar 2020, 21:04
Forum: ESP Easy: General Discussion
Topic: MQTT interval settings
Replies: 17
Views: 408

Re: MQTT interval settings

Please be aware that you probably can only send out messages per WiFi beacon interval. (102.4 msec) So sending a message with smaller interval will lead to a longer message queue. The MQTT client does handle queues a bit, so it is possible more than a single message can be flushed at once, but still...
by TD-er
24 Mar 2020, 17:03
Forum: ESP Easy: Hardware
Topic: Battery goes down WAY too fast on ESP
Replies: 57
Views: 8323

Re: Battery goes down WAY too fast on ESP

That's a very nice achievement and I guess such low energy consumption can also be covered by a relatively small solar cell, especially if you can even cover the entire winter period on a full charge.
by TD-er
24 Mar 2020, 14:18
Forum: ESP Easy: Software
Topic: Different power consumption in sleep-modes !?
Replies: 14
Views: 2948

Re: Different power consumption in sleep-modes !?

So during sleep it does consume the expected low current (roughly 60 uA) and after this the energy consumption rises even when the node does not boot?

This means we need to make the deep sleep command act the same as the regular deep sleep.
by TD-er
24 Mar 2020, 13:56
Forum: ESP Easy: General Discussion
Topic: MQTT interval settings
Replies: 17
Views: 408

Re: MQTT interval settings

Oh that setting Settings.MessageDelay It is a left over from before the controller queue mechanism. It looks like it is only used in: - Controller Plugin 012: Blynk HTTP - Controller Plugin 015: Blynk It can be set using the command "messagedelay" I think it should be removed as controllers now have...
by TD-er
24 Mar 2020, 00:35
Forum: ESP Easy: General Discussion
Topic: MQTT interval settings
Replies: 17
Views: 408

Re: MQTT interval settings

For explanation on these parameters, please have a look at their documentation: https://espeasy.readthedocs.io/en/lates ... parameters
by TD-er
23 Mar 2020, 18:48
Forum: ESP Easy: Hardware
Topic: ESP01 1CHANNEL Relay, help appreciated
Replies: 15
Views: 395

Re: ESP01 1CHANNEL Relay, help appreciated

Please note that charging/discharging of a capacitor does involve energy flowing in one or the other direction. This may sound very obvious, but it is something to take into account when the resistor is somehow shorted. So when possible use a larger resistor to increase the RC-time instead of increa...
by TD-er
23 Mar 2020, 11:27
Forum: ESP Easy: Software
Topic: specifiy request type (GET) in SendtoHTTP
Replies: 5
Views: 205

Re: specifiy request type (GET) in SendtoHTTP

Some controllers really need to be set to "check reply".
Maybe that's also needed for Blynk?
by TD-er
23 Mar 2020, 11:24
Forum: ESP Easy: Projects / Applications
Topic: Android application
Replies: 28
Views: 3244

Re: Android application

Sure and also the levels of "no protection" and "admin" are also a bit limited.
by TD-er
22 Mar 2020, 20:11
Forum: ESP Easy: Projects / Applications
Topic: Android application
Replies: 28
Views: 3244

Re: Android application

Updated the app. The scan does show nodes already known (and keeps showing them even adding and having them as duplicate in the list) But it is also showing nodes that are not ESPEasy nodes like the Cisco switch or Octopi instance (3D printer frontend on Raspberry Pi) The ESP32 node is not shown in ...
by TD-er
22 Mar 2020, 18:47
Forum: ESP Easy: Hardware
Topic: ESP01 1CHANNEL Relay, help appreciated
Replies: 15
Views: 395

Re: ESP01 1CHANNEL Relay, help appreciated

Well if it is a really short pulse, you can try to filter it using a capacitor + resistor. I assume the relay is often on/off for a longer period, so it would not make much of a difference for normal use. It may delay the on/off action a bit, so if you need exact timing, you may need to tweak it the...
by TD-er
22 Mar 2020, 11:26
Forum: ESP Easy: Software
Topic: Serious instability using MQTT Import
Replies: 18
Views: 842

Re: Serious instability using MQTT Import

Well then I don't think you can do a lot until the PubSubClient object is shared among all MQTT instances (controller/MQTTimport)

This will then also remove the limit of a single active MQTT controller. (as long as you connect to the same broker)
by TD-er
22 Mar 2020, 11:24
Forum: ESP Easy: Projects / Applications
Topic: Home Automation Refresh...
Replies: 10
Views: 487

Re: Home Automation Refresh...

ESPnow is a lot faster in sending the first message, so also a very good idea to use on battery powered nodes. But it has some limitations. - Max nr. of paired nodes (10 or 20, depending on encryption) - Radio is shared with WiFi, so the access point determines the channel - Max message length of < ...
by TD-er
22 Mar 2020, 02:10
Forum: ESP Easy: Software
Topic: Serious instability using MQTT Import
Replies: 18
Views: 842

Re: Serious instability using MQTT Import

Do you have log (serial log) enabled?
If so, please try to disable serial log.
by TD-er
21 Mar 2020, 11:16
Forum: ESP Easy: General Discussion
Topic: Plugin help
Replies: 5
Views: 354

Re: Plugin help

I will make a pull request of the changes I've been working on for this plugin.
It does allow for a bit more interaction as it also has a separate send function to send data to the serial device (instead of just a single "init" string)
by TD-er
20 Mar 2020, 16:34
Forum: ESP Easy: Projects / Applications
Topic: COVID-19 Virus Plug-In [EXPERIMENTAL]
Replies: 17
Views: 791

Re: COVID-19 Virus Plug-In [EXPERIMENTAL]

Too busy working on ESPEasy, so by the time I can go to the store it is all sold out....
by TD-er
20 Mar 2020, 16:33
Forum: RFLink: Nederlands support forum
Topic: tx timeout
Replies: 15
Views: 1472

Re: tx timeout

Volgens mij zit die extra buffer gewoon in de core lib, oftewel is nog steeds software. (alleen dan interrupt driven) De 128 bytes is -voor zover ik weet- de HW-serial. (Serial0) Serial1 kan alleen maar de TX gebruiken, dus ik vermoed dat die dan een enkele buffer heeft. Maar een extra setting voor ...
by TD-er
20 Mar 2020, 14:44
Forum: RFLink: Nederlands support forum
Topic: tx timeout
Replies: 15
Views: 1472

Re: tx timeout

GPIO-0 moet aan de GND getrokken worden (via weerstand) om in de flash-mode te komen bij het booten.
Hoe zit die P1 aangesloten op de ESP? Als 'ie Serial0 gebruikt, heb je kans dat je daarmee het flashen beïnvloed.

Als er al ESPEasy op staat, kun je natuurlijk ook een OTA update doen.
by TD-er
20 Mar 2020, 01:15
Forum: ESP Easy: Software
Topic: Problem with Blynk controller building
Replies: 9
Views: 354

Re: Problem with Blynk controller building

Hmm I do work on a separated laptop right now and I think I can move it to a separate VLAN just to be sure.
by TD-er
20 Mar 2020, 00:28
Forum: ESP Easy: Software
Topic: Problem with Blynk controller building
Replies: 9
Views: 354

Re: Problem with Blynk controller building

I don't understand how it could be compiled anyway.
I don't see the function for the 4-parameter function signature.

Edit:
Ah that was the whole idea about this topic ;)
by TD-er
20 Mar 2020, 00:14
Forum: ESP Easy: Software
Topic: Problem with Blynk controller building
Replies: 9
Views: 354

Re: Problem with Blynk controller building

@TD-er: It seems that during the migration to the new parser (late Oct 2019) the function parameters were changed. Now declared as parseString(const string, byte), but originally was parseString(const string, byte, bool, bool). See these github changes: https://github.com/letscontrolit/ESPEasy/pull...
by TD-er
19 Mar 2020, 21:54
Forum: ESP Easy: Software
Topic: Simple rule does not work, why?
Replies: 11
Views: 415

Re: Simple rule does not work, why?

Maybe copy/paste the rules text into an editor like Notepad++, which can show non-ASCII characters.
Just to be sure you don't have non-standard ASCII characters in the rules due to copy/paste actions from a website.
by TD-er
19 Mar 2020, 21:51
Forum: ESP Easy: Software
Topic: Problem with Blynk controller building
Replies: 9
Views: 354

Re: Problem with Blynk controller building

Sounds like you don't have all sources of the current mega branch. Please try building using PlatformIO. If you use ArduinoIDE, don't forget to use the files from the /lib dir in the mega branch and don't try to mimic the installed libraries using the ArduinoIDE library manager. Some of the libs we ...
by TD-er
19 Mar 2020, 18:26
Forum: ESP Easy: Projects / Applications
Topic: COVID-19 Virus Plug-In [EXPERIMENTAL]
Replies: 17
Views: 791

Re: COVID-19 Virus Plug-In [EXPERIMENTAL]

I only have 1-layer, so I don't qualify?

Image
by TD-er
19 Mar 2020, 17:43
Forum: ESP Easy: Projects / Applications
Topic: COVID-19 Virus Plug-In [EXPERIMENTAL]
Replies: 17
Views: 791

Re: COVID-19 Virus Plug-In [EXPERIMENTAL]

How can users of countries like Great Britain donate?
Their rolls will be wound for left rotating consumption.
by TD-er
19 Mar 2020, 17:40
Forum: RFLink: Nederlands support forum
Topic: tx timeout
Replies: 15
Views: 1472

Re: tx timeout

Yep, let alleen wel op de grootte van de flash.
De notatie ervan is iets veranderd tegenwoordig.
Bijv. "4M1M" wil zeggen 4MB flash, 1 MB SPIFFS (wat waarschijnlijk de setting is die je vroeger gebruikte op een 4M module)
by TD-er
19 Mar 2020, 17:38
Forum: ESP Easy: Software
Topic: Calculate average temperature ds18b20
Replies: 2
Views: 273

Re: Calculate average temperature ds18b20

You can do this in the rules and assign them to a dummy task.
See: https://espeasy.readthedocs.io/en/lates ... skvalueset
by TD-er
19 Mar 2020, 15:52
Forum: ESP Easy: Software
Topic: Simple rule does not work, why?
Replies: 11
Views: 415

Re: Simple rule does not work, why?

See also the documentation: https://espeasy.readthedocs.io/en/lates ... ore-events

Maybe this also works:

Code: Select all

on Clock#Time=All,**:** do //will run every minute
 GPIO,2,1
endon
by TD-er
19 Mar 2020, 14:16
Forum: ESP Easy: Software
Topic: Simple rule does not work, why?
Replies: 11
Views: 415

Re: Simple rule does not work, why?

What do you want to do with the value(s) stored in the Dummy?
Is there a controller coupled to this dummy?
If so, then I guess you also want to "run" this dummy task by calling taskrun.
by TD-er
19 Mar 2020, 14:01
Forum: ESP Easy: Software
Topic: Simple rule does not work, why?
Replies: 11
Views: 415

Re: Simple rule does not work, why?

Do you have multiple dummy tasks?
Make sure it is set to the correct output type and save it (the dummy task) again.