CurtRod / SimpleEVSE-WiFi

Brings EVSE WB/DIN into your WiFi
https://www.evse-wifi.de
78 stars 33 forks source link

unstable Wemos D1 mini build? #76

Open Langer75 opened 2 years ago

Langer75 commented 2 years ago

I downloaded the latest binary for Wemos D1 mini and flashed it. Unfotunatelly it is unstable. It crashes and restarts again. Unfortunatly it is not a systematic crash. It is random. It happens more often in acces point mode, but also sometimes in client mode. Does anybody knows this issue? Does I made something wrong?

Macrisu commented 2 years ago

Bad hardware. Try another Wemos.

Langer75 commented 2 years ago

that was my first guess too. But I have two Minis and both show the same behaviour. I bought a third one and also this is unstable. When I flash tasmota or espurna the Minis are stable. It is just with the binary V1.1.1. May I try an older Version.

hgmendes commented 2 years ago

What’s your power source? Recommendable value is 1A

Langer75 @.***> escreveu em dom., 26/12/2021 às 12:37 :

that was my first guess too. But I have two Minis and both show the same behaviour. I bought a third one and also this is unstable. When I flash tasmota or espurna the Minis are stable. It is just with the binary V1.1.1. May I try an older Version.

— Reply to this email directly, view it on GitHub https://github.com/CurtRod/SimpleEVSE-WiFi/issues/76#issuecomment-1001172359, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACEE42FQKAEXYSPFVTYURO3US4D7ZANCNFSM5KYJKNCA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Hugo Mendes M: +351 916 903 578 Skype: hgmendes

Langer75 commented 2 years ago

V1.1.0 is also not stable. My power source is 5V 2A. When I measure voltage and current it is 5.16V and less than 100mA. Does it makes a difference whether a EVSE is connected or not? For test puposes the evse is currently not connected. So I got Modbus error. But this should not crash the Wemos

Langer75 commented 2 years ago

1640529337670 These are my D1 Minis. One is 12F, one is 8266mod 12F and one is 8266mod only

Langer75 commented 2 years ago

By the way. Also with connected EVSE it crashes

hgmendes commented 2 years ago

Maybe something is not ok with your power source, the two versions are very stable..

Langer75 @.***> escreveu em dom., 26/12/2021 às 14:53 :

By the way. Also with connected EVSE it crashes

— Reply to this email directly, view it on GitHub https://github.com/CurtRod/SimpleEVSE-WiFi/issues/76#issuecomment-1001196124, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACEE42D2MRH26YRO6DVQMM3US4T7RANCNFSM5KYJKNCA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

-- Hugo Mendes M: +351 916 903 578 Skype: hgmendes

Langer75 commented 2 years ago

I checked several 5V power adapters. With all the same behavior. I have no further ideas. Which flasher tool do you use?

hgmendes commented 2 years ago

Hi use the ESPtool in the project to upload bin but there are a lot of similar softwares.

Langer75 @.***> escreveu em seg., 27/12/2021 às 17:45 :

I checked several 5V power adapters. With all the same behavior. I have no further ideas. Which flasher tool do you use?

— Reply to this email directly, view it on GitHub https://github.com/CurtRod/SimpleEVSE-WiFi/issues/76#issuecomment-1001674250, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACEE42C4ZURKHZHYJ3ZBL33UTCQ4VANCNFSM5KYJKNCA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

-- Hugo Mendes M: +351 916 903 578 Skype: hgmendes

Langer75 commented 2 years ago

To exclude my flashing hardware as failure I let my friend flash one of my D1 mini. And after he has flashed the D1mini it was also unstable with evse-wifi firmeware. A lot of other binaries are working (e.g. tasmota, ESPeasy, ESPurna) without resets. But all of them have smaller binaries. Could it be, that the ROM has a defect, that only has an effect with the evse-wifi binary? It would be a bad fluke, that I have three Wemos D1 minis, bought seperatly with several month/years in between and all of them have the same error. Has someone made similar experiences. Is it somehow possible to check the ROM?

Btw.: I have ordered another one

royspeed commented 2 years ago

I too have had problems with a Wemos D1 mini. Without being connected to the EVSE DIN everything seemed fine, but after connecting pin D1 D2 and GND, the green led on the EVSE is dim. With also 220V voltage on the EVSE the Wemos froze. With different 5V 3A power supply the problem seems to be solved.

Macrisu commented 2 years ago

I had a similar issue today when I've upgraded from NodeMCU to D1 Mini Pro with an external WIFI problem. For some reason the D1 mini Pro clone does not power from the 5v pin and I had to use a cut cheap micro-USB cable from my 2.4A Power Source.

The cheap micro-USB cable was a little long and was close to the 40A relay. This had poor shielding and I've got random crashes. I've moved the cable a few centimetres away from the 40A relay and no more problems.

edsub commented 5 months ago

Did any of you solve this? i still have random crashes (an a reproducible one when accessing the log via either api or gui) . I've read that the cause of this might be a too large firmware for the ESP. But since I am using a 16M "pro" version and the memory usage in the gui not showing a real shortage I think that should not be it. I am using a micro-usb adapter to power the ESP. Screenshot_20240423-090435

rtfmjoey commented 5 months ago

Are you using DHCP or static IP?

I've experienced frequent crashes until I switched from DHCP to static IP.

Langer75 commented 5 months ago

indeed I use static IP