Search found 398 matches

by manjh
16 Jul 2019, 20:28
Forum: ESP Easy: Software
Topic: ESP unit restarting/freezing
Replies: 23
Views: 3402

Re: ESP unit restarting/freezing

TD-er wrote:
15 Jul 2019, 18:44
I think it is working OK, since it is using a very old core library and somewhere (don't know exactly when) a bug was introduced that causes the crashes on WiFi reconnect.
Ah. Old things are not bad... :D
by manjh
14 Jul 2019, 21:29
Forum: ESP Easy: Software
Topic: ESP unit restarting/freezing
Replies: 23
Views: 3402

Re: ESP unit restarting/freezing

What is happening is this. If the unit does need to reconnect, it may crash. It looks like the ESP ends up in some infinite loop and thus cause a WD reboot. A WiFi reconnect may happen due to lots of reasons. For example channel change, lots of packet loss, ECC errors, etc. I guess the one that did...
by manjh
11 Jul 2019, 17:22
Forum: ESP Easy: Software
Topic: ESP unit restarting/freezing
Replies: 23
Views: 3402

Re: ESP unit restarting/freezing

Forgot to mention: if you would like me to do some testing, just let me know.
I now have 18 ESP units running, with plans for about 4 or 5 more. All running ESPEasy in various builds.
Network: router plus 3 AP'-s, identical SSID and PW.
Must be a good surrounding for tests.
by manjh
11 Jul 2019, 14:45
Forum: ESP Easy: Software
Topic: ESP unit restarting/freezing
Replies: 23
Views: 3402

Re: ESP unit restarting/freezing

We do have the implication that the WiFi is the bad guy here. The issue has been discussed with Espressif SDK core developers and we'll see how it evolves. Hopefully a fix is on the horizon. OK, good. So I guess I stubled upon it, because I have multiple access points. What was the exact descriptio...
by manjh
11 Jul 2019, 10:37
Forum: ESP Easy: Software
Topic: ESP unit restarting/freezing
Replies: 23
Views: 3402

Re: ESP unit restarting/freezing

I downgraded two of the units to build 147, we'll see what happens. Meanwhile, another strange thing pops up: one of the units with the latest Mega release does not have any problem to keep running! What's different from the other three? Well. those three were configured on my worktable in my office...
by manjh
10 Jul 2019, 22:17
Forum: ESP Easy: Software
Topic: ESP unit restarting/freezing
Replies: 23
Views: 3402

Re: ESP unit restarting/freezing

This is not good. Sofar, I have upgraded four units to the latest Mega release, made sure I flashed a blank first. They all seemed to work OK, but after several hours they freeze. When I reset them, the are OK again but for how long... I don't see any common reason, except the uptime that they all r...
by manjh
09 Jul 2019, 16:25
Forum: ESP Easy: Software
Topic: ESP unit restarting/freezing
Replies: 23
Views: 3402

Re: ESP unit restarting/freezing

In the start page of the web interface, I added a big button which links directly to the system info page. But it's also available via Tools -> system info Yes, I found that, but it does not tell me about the HW type. Unless it is encoded in this: ESP Chip ID: 2237835 (0x22258B) ESP Chip Frequency:...
by manjh
09 Jul 2019, 16:24
Forum: ESP Easy: Software
Topic: ESP unit restarting/freezing
Replies: 23
Views: 3402

Re: ESP unit restarting/freezing

But if you're using core 2.5.2, it is already quite a stable build, with only the WD reboots occasionally depending on WiFi stability. Confused... when I look at the sytem info, I see this: Build:⋄ 20103 - Mega System Libraries:⋄ ESP82xx Core 2_4_2, NONOS SDK 2.2.1(cfd48f3), LWIP: 2.0.3 PUYA suppor...
by manjh
09 Jul 2019, 16:22
Forum: ESP Easy: Software
Topic: ESP unit restarting/freezing
Replies: 23
Views: 3402

Re: ESP unit restarting/freezing

Well there is still the issue of WD reboots, which do appear to be caused when the unit does a WiFi reconnect (not always, but often) If you experience that the unit is unreachable from time to time, you can check the "Gratuitous ARP" checkbox in the Advanced settings (via Tools) This will send an ...
by manjh
09 Jul 2019, 11:10
Forum: ESP Easy: Software
Topic: ESP unit restarting/freezing
Replies: 23
Views: 3402

Re: ESP unit restarting/freezing

Something came to mind: with the latest Mega release (lloks great, guys!), do I still need to reboot the ESP units periodically, or can I discard that bit of rules?
by manjh
08 Jul 2019, 20:18
Forum: ESP Easy: Software
Topic: ESP unit restarting/freezing
Replies: 23
Views: 3402

Re: ESP unit restarting/freezing

I did as you suggested: flashed a blank, then a 4M image. What went wrong: I saw the option to set SSID and PW, plus a few other things. That did not work, the unit did not connect. Moreover, even via the serial monitor I was unable to get things to connect. So I re-flashed the blank and then the im...
by manjh
03 Jul 2019, 19:33
Forum: ESP Easy: Software
Topic: ESP unit restarting/freezing
Replies: 23
Views: 3402

Re: ESP unit restarting/freezing

grovkillen wrote:
03 Jul 2019, 18:12
I think you may need to do a "blank flash" if you first used an ancient version and then updated to mega...
Ah. How do I do a blank flash?
by manjh
03 Jul 2019, 17:53
Forum: ESP Easy: Software
Topic: ESP unit restarting/freezing
Replies: 23
Views: 3402

Re: ESP unit restarting/freezing

Forgot to ask: is there some tool to check the HW type of the ESP?
by manjh
03 Jul 2019, 17:52
Forum: ESP Easy: Software
Topic: ESP unit restarting/freezing
Replies: 23
Views: 3402

Re: ESP unit restarting/freezing

grovkillen wrote:
03 Jul 2019, 17:35
You should try to save all the tasks one by one since the settings have changed its structure.
I did. In fact, because I had some problems with the units I loaded a very ancient version to make sure everytning was cleared, and then the mega. After that I had to do all settings from scratch.
by manjh
03 Jul 2019, 15:38
Forum: ESP Easy: Software
Topic: ESP unit restarting/freezing
Replies: 23
Views: 3402

ESP unit restarting/freezing

A few weeks ago I did maintenance on 2 of my units, and while I was at it installed the latest Mega release. Since then the units have restarted several times after some hours, and now they are both frozen. I will have to restart when I am home again next weekend. Any ideas what could be wrong? Perh...
by manjh
22 Jun 2019, 22:58
Forum: ESP Easy: General Discussion
Topic: show remaining timer value
Replies: 2
Views: 3553

Re: show remaining timer value

I expected a list of timers the System Variables overview, but the timers aren't there. Am I missing something? We can't directly read the system timer values. The workaround is to create a companion timer (via rules) that "countdowns" a dummy var every second. - Thomas yak. ugly workaround...😟😟😟
by manjh
22 Jun 2019, 22:56
Forum: ESP Easy: Software
Topic: Get the timer value
Replies: 32
Views: 1932

Re: Get the timer value

grovkillen wrote:
22 Jun 2019, 20:09
Currently there's no way of getting the value directly.
Jimmy, sounds like an item on the development list. Being a professional IT person, the solution with a var running in parallel with the timer seems like a less beautiful workaround..
😣
by manjh
22 Jun 2019, 12:24
Forum: ESP Easy: Software
Topic: Get the timer value
Replies: 32
Views: 1932

Re: Get the timer value

If I understand correctly, in the examples you use a variable to run in parallel to a timer. This value in the variable can then be used.
But there must be a way to directly copy the remaining value of the timer into a variable?
I tried, but no success... am I missing something?
by manjh
22 Jun 2019, 12:02
Forum: ESP Easy: General Discussion
Topic: show remaining timer value
Replies: 2
Views: 3553

show remaining timer value

for debugging purposes, I am looking for a way to look at the remaining values in my timers. Nothing elaborate with a script, just somthing I can do with a command when I log on to the ESP.
I expected a list of timers the System Variables overview, but the timers aren't there.
Am I missing something?
by manjh
21 Jun 2019, 09:12
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to guard meter-box
Replies: 19
Views: 4311

Re: ESPEasy to guard meter-box

I agree that using that circuit sensor inside the load center (mains electrical panel) is a low cost elegant solution. But it's not my cup of tea; Along with general safety concerns, I don't want to give my home insurance provider a reason to deny a claim due to unaccepted devices inside the panel....
by manjh
20 Jun 2019, 18:25
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to guard meter-box
Replies: 19
Views: 4311

Re: ESPEasy to guard meter-box

Found one that checks 8 groups in one board. Looks OK, or am I missing something? I'm using the single channel version in a washing machine. Although designed for 220VAC, it is reliably sensing North American 120VAC. But I am VERY hesitant to recommend these Chinese made boards. They seem to have v...
by manjh
20 Jun 2019, 16:33
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to guard meter-box
Replies: 19
Views: 4311

Re: ESPEasy to guard meter-box

Found one that checks 8 groups in one board. Looks OK, or am I missing something? https://www.aliexpress.com/item/AC-220V-8-Channel-MCU-TTL-Level-8-Ch-Optocoupler-Isolation-Test-Board-Isolated-Detection-Tester/32849914729.html?spm=2114.search0604.3.1.7e443822iUAnXW&ws_ab_test=searchweb0_0,searchweb2...
by manjh
20 Jun 2019, 11:43
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to guard meter-box
Replies: 19
Views: 4311

Re: ESPEasy to guard meter-box

https://www.aliexpress.com/item/32828243283.html?spm=a2g0s.9042311.0.0.1b324c4djFFY1n is much better than using a relay. I'm using it to detect 230V presence and it works fine. Not bad for this price. Except that I would need 8 or 10 to build a central solution to the problem, plus a solid case to ...
by manjh
20 Jun 2019, 11:40
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to guard meter-box
Replies: 19
Views: 4311

Re: ESPEasy to guard meter-box

Looks like a good solution, but only when monitoring multiple groups in one ESP. The alternative is very simple: conect the power supply of the ESP unit to the group to be monitored. The "uptime" signal is sufficient for a smart Domoticz script to indicate the power is "on".
by manjh
18 Jun 2019, 18:33
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to guard meter-box
Replies: 19
Views: 4311

Re: ESPEasy to guard meter-box

Maybe better, one relay for each power supply circle. Vcc looped over all relay to GPIO from the ESP. If the signal goes to zero, check all earth leakage circuit braker. circuit.png Why two relays? Could just feed the switched output of the first relay to the ESP? The downside is that I would have ...
by manjh
18 Jun 2019, 15:09
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to guard meter-box
Replies: 19
Views: 4311

Re: ESPEasy to guard meter-box

The "aardlekschakelaar" you're talking about is probably not 1-to-1 mapped to a circuit group in your house. According to the NEN1010 regulations, you may have up-to 4 groups on one earth leak breaker circuit. So that may give some 'discount' in the number of units needed. Another thing you may wan...
by manjh
18 Jun 2019, 09:15
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to guard meter-box
Replies: 19
Views: 4311

Re: ESPEasy to guard meter-box

Makes sense. I was already thinking of an advanced device, connecting to each of the groups, but a more pragmatic approach makes more sense. I already have about 15 devices, I think I will take inventory to see which groups they are attached to. With a bit of luck I will only have a few left open, a...
by manjh
17 Jun 2019, 16:44
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to guard meter-box
Replies: 19
Views: 4311

ESPEasy to guard meter-box

After a two-week holiday, I came back home to find the "earth leakage circuit braker" (is that an English word?) to have tripped. A good part of my house as without power, including the freezer. Opening the lid was not pleasant, all food was thawed and rotting. I will spare you more details. :? So, ...
by manjh
12 Jun 2019, 17:11
Forum: ESP Easy: Hardware
Topic: Sensair S8
Replies: 105
Views: 12517

Re: Sensair S8

are you sure you connected it correctly electrically? Check the wiki!
by manjh
06 Mar 2019, 16:41
Forum: RFLink: Nederlands support forum
Topic: Werkende hardware uit china..
Replies: 22
Views: 9113

Re: Werkende hardware uit china..

Dylantje wrote:
06 Mar 2019, 15:44
manjh wrote:
06 Mar 2019, 14:31
ik zie diverse modellen en prijzen... tip?

tsja welke zie je???
Goedkoopste werken en dure ook...
Hmmm... $25 ongeveer, plus een paar pir sensors van 8 tot 10 per stuk. Loopt lekker op!
by manjh
06 Mar 2019, 14:31
Forum: RFLink: Nederlands support forum
Topic: Werkende hardware uit china..
Replies: 22
Views: 9113

Re: Werkende hardware uit china..

ik zie diverse modellen en prijzen... tip?
by manjh
06 Mar 2019, 13:46
Forum: RFLink: Nederlands support forum
Topic: Werkende hardware uit china..
Replies: 22
Views: 9113

Re: Werkende hardware uit china..

Leeft dit topic nog? Ik gebruik enkele Chinese PIR sensors. Zolang er nog fut in de batterij zit doen ze het goed, maar zodra de batterij spanning "valt" zijn ze onbetrouwbaar. Soms werken ze, soms niet. Ik had liever dat ze er gewoon mee ophielden, dan weet je tenminste waar je aan toe bent. Grapp...
by manjh
06 Mar 2019, 12:30
Forum: RFLink: Nederlands support forum
Topic: Werkende hardware uit china..
Replies: 22
Views: 9113

Re: Werkende hardware uit china..

Leeft dit topic nog? Ik gebruik enkele Chinese PIR sensors. Zolang er nog fut in de batterij zit doen ze het goed, maar zodra de batterij spanning "valt" zijn ze onbetrouwbaar. Soms werken ze, soms niet. Ik had liever dat ze er gewoon mee ophielden, dan weet je tenminste waar je aan toe bent. Grappi...
by manjh
26 Feb 2019, 22:00
Forum: ESP Easy: Hardware
Topic: Sensair S8
Replies: 105
Views: 12517

Re: Sensair S8

My favourite Chinese shop sells a very cheap device that can be plugged into the USB power supply, and then the cable to your device plugs into the Chinese device. It shows V and A. I did not search for the cheapest, but I know there are several differend kinds for varying prices. This is worth havi...
by manjh
13 Feb 2019, 12:20
Forum: ESP Easy: Software
Topic: Reboot inside rules?
Replies: 71
Views: 6357

Re: Reboot inside rules?

It is still strange that the bin file listed as 1M, does not fit into a 1M memory... :oops:
by manjh
12 Feb 2019, 23:56
Forum: ESP Easy: Software
Topic: Reboot inside rules?
Replies: 71
Views: 6357

Re: Reboot inside rules?

megamarco83 wrote:
12 Feb 2019, 22:06
yes, right, i did in this way for my esp01, but sometimes is hard to reach some esp located in my house
I know the feeling...😢😢😢
by manjh
12 Feb 2019, 21:59
Forum: ESP Easy: Software
Topic: Reboot inside rules?
Replies: 71
Views: 6357

Re: Reboot inside rules?

Do what I do, when all else fails: dig out the ESP unit, bring it to your desk, and use an old-fashioned USB cable to connect to serial. This way you should be able to load.
by manjh
12 Feb 2019, 21:56
Forum: ESP Easy: Hardware
Topic: Radon detection?
Replies: 2
Views: 405

Re: Radon detection?

Nothing? I'm surprised. Radon is becoming a big issue in some parts of the world, so I expected people would be into detection!
by manjh
11 Feb 2019, 17:31
Forum: ESP Easy: Software
Topic: Reboot inside rules?
Replies: 71
Views: 6357

Re: Reboot inside rules?

Oh, from R147 to mega is a no-no using OTA. I'd say you should not fix what's not broken or if you really need new features you need to connect the unit to a PC and do the complete new flash. Just remember to document everything you want to reconfigure! Yep, my thoughts exactly. "If it ain't broken...
by manjh
11 Feb 2019, 17:08
Forum: ESP Easy: Software
Topic: Reboot inside rules?
Replies: 71
Views: 6357

Re: Reboot inside rules?

Great, just my luck. I use a mix of Mega and B147. I could upgrade, but some units are hidden away and I don't feel like digging them out for this reason. Upgrading OTA does not always work from B147 to Mega, I found out the hard way. Needs a physical USB connection to get things right. So, I am ba...
by manjh
10 Feb 2019, 21:59
Forum: ESP Easy: Software
Topic: Reboot inside rules?
Replies: 71
Views: 6357

Re: Reboot inside rules?

Does that make sense? Yep, Added around August 2017: https://github.com/letscontrolit/ESPEasy/pull/485 Great, just my luck. I use a mix of Mega and B147. I could upgrade, but some units are hidden away and I don't feel like digging them out for this reason. Upgrading OTA does not always work from B...
by manjh
07 Feb 2019, 18:41
Forum: ESP Easy: Software
Topic: Reboot inside rules?
Replies: 71
Views: 6357

Re: Reboot inside rules?

The sysday solution seems to work for Mega units, not so good for build 147.
Does that make sense?
by manjh
02 Feb 2019, 09:38
Forum: ESP Easy: Hardware
Topic: Sensair S8
Replies: 105
Views: 12517

Re: Sensair S8

grovkillen wrote:
01 Feb 2019, 19:00
I'm no longer working for Senseair. Some weeks ago we decided to let go of each other. I'm too committed to ESP Easy to give Senseair enough love on a daily basis. I'm still selling sensors and am very closely connected to the company.
Wow, that's surprising! What will you do now?
by manjh
31 Jan 2019, 16:44
Forum: ESP Easy: Software
Topic: Reboot inside rules?
Replies: 71
Views: 6357

Re: Reboot inside rules?

Hi yes i wrote wrong "endon" miss the "n" but i try again with this code: On %uptime%=644 do timerSet 1,58 endon on Rules#Timer=1 do WifiDisconnect Reboot endon but esp is not reboot. here the log 38582470: WD : Uptime 643 ConnectFailures 0 FreeMem 14168 WiFiStatus 3 38612461: WD : Uptime 644 Conne...
by manjh
29 Jan 2019, 21:52
Forum: ESP Easy: Software
Topic: Reboot inside rules?
Replies: 71
Views: 6357

Re: Reboot inside rules?

OK, I finally got around to putting this change into all (almost 20) of my ESP units. This is the piece of code that I put into all rules tabs: on %sysday% = 1 do on Clock#Time=All,03:30 do timerSet 8,59 endon endon on Rules#Timer=8 do WifiDisconnect Reboot endon This will reboot the unit at the fir...
by manjh
24 Jan 2019, 13:09
Forum: ESP Easy: Hardware
Topic: Radon detection?
Replies: 2
Views: 405

Radon detection?

Has anyone looked into the options to do radon detection/measurements via a sensor attached to an ESP unit?
by manjh
20 Jan 2019, 18:04
Forum: ESP Easy: Software
Topic: Reboot inside rules?
Replies: 71
Views: 6357

Re: Reboot inside rules?

You could add a counter which is adding +1 each day at a given time. Once the timer hit 30 you do a reboot. Sounds like a workaround... does this mean that "date" is not available in rules in the same way as "time"? When I use this method, the unit will reboot every 30 days, not every month. Perhap...
by manjh
20 Jan 2019, 12:13
Forum: ESP Easy: Software
Topic: Reboot inside rules?
Replies: 71
Views: 6357

Re: Reboot inside rules?

Domosapiens wrote:
20 Jan 2019, 12:02
To prevent the 49 day bug:

A Task: System Info, called Uptime
With Variable MUC1_Uptime

Rule:

Code: Select all

On Uptime#MUC1_Uptime do
if [Uptime#MUC1_Uptime]>60000
 Reboot
endif
endon
Looks like a straightforward way of preventing the bug.
Just out of curiosity: why the 60000 limit? Arbitrary?
by manjh
20 Jan 2019, 12:06
Forum: ESP Easy: Software
Topic: Reboot inside rules?
Replies: 71
Views: 6357

Re: Reboot inside rules?

You could add a counter which is adding +1 each day at a given time. Once the timer hit 30 you do a reboot. Sounds like a workaround... does this mean that "date" is not available in rules in the same way as "time"? When I use this method, the unit will reboot every 30 days, not every month. Perhap...
by manjh
20 Jan 2019, 10:28
Forum: ESP Easy: Software
Topic: Reboot inside rules?
Replies: 71
Views: 6357

Re: Reboot inside rules?

I have used "On Clock#Time=Sun,04:00 do " to trigger a reboot once a week, in order to prevent the 49 day crash. It is working well, but I think I want to change this into a reboot once a month. How can I do this? I've looked at the wiki, looking for something like "Clock#Date", but somehow can't fi...