Search found 4842 matches

by TD-er
12 Jun 2021, 21:30
Forum: ESP Easy: Software
Topic: Latest versions crashes my NodeMCU
Replies: 62
Views: 1146

Re: Latest versions crashes my NodeMCU

The --erase-all does indeed what it states :)
by TD-er
12 Jun 2021, 19:02
Forum: ESP Easy: Software
Topic: Latest versions crashes my NodeMCU
Replies: 62
Views: 1146

Re: Latest versions crashes my NodeMCU

Can you try this build? https://www.dropbox.com/s/c6rdpo58spjna ... M.bin?dl=0
Still not changed a lot, but I found some strange logic when an event is missed (or thought to be missed).
by TD-er
12 Jun 2021, 16:33
Forum: ESP Easy: Software
Topic: Latest versions crashes my NodeMCU
Replies: 62
Views: 1146

Re: Latest versions crashes my NodeMCU

Yep as soon as I have something to test, I will let you know.
It will also be appended to this PR, so if you have a GitHub account, you can subscribe to it.
by TD-er
12 Jun 2021, 13:57
Forum: ESP Easy: Software
Topic: Latest versions crashes my NodeMCU
Replies: 62
Views: 1146

Re: Latest versions crashes my NodeMCU

As we speak I am looking into this issue. I'm only working on WiFi this weekend to get this sorted out once and for all. However I do find it very strange that your setup is apparently not working at all with builds of the past two years while lots and lots of other users have reported success. But ...
by TD-er
11 Jun 2021, 12:05
Forum: ESP Easy: General Discussion
Topic: Sonoff not switching relay off
Replies: 1
Views: 32

Re: Sonoff not switching relay off

You can start a timer when you switch on the relay. I assume you followed this description to setup a relay with Domoticz (and MQTT) https://espeasy.readthedocs.io/en/latest/Plugin/P029.html#p029-page If not, you can still 'monitor' the GPIO pin of the relay and act on its changes. But that may lead...
by TD-er
10 Jun 2021, 23:46
Forum: ESP Easy: Software
Topic: How to write OLED status to variable
Replies: 11
Views: 123

Re: How to write OLED status to variable

If the WiFi reception is worse, please increase TX pwr to 20.5 dBm and check sending with highest TX power.
Setting to B/G mode will allow you to actually send with more TX power compared to "n" network. (20.5 dBm can only be achieved with 'b', which we don't use, so max. is 17 dBm)
by TD-er
10 Jun 2021, 23:31
Forum: ESP Easy: Software
Topic: Latest versions crashes my NodeMCU
Replies: 62
Views: 1146

Re: Latest versions crashes my NodeMCU

[...] [WiFi] Only perform network activity when connected [WiFiClient] Make sure all clients use at least some timeout Are those two related? [/quote] No.... but... The first one is about "if not connected, don't even bother trying to connect to another host sending data" The second one i...
by TD-er
10 Jun 2021, 23:25
Forum: ESP Easy: Software
Topic: Latest versions crashes my NodeMCU
Replies: 62
Views: 1146

Re: Latest versions crashes my NodeMCU

Completely untested and was surprised it did compile in one run ;) The changes https://www.dropbox.com/s/4kqgvun2755p8cn/100_msec_networkConnected_timeout_ESP_Easy_mega_20210610_custom_ESP8266_4M1M.bin?dl=0 Please let me know if this does work for you. If it does, I will make it a configurable setti...
by TD-er
10 Jun 2021, 23:09
Forum: ESP Easy: Software
Topic: Latest versions crashes my NodeMCU
Replies: 62
Views: 1146

Re: Latest versions crashes my NodeMCU

Hmm that's a very concrete jump in versions and I just browsed the changes. They are hardly related to WiFi, except for this one. In the code there is a number of checks like this one: if (!WiFiConnected(10)) { The change here in those 2 versions is only to change "100" to "10". ...
by TD-er
10 Jun 2021, 18:36
Forum: ESP Easy: Hardware
Topic: SI7021 on sonoff basic
Replies: 16
Views: 879

Re: SI7021 on sonoff basic

Right now, there is not yet a check in the rules equivalent to isNan()
by TD-er
10 Jun 2021, 08:51
Forum: ESP Easy: General Discussion
Topic: Stable Release ?
Replies: 4
Views: 133

Re: Stable Release ?

Looks stable to me :)
by TD-er
09 Jun 2021, 22:57
Forum: ESP Easy: General Discussion
Topic: Stable Release ?
Replies: 4
Views: 133

Re: Stable Release ?

Sadly it is still... Every time I get the feeling "almost stable, still need to tackle this small thing" and then run into lots of new issues... I do have a build running on a Sonoff here built on Oct 21 2020 23:09:36 (not a 'nightly') and that one has now an uptime of 203 days 11 hours 16...
by TD-er
09 Jun 2021, 22:52
Forum: ESP Easy: Software
Topic: Latest versions crashes my NodeMCU
Replies: 62
Views: 1146

Re: Latest versions crashes my NodeMCU

That old version differs in so many ways. For example it is running an older core version and making a WiFi connection was at a much slower pace. This slower pace does put a higher strain on the power supply. So the fact it was working at an older build is not guarantee it isn't a hardware issue. Ho...
by TD-er
09 Jun 2021, 15:18
Forum: ESP Easy: Software
Topic: Latest versions crashes my NodeMCU
Replies: 62
Views: 1146

Re: Latest versions crashes my NodeMCU

Hmm how is the Fritzbox configured? Is it a 'repeater' like the 1750? Or is it a router? The simplest way should be to have it setup as a transparent bridge, not a router. Can you make a simple sketch (or description) on how the subnets are setup? Also what is the gateway (192.168.1.254 according to...
by TD-er
09 Jun 2021, 12:54
Forum: ESP Easy: Software
Topic: Latest versions crashes my NodeMCU
Replies: 62
Views: 1146

Re: Latest versions crashes my NodeMCU

The idea is to make the range of WiFi smaller, so other mesh nodes may not detect it. I have the feeling the AP actively kicks off the ESP from it for a reason yet unknown to me. A few reasons that I can come up with: - Part of the 'mesh' algorithm to make sure the device reconnects to the strongest...
by TD-er
09 Jun 2021, 10:08
Forum: ESP Easy: Software
Topic: Latest versions crashes my NodeMCU
Replies: 62
Views: 1146

Re: Latest versions crashes my NodeMCU

You don't need to reflash it, you can also turn on AP via the serial command or just erase the wifi credentials via the serial command.
If you set the wifissid to "ssid" it will be considered as non-existing and then start the AP mode automatically.
by TD-er
09 Jun 2021, 00:04
Forum: ESP Easy: Software
Topic: Latest versions crashes my NodeMCU
Replies: 62
Views: 1146

Re: Latest versions crashes my NodeMCU

Do you have several APs with the same SSID? The TP-link Omada units I have here also react very strange on ESPs for example. If I connect to "the other" one with the same SSID, it may take sometimes upto 10 seconds before it can actually send data after connecting. Also the Omada unit may ...
by TD-er
08 Jun 2021, 23:53
Forum: ESP Easy: Software
Topic: #F formatting seems not to work
Replies: 3
Views: 95

Re: #F formatting seems not to work

on calcsleeptime do if [Babyphone#State] = 1 Let,1,(([Time#Hour]*60)+[Time#Min]) Let,2,(([Time#HourSw]*60)+[Time#MinSw]) Let,3,([INT#1]-[INT#2]) Let,4,([INT#3]/60) Let,5,[INT#4#F] Let,6,(([VAR#4]-[INT#5])*60) else Let,5,0 Let,6,0 endif endon I think the [INT#4] is already rounding in the wrong dire...
by TD-er
08 Jun 2021, 23:49
Forum: ESP Easy: Software
Topic: bme280: change temperature offset with rules
Replies: 4
Views: 107

Re: bme280: change temperature offset with rules

The formula for correcting the humidity is in the BME280 code :) It is quite simple. First you compute the dew point based on measured temp and hum. Then you offset the temperature and compute the humidity based on the new temp and dew point. To compute dew point, I already included a conversion whi...
by TD-er
08 Jun 2021, 00:12
Forum: ESP Easy: Software
Topic: Latest versions crashes my NodeMCU
Replies: 62
Views: 1146

Re: Latest versions crashes my NodeMCU

Can you power cycle the access point too? (and the ESP just for good measure) The handshake timeout is funky as it suggests one side is not responding fast enough. This can of course be some process that's running wild. (or buffers full, etc.) Or either one (ESP or AP) does not hear the other one. T...
by TD-er
07 Jun 2021, 19:24
Forum: ESP Easy: Software
Topic: Latest versions crashes my NodeMCU
Replies: 62
Views: 1146

Re: Latest versions crashes my NodeMCU

New test build: https://www.dropbox.com/s/8guisppj0ygtg ... M.bin?dl=0

Please let me know how well this one behaves...
by TD-er
07 Jun 2021, 17:22
Forum: ESP Easy: Software
Topic: Latest versions crashes my NodeMCU
Replies: 62
Views: 1146

Re: Latest versions crashes my NodeMCU

The WiFi gets disconnected quite often, so I will make a new test build ASAP... (working on it right now).
by TD-er
07 Jun 2021, 11:33
Forum: ESP Easy: Software
Topic: ESP doesn't wake up from sleep with newest SW version
Replies: 2
Views: 116

Re: ESP doesn't wake up from sleep with newest SW version

I also made a PR, which will be included in the next build to revert the behavior to how it was with a setting to allow to switch between the different calls to Deep Sleep.
https://github.com/letscontrolit/ESPEasy/pull/3677
by TD-er
06 Jun 2021, 12:23
Forum: ESP Easy: Software
Topic: Latest versions crashes my NodeMCU
Replies: 62
Views: 1146

Re: Latest versions crashes my NodeMCU

Tebogo wrote: 04 Jun 2021, 17:57 Hello Td,

I tried again with your release, still same problems.

[...]

Did you manage to look to the error?:

Error : WiFi : Scan not allowed, unprocessed WiFi events: disconn

Thanks!
Can you try the test build I linked with the PR: https://github.com/letscontrolit/ESPEasy/pull/3676
by TD-er
05 Jun 2021, 09:30
Forum: ESP Easy: Software
Topic: Latest versions crashes my NodeMCU
Replies: 62
Views: 1146

Re: Latest versions crashes my NodeMCU

Code: Select all

Error : WiFi : Scan not allowed, unprocessed WiFi events: disconn
Will try to fix it this weekend.
by TD-er
04 Jun 2021, 21:14
Forum: ESP Easy: General Discussion
Topic: NTP issue
Replies: 5
Views: 224

Re: NTP issue

When looking for "unsynchronized" in the source code, I noticed this link: https://github.com/letscontrolit/ESPEasy/issues/2886#issuecomment-586656384 In other words, the "leap indicator" is set to "Reserved" or "Alarm condition" ... well follow the link for a...
by TD-er
04 Jun 2021, 17:45
Forum: ESP Easy: General Discussion
Topic: NTP issue
Replies: 5
Views: 224

Re: NTP issue

Given the errors when using the pool.ntp.org, the ESP can resolve DNS, but not sure if it can resolve the local DNS. So for a test you could try to use the local IP of the host running the NTP service. Your gateway and DNS are set to the same host. I assume it is your router and not some L3 switch t...
by TD-er
04 Jun 2021, 16:49
Forum: ESP Easy: General Discussion
Topic: NTP issue
Replies: 5
Views: 224

Re: NTP issue

Does your network configuration have a gateway and proper subnetmask set?
Are you using DHCP or static IP?
Is the local NTP server defined via IP or domainname (e.g. router.local)
by TD-er
04 Jun 2021, 16:34
Forum: ESP Easy: Hardware
Topic: Using INA219 with an ESP8266 to self-report
Replies: 6
Views: 391

Re: Using INA219 with an ESP8266 to self-report

In the second schematic, with the NodeMCU, there is no wire from 3v3 to Vs,
If powering the INA219 with 5V (not sure if that works...) you may risk setting the high of SDA and SCL to 5V and thus frying other sensors connected to the I2C bus.
Please double check this.
by TD-er
04 Jun 2021, 11:53
Forum: ESP Easy: General Discussion
Topic: Trigonometric Functions
Replies: 17
Views: 329

Re: Trigonometric Functions

I don't see why this can't be computed.
However, I do expect you need to compute this in parts, storing intermediate results in variables using the "let" command.

These functions should be included in the "Normal" and "Custom" builds.
by TD-er
03 Jun 2021, 20:21
Forum: ESP Easy: Hardware
Topic: BMP388 sensor don't give values
Replies: 1
Views: 161

Re: BMP388 sensor don't give values

The BMx280 plugin does support BMP280 and BME280.
The BMP388 is not supported.
I have no idea what the differences are and if it is hard to support it.
by TD-er
03 Jun 2021, 16:40
Forum: ESP Easy: Software
Topic: ESPEasy-NOW
Replies: 1
Views: 238

Re: ESPEasy-NOW

Nope not yet, but I guess it would make sense to split my (huge) project into something that's already mergeable as you "only" need the p2p layer. I will try to have a look at it and hopefully this weekend I can give you an estimate on whether it is doable to split it. I've been thinking a...
by TD-er
03 Jun 2021, 16:23
Forum: ESP Easy: Projects / Applications
Topic: Send alarms from basement pump to mobile device
Replies: 15
Views: 630

Re: Send alarms from basement pump to mobile device

Great :)
Hope you also learned why it should be connected like this.
by TD-er
03 Jun 2021, 14:02
Forum: ESP Easy: Projects / Applications
Topic: Send alarms from basement pump to mobile device
Replies: 15
Views: 630

Re: Send alarms from basement pump to mobile device

Looks OK. Just a few remarks: - The Fritzing image mentions "4.7 Ohm" that should be 4k7 Ohm, or 4700 Ohm. (10k is also fine, 4.7 Ohm is almost a short circuit) - The lines from the switch to the pull-up resistors is now drawn in red, it is more clear when drawn in the same colors as the G...
by TD-er
03 Jun 2021, 10:45
Forum: ESP Easy: Projects / Applications
Topic: tank cooler
Replies: 8
Views: 479

Re: tank cooler

Just one thing to watch out for... the "on" state for both relays differs.
This is something that's very easy to overlook when debugging. Especially for relay 2, it is the inverse of what you would expect.
by TD-er
03 Jun 2021, 10:39
Forum: ESP Easy: Software
Topic: Latest versions crashes my NodeMCU
Replies: 62
Views: 1146

Re: Latest versions crashes my NodeMCU

This part looks strange to me as that should be dealt with: 226347 : Error : WiFi : Scan not allowed, unprocessed WiFi events: disconn I will have a look at it this evening. It seems as if the WiFi events happen in an unexpected order and perhaps the WiFi disconnect event does happen more than once,...
by TD-er
02 Jun 2021, 20:14
Forum: ESP Easy: Software
Topic: Latest versions crashes my NodeMCU
Replies: 62
Views: 1146

Re: Latest versions crashes my NodeMCU

Here a build based on the latest 'mega' branch: https://www.dropbox.com/s/tkm1zgzpfdfl2 ... M.bin?dl=0
by TD-er
02 Jun 2021, 16:31
Forum: ESP Easy: Projects / Applications
Topic: Send alarms from basement pump to mobile device
Replies: 15
Views: 630

Re: Send alarms from basement pump to mobile device

Looks much better :) But just to make it more clear, you better draw the resistors from a single 3v3 pin to the switches. Electrically it does not matter, just more clear in the drawing, when you have a single line from the GPIO pins as it is a rather small picture. The switches are larger, so easie...
by TD-er
02 Jun 2021, 16:28
Forum: ESP Easy: Software
Topic: Latest versions crashes my NodeMCU
Replies: 62
Views: 1146

Re: Latest versions crashes my NodeMCU

I can make a new test build (or Ath must beat me to it) later this evening based on the latest sources. In there I fixed a reconnect issue. But this may also be something related to not really saving the settings. Can you (while connected to serial as you did now to get the logs) and type these comm...
by TD-er
02 Jun 2021, 16:23
Forum: ESP Easy: Hardware
Topic: Using INA219 with an ESP8266 to self-report
Replies: 6
Views: 391

Re: Using INA219 with an ESP8266 to self-report

Regardless if the INA219 can measure it, one thing you need to keep in mind is that some current sensors measure current on the "low end" (a shunt in the GND) and some on the "high end" )shunt in the + power line. If you measure it on the "low end", you create 2 differe...
by TD-er
01 Jun 2021, 16:45
Forum: ESP Easy: Projects / Applications
Topic: ESP Easy - Web Server for Reading Values
Replies: 9
Views: 347

Re: ESP Easy - Web Server for Reading Values

Well I don't think it is using ESPEasy. Can you get any page displayed in a browser? If so, then you might want to have a look at the HTML source, to see if we can get some info out of it. But I doubt it is using ESPEasy. Only thing we can be sure of is that it is using a MAC address which is in the...
by TD-er
01 Jun 2021, 15:56
Forum: ESP Easy: Projects / Applications
Topic: ESP Easy - Web Server for Reading Values
Replies: 9
Views: 347

Re: ESP Easy - Web Server for Reading Values

Hmm never knew nmap does have an entry labelled "ESPEasy OS". Nice :) But I guess it isn't proof it is running ESPEasy as it is probably detecting a specific signature of the Light Weight IP stack, which is used on any (??) ESP8266/Arduino based project. I have to look into the nmap source...
by TD-er
01 Jun 2021, 14:39
Forum: ESP Easy: Software
Topic: Time & Timer Control
Replies: 2
Views: 238

Re: Time & Timer Control

See here for a list of events: https://espeasy.readthedocs.io/en/latest/Rules/Rules.html#system-events You want probably act on Time#Initialized In this example I set 2 timers: timer 1: turn off and schedule timer 2 based on the system time timer 2: turn on and schedule timer 1 to turn it off. on Ti...
by TD-er
01 Jun 2021, 14:20
Forum: ESP Easy: Projects / Applications
Topic: ESP Easy - Web Server for Reading Values
Replies: 9
Views: 347

Re: ESP Easy - Web Server for Reading Values

Hmm I don't see any reference to ESPEasy.
Do you have any idea what version might be running on it?
by TD-er
01 Jun 2021, 12:48
Forum: ESP Easy: Projects / Applications
Topic: ESP Easy - Web Server for Reading Values
Replies: 9
Views: 347

Re: ESP Easy - Web Server for Reading Values

Oh, is a commercial device using ESPEasy?
Do you have more information on this?

Or do you mean it is running on an ESP and you try to install ESPEasy on it?
Does it respond on the URLs described here: https://espeasy.readthedocs.io/en/lates ... =json#json
??
by TD-er
01 Jun 2021, 11:52
Forum: ESP Easy: Projects / Applications
Topic: tank cooler
Replies: 8
Views: 479

Re: tank cooler

chromo23 wrote: 01 Jun 2021, 09:50 @TD-er: You didn´t clear the flag.... ;)

It should be: let,1,0 and let,2,0
Sure I do now ;)
Thanks... Wasn't clear in my head anymore I guess.
by TD-er
01 Jun 2021, 00:47
Forum: Introduce yourself
Topic: Hi there...
Replies: 1
Views: 106

Re: Hi there...

Playing with these is very addictive, and you're never too old, or too young for it...
My daughter of 7 years old is also very fascinated by these little things as was I at that age (MSX-1 in 1983)
So have fun :)
by TD-er
01 Jun 2021, 00:38
Forum: ESP Easy: Projects / Applications
Topic: tank cooler
Replies: 8
Views: 479

Re: tank cooler

First of all the most important link: https://espeasy.readthedocs.io/en/latest/Rules/Rules.html - TimerSet command: https://espeasy.readthedocs.io/en/latest/Rules/Rules.html#timer You should trigger on the task value update event. E.g. if you use a temp sensor on a task named "tank" with v...
by TD-er
31 May 2021, 17:17
Forum: ESP Easy: Projects / Applications
Topic: Send alarms from basement pump to mobile device
Replies: 15
Views: 630

Re: Send alarms from basement pump to mobile device

Still not a good drawing ... With respect to the potential free, that sounds good. Just puck 1 pin on the NodeMCU with 3V3 and one with GND and use those. So with my best ASCII-art skills: 3V3 ---Resistor----GPIO A ----switch A----GND | | |--Resistor----GPIO B ----switch B---| | | |--Resistor----GPI...