Search found 4932 matches

by TD-er
25 Jun 2021, 11:46
Forum: ESP Easy: General Discussion
Topic: OH-MQTT connection lost / Alive Timeout
Replies: 9
Views: 102

Re: OH-MQTT connection lost / Alive Timeout

[...] Based on the sourcecode it's not yet clear to me, whether the value from MQTT_KEEPALIVE is only used for the MQTT-connect or also for the MQTT-interval-loop !? Is PubSubClient::loop() executed every second? The pubSubClient loop is called a lot more frequent. It is called every timermqtt_inte...
by TD-er
24 Jun 2021, 16:52
Forum: ESP Easy: General Discussion
Topic: espeasy on ESP32
Replies: 5
Views: 54

Re: espeasy on ESP32

Maybe better to flash a newer build: https://td-er.nl/ESPEasy/ The 'May' build does have a number of issues with WiFi stability. About the LED and which pin to use: See: https://espeasy.readthedocs.io/en/latest/Reference/GPIO.html#best-pins-to-use-on-esp32 On the latest build I also improved the sel...
by TD-er
24 Jun 2021, 16:47
Forum: ESP Easy: Software
Topic: Geiger counter settings
Replies: 22
Views: 10087

Re: Geiger counter settings

Yep can imagine one may not believe everything the Brazilian government tells via the official news media, with the current president. Measuring is knowing.... as long as you know what you're measuring. (In Dutch: Meten is weten als je weet wat je meet) I still remember in '86 that Tsjernobyl caused...
by TD-er
24 Jun 2021, 08:52
Forum: ESP Easy: Software
Topic: Geiger counter settings
Replies: 22
Views: 10087

Re: Geiger counter settings

Ah didn't know that site.
Nice idea to have a global map for radioactivity.
If we ever get another Chernobyl or Fukushima, or some government tries to do experiments, we can 'track' them.

I'll think I will order one just for the fun of it.
by TD-er
24 Jun 2021, 01:32
Forum: ESP Easy: Software
Topic: Geiger counter settings
Replies: 22
Views: 10087

Re: Geiger counter settings

Great :)
Just curious, what is your occupation, or where do you live that a Geiger counter is usable?
by TD-er
23 Jun 2021, 12:32
Forum: ESP Easy: Projects / Applications
Topic: Espeasy message with Pushover
Replies: 11
Views: 124

Re: Espeasy message with Pushover

What length do you need in the URL?
by TD-er
23 Jun 2021, 12:15
Forum: ESP Easy: Projects / Applications
Topic: Espeasy message with Pushover
Replies: 11
Views: 124

Re: Espeasy message with Pushover

If supported by that service, then yep that would for sure make a difference.

Also look at the checkbox I mentioned.
by TD-er
23 Jun 2021, 12:09
Forum: ESP Easy: Projects / Applications
Topic: Espeasy message with Pushover
Replies: 11
Views: 124

Re: Espeasy message with Pushover

But you try to send to port 443, which is normally the SSL port for HTTP.
SSL is not supported by ESPEasy.
by TD-er
23 Jun 2021, 12:08
Forum: ESP Easy: Software
Topic: ESPEasy does not transfer part of the data
Replies: 7
Views: 84

Re: ESPEasy does not transfer part of the data

Maybe have a look at the controller settings then.
For example maybe set the timeout to some higher value like 1000 msec?
by TD-er
23 Jun 2021, 11:15
Forum: ESP Easy: Projects / Applications
Topic: Espeasy message with Pushover
Replies: 11
Views: 124

Re: Espeasy message with Pushover

Have you checked "SendToHTTP wait for ack" on Tools -> Advanced?
by TD-er
23 Jun 2021, 11:13
Forum: ESP Easy: Software
Topic: GUI issue on Sonoff Dual with ESP_Easy_mega_20210114
Replies: 3
Views: 62

Re: GUI issue on Sonoff Dual with ESP_Easy_mega_20210114

OK, then it is probably a timeout thing where the WiFi may have been too busy processing the previous request so it would not serve the requested CSS in time.
by TD-er
22 Jun 2021, 23:14
Forum: ESP Easy: Software
Topic: GUI issue on Sonoff Dual with ESP_Easy_mega_20210114
Replies: 3
Views: 62

Re: GUI issue on Sonoff Dual with ESP_Easy_mega_20210114

I think this is a "testing" build, which is trying to load the CSS from an external server that may no longer be cached in your browser's cache. See: https://espeasy.readthedocs.io/en/latest/Reference/ExternalHostedStaticFiles.html?highlight=css#external-hosted-static-files You can also ho...
by TD-er
22 Jun 2021, 14:14
Forum: ESP Easy: Software
Topic: ESPEasy does not transfer part of the data
Replies: 7
Views: 84

Re: ESPEasy does not transfer part of the data

Via the web interface: Tools -> I2C Scan. I've seen it happen only a few times myself and some others have reported it also that the I2C bus may get stuck. What you described that you need to power cycle it, sounds like what may also happen with a stuck I2C bus. So whenever this occurs again, can yo...
by TD-er
22 Jun 2021, 12:10
Forum: ESP Easy: Software
Topic: ESPEasy does not transfer part of the data
Replies: 7
Views: 84

Re: ESPEasy does not transfer part of the data

If this got stuck, can you still perform an I2C scan?
The mentioned sensors that cause issues look to be all I2C.

What other I2C devices are connected? For example an OLED display?
by TD-er
22 Jun 2021, 10:14
Forum: ESP Easy: Software
Topic: Energy Counter based on GPIO Output?
Replies: 5
Views: 182

Re: Energy Counter based on GPIO Output?

[...] By the way regarding dummy devices. I recognized a difference in the current release from 03.05.2021 and the release of 23.02.2021. In the older release it is possible to check/activate "send to controler" for the dummy device. In the release from 03.05. isn´t the checkbox available...
by TD-er
21 Jun 2021, 20:19
Forum: ESP Easy: General Discussion
Topic: Dummy variables / send to controller
Replies: 2
Views: 64

Re: Dummy variables / send to controller

TaskValueSetAndRun will immediately push the value to the connected controller's send queue :) How quickly data gets flushed there depends on the controller queue settings. See: https://espeasy.readthedocs.io/en/latest/Controller/_Controller.html#controller-parameters You can also call publish from ...
by TD-er
21 Jun 2021, 20:17
Forum: ESP Easy: Software
Topic: Energy Counter based on GPIO Output?
Replies: 5
Views: 182

Re: Energy Counter based on GPIO Output?

There might be one, but it is a bit tricky and not without risk.

The level plugin can be used to store its settings to flash.
It is still on my todo list as that's wearing out the flash.
But if you write to the flash once a day, then I guess you could get away with it.
by TD-er
21 Jun 2021, 16:43
Forum: ESP Easy: General Discussion
Topic: OH-MQTT connection lost / Alive Timeout
Replies: 9
Views: 102

Re: OH-MQTT connection lost / Alive Timeout

I think the timeout for MQTT is 10 sec in ESPEasy, which is based on the default setting of Mosquitto of 15 sec. If the ESP does need to reconnect to WiFi, I think it may sometimes take over 10 sec to complete. But the LWT is published as soon as the broker considers the ESP to be no longer connecte...
by TD-er
21 Jun 2021, 15:55
Forum: ESP Easy: General Discussion
Topic: OH-MQTT connection lost / Alive Timeout
Replies: 9
Views: 102

Re: OH-MQTT connection lost / Alive Timeout

There is a lot of communication between the ESP and the MQTT broker. So the MQTT client (the ESP) does notice it is disconnected quite fast. Often even before I see the WiFi disconnected event. If the ESP does not react to a ping, then your ESP does experience network issues at that moment, which ca...
by TD-er
21 Jun 2021, 15:48
Forum: ESP Easy: General Discussion
Topic: Max. duration of longpulse/PCFLongpulse
Replies: 32
Views: 406

Re: Max. duration of longpulse/PCFLongpulse

I guess the ESP32 does need some extra attention then regarding RTC.
Like I said it was only added recently for ESP32 and it really is hard to tell based on the reboot flags set in RTC why it rebooted.
I do check if the stored data is valid, so it will not load random data into the taskvalues.
by TD-er
21 Jun 2021, 13:49
Forum: ESP Easy: General Discussion
Topic: Max. duration of longpulse/PCFLongpulse
Replies: 32
Views: 406

Re: Max. duration of longpulse/PCFLongpulse

Do you test this on ESP8266 or ESP32? I've seen that most ESP32 boards perform a reset by toggling the ESP_EN pin. This pin does also clear RTC memory, therefore I call it a cold boot in the last boot description. RTC support for ESP32 has been added very recently and I am still struggling to interp...
by TD-er
21 Jun 2021, 11:13
Forum: ESP Easy: General Discussion
Topic: Precision of timers?
Replies: 7
Views: 281

Re: Precision of timers?

That's correct.
You can also use longpulse (or longpulse_ms) to have it non blocking.
What it does is it will schedule a call to end the pulse.
by TD-er
21 Jun 2021, 11:05
Forum: ESP Easy: General Discussion
Topic: Selecting the best Access Point?
Replies: 8
Views: 752

Re: Selecting the best Access Point?

It is just static HTML, so there should be no geo blocking. I also switched back from IPv6 & IPv4 for that domain to IPv4-only as Wordpress which is also on that domain was a bit picky on blocking IPv6 ranges for spammers/hack attempts. But since this is just in a sub dir of that domain no mod_r...
by TD-er
21 Jun 2021, 11:01
Forum: ESP Easy: General Discussion
Topic: Precision of timers?
Replies: 7
Views: 281

Re: Precision of timers?

Thanks for the update.
Good to know the internal timers are 'stable'.
The 'jitter' may still be several 100 msec, but there should be no drift when using loop timers.
by TD-er
21 Jun 2021, 10:57
Forum: ESP Easy: General Discussion
Topic: Selecting the best Access Point?
Replies: 8
Views: 752

Re: Selecting the best Access Point?

Hmm that's strange, I just clicked your link and it does present a list of files https://td-er.nl/ESPEasy/static/esp82xx/ When did you try this? Last night there was an issue with the switch to this rack in the colo. (entire rack was unreachable around 20h) I'll try to keep an eye on it as it may ag...
by TD-er
21 Jun 2021, 09:43
Forum: ESP Easy: General Discussion
Topic: Selecting the best Access Point?
Replies: 8
Views: 752

Re: Selecting the best Access Point?

Have you tested the builds of a week ago? https://td-er.nl/ESPEasy/ ( https://td-er.nl/ESPEasy/static/ for the bin files) If those do not work, I can make you a test build where you can disable the re-use from RTC where you won't reconnect automatically to the last used AP on reboot. I am now having...
by TD-er
21 Jun 2021, 08:19
Forum: ESP Easy: General Discussion
Topic: DeepSleep trouble
Replies: 14
Views: 814

Re: DeepSleep trouble

I have made a PR, where I try to fix it: https://github.com/letscontrolit/ESPEasy/pull/3691
But have not received any reply on it.
by TD-er
20 Jun 2021, 23:20
Forum: ESP Easy: Software
Topic: No ESP Easy connection to my other WiFi access points with same SSID
Replies: 38
Views: 13176

Re: No ESP Easy connection to my other WiFi access points with same SSID

That sounds promising.
Keep me updated.

I just connected a module sent to me by Tebogo and when connecting it to my TP-link Omada (set using the same SSID) I also got the same issue as he has reported over and over again.
So I guess there may also be some component here related to the module itself.
by TD-er
20 Jun 2021, 18:38
Forum: ESP Easy: General Discussion
Topic: How do i Limit login access?
Replies: 3
Views: 90

Re: How do i Limit login access?

Right now there is only a single login account level.
So we don't have permissions per page based on what account is being used.
by TD-er
20 Jun 2021, 13:22
Forum: ESP Easy: General Discussion
Topic: DeepSleep trouble
Replies: 14
Views: 814

Re: DeepSleep trouble

That's interesting to see the real sleep time is off by roughly 10%. I do know that the sleep time does run at a different frequency compared to a normal run. But I don't know if it also runs from a different oscillator. The crystal (usually 26 MHz) must be quite stable to provide a stable WiFi conn...
by TD-er
20 Jun 2021, 13:14
Forum: ESP Easy: General Discussion
Topic: How do i Limit login access?
Replies: 3
Views: 90

Re: How do i Limit login access?

Not without changing build flags and building it again.
by TD-er
18 Jun 2021, 19:20
Forum: ESP Easy: Hardware
Topic: pull+filter
Replies: 9
Views: 247

Re: pull+filter

Please be aware that GPIO-0 does already have a pull-up resistor on the ESP board (or else the ESP would not boot if GPIO-0 is pulled to GND)
So that being said, it is a bad idea to use GPIO-0 for signaling a state that can remain in that state for a while.
by TD-er
18 Jun 2021, 17:52
Forum: ESP Easy: Software
Topic: No ESP Easy connection to my other WiFi access points with same SSID
Replies: 38
Views: 13176

Re: No ESP Easy connection to my other WiFi access points with same SSID

So I should make it a setting then to allow to store the last known WiFi information in RTC memory....
It seems like it is rather counter productive now, unless you wake from deepsleep.
by TD-er
18 Jun 2021, 17:51
Forum: ESP Easy: Software
Topic: Energy Counter based on GPIO Output?
Replies: 5
Views: 182

Re: Energy Counter based on GPIO Output?

As long as the ESP remains powered, you can store the values in a dummy task. Task values are stored in RTC memory which is kept during a reboot and restored at boot. Accessing dummy task values can be done in the rules, so you can store data in there using taskvalueset and just use the values with ...
by TD-er
18 Jun 2021, 13:42
Forum: ESP Easy: General Discussion
Topic: Max. duration of longpulse/PCFLongpulse
Replies: 32
Views: 406

Re: Max. duration of longpulse/PCFLongpulse

See here for the available enums for TX power on ESP32: https://github.com/espressif/arduino-esp32/blob/21947ebe76cf6380fe06aa885390b86cc477709a/libraries/WiFi/src/WiFiGeneric.h#L111-L124 There is no enum value for more power. Based on the values, I could try to send "80" to it, but no ide...
by TD-er
18 Jun 2021, 12:17
Forum: ESP Easy: General Discussion
Topic: DeepSleep trouble
Replies: 14
Views: 814

Re: DeepSleep trouble

By browsing through those deep sleep issues on esp8266/Arduino I noticed a few recurring things in all comments: - Max deep sleep time is unreliable and changes - Instant deep sleep (which we call) does expect WiFi to be off - deepSleep() does turn off WiFi safely. (whatever that means) So I tried t...
by TD-er
18 Jun 2021, 12:11
Forum: ESP Easy: General Discussion
Topic: Max. duration of longpulse/PCFLongpulse
Replies: 32
Views: 406

Re: Max. duration of longpulse/PCFLongpulse

You appear to have an ESP which allows for an external antenna. I don't know all ESP32 modules from experience, so I wonder if there are modules out there that both have a PCB antenna and an UFL connector. For example the "Wemod D1 mini pro" (16M versions) have this. With this board there ...
by TD-er
18 Jun 2021, 10:16
Forum: ESP Easy: General Discussion
Topic: Max. duration of longpulse/PCFLongpulse
Replies: 32
Views: 406

Re: Max. duration of longpulse/PCFLongpulse

Power cycle may also help, as that clears cached information.
by TD-er
18 Jun 2021, 09:05
Forum: ESP Easy: Hardware
Topic: pull+filter
Replies: 9
Views: 247

Re: pull+filter

You're using the 5V pin for pull-up. The ESP may be 5V tolerant, but better to use the 3v3. In your drawing you are still using GPIO-0, which may be pulled somewhere by "3". But I don't know what this signal is coming from 1...4 That circuit is connected to both 5V and GND. Do inputs 1...4...
by TD-er
18 Jun 2021, 08:51
Forum: ESP Easy: General Discussion
Topic: Max. duration of longpulse/PCFLongpulse
Replies: 32
Views: 406

Re: Max. duration of longpulse/PCFLongpulse

Well if "positive" means "ESP32 cannot connect", then you might be right :)
No just kidding... I do expect the ESP32 to also allow to connect to 802.11g as it is not set to "n-only".
Please let me know if that assumption is correct.
by TD-er
18 Jun 2021, 08:39
Forum: ESP Easy: General Discussion
Topic: DeepSleep trouble
Replies: 14
Views: 814

Re: DeepSleep trouble

That's strange. I just checked the WebUI value here on my breadboard (as "unit" next to the Sleep Time setting) It states: [sec (max: 13713)] This value is the value I let the SDK compute and may differ on each reload. I don't know the exact reason why it changes, but it is roughly 14000 +...
by TD-er
17 Jun 2021, 23:51
Forum: ESP Easy: Hardware
Topic: pull+filter
Replies: 9
Views: 247

Re: pull+filter

What is the "out" in your schematic?
by TD-er
17 Jun 2021, 23:50
Forum: ESP Easy: Hardware
Topic: pull+filter
Replies: 9
Views: 247

Re: pull+filter

First, see this page of the documentation: https://espeasy.readthedocs.io/en/lates ... on-esp8266
Better not to use GPIO 0 for a switch that may be in the 'closed' state (thus pull to GND) when the ESP boots.
Other special pins are GPIO-2 and -15.
by TD-er
17 Jun 2021, 22:39
Forum: ESP Easy: General Discussion
Topic: Max. duration of longpulse/PCFLongpulse
Replies: 32
Views: 406

Re: Max. duration of longpulse/PCFLongpulse

ESP32 does not obey (can it even be set??) the "B/G only" setting right now.
So ESP32 will always use '802.11n' (with the current code)
by TD-er
17 Jun 2021, 21:59
Forum: ESP Easy: General Discussion
Topic: Max. duration of longpulse/PCFLongpulse
Replies: 32
Views: 406

Re: Max. duration of longpulse/PCFLongpulse

If the node didn't connect to the stronger AP when they were configured with the same SSID, and also did not want to connect to it when only the SSID of the stronger AP was configured, then I guess there is some issue between that AP and the ESP as you have now encountered. Of course setting the 'we...
by TD-er
17 Jun 2021, 21:04
Forum: ESP Easy: General Discussion
Topic: Resolved - HiveMQ - What should the settings be?
Replies: 5
Views: 202

Re: HiveMQ - What should the settings be?

The May build had some issues with processing WiFi events.
So I did fix these issues.
by TD-er
17 Jun 2021, 21:03
Forum: ESP Easy: General Discussion
Topic: Max. duration of longpulse/PCFLongpulse
Replies: 32
Views: 406

Re: Max. duration of longpulse/PCFLongpulse

TheTrumpeter wrote: 17 Jun 2021, 20:10ESP32
OK, will have to test with ESP32 a bit more, as I mainly tested with ESP8266
by TD-er
17 Jun 2021, 21:02
Forum: ESP Easy: General Discussion
Topic: Max. duration of longpulse/PCFLongpulse
Replies: 32
Views: 406

Re: Max. duration of longpulse/PCFLongpulse

https://github.com/letscontrolit/ESPEasy/pull/3661 was merged 17 days ago, so yes it is in the build I linked.
by TD-er
17 Jun 2021, 19:59
Forum: ESP Easy: General Discussion
Topic: Max. duration of longpulse/PCFLongpulse
Replies: 32
Views: 406

Re: Max. duration of longpulse/PCFLongpulse

Is this on an ESP8266 or ESP32?