CurtRod / SimpleEVSE-WiFi

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

Charge won't start #32

Closed hgmendes closed 4 years ago

hgmendes commented 4 years ago

When i press 'Activate EVSE' it won't start charging, 'Deactivate EVSE' turns green after some seconds. I could hear contactor closing and opening in a few seconds interval. Reseting all parameters to default (with no SimpleEVSE-Wifi) charger is working fine.

Macrisu commented 4 years ago

Plz give details on full setup. Some pictures with the setup can help.

Are some registers modified from default?

hgmendes commented 4 years ago

Hi, thank you for your reply.

I don't have pics right now, but I could send tomorrow.

I have already tried in several SimpleEVSE WB and also in a SimpleEVSE Din. Setup is only SimpleEVSE (firmware 11) and Webos D1 Mini. D1 and D2 to TX/RX, 5V and ground to VCC and ground on SimpleEVSE. All parameters in default.

Regards,

Hugo Mendes M: +351 916 903 578

A terça, 16/07/2019, 23:52, Macrisu notifications@github.com escreveu:

Plz give details on full setup. Some pictures with the setup can help.

Are some registers modified from default?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CurtRod/SimpleEVSE-WiFi/issues/32?email_source=notifications&email_token=ACEE42E33KTVS7MFMT7OSFLP7ZGKHA5CNFSM4IEII452YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2CPZ4A#issuecomment-512031984, or mute the thread https://github.com/notifications/unsubscribe-auth/ACEE42FY2O6VE6FW234ULULP7ZGKHANCNFSM4IEII45Q .

Macrisu commented 4 years ago

My EVSE Din is still on the post so I'll try your pain soon. I'm working with NodeMcu, as I hate to solder pins.

===== NOTE#1: By default, MODBUS is NOT enabled, so the original analogue input switches can be used (current limit and current boost functions). MODBUS can be enabled by pulling AN input down to GND while booting (= when you power the device up) at least 5 times within 3 seconds (button activated). This will change register 2001 to the value 1, but it will not save the value permanently. The value will be saved after the first successful R/W operation over MODBUS (register number >=2000).

Are you sure that Modbus is enabled permanently?

  1. Verify if your PINS are soldered correctly on Webos D1 Mini.
  2. D1-TX D2-RX

This can be mixed by mistake!

  1. The documentation for EVSE is a mess, as many have changed over different version of FW + DIN version has si own pinouts. Also, the new HW has Mobus active by default, but you should try to verify the default registers, as I suspect that there is the main problem.

For my setup (kW, WIFI and RFID and Type 2 soket), I plan to check the Registers: 2000 - 32 2001 - 1 2003 - 0 2004 - 0 2005 - b0-0, b1-0, (I do not plan to use the button) 2007 - 0 (I'll use a socket, so I want to read the resistor from the cable).

https://www.evalbo.de/download-1/

Some useful stuff

hgmendes commented 4 years ago

Hi again!

Yes, modbus is permanently active, since i have an arduino HMI LCD project for SimpleEVSE and need it permanently active.

  1. All OK with Webos D1 mini, i've checked and rechecked;
  2. If RX/TX is connected incorrectly then it give a 'Modbus Error';

Refering to the registers, i've also checked and rechecked. Next step is to review code, but base on comments in here it's working fine with other people, so i believe is something on my side, but i can't find what!!!

As i told above, i also have a HMI LCD that interacts with SimpleEVSE (start and stop charging, charging status, current change etc.) and it's working fine...

Hugo Mendes GSM PT: +351 916 903 578 Skype: hgmendes

Macrisu notifications@github.com escreveu no dia quarta, 17/07/2019 à(s) 09:18:

My EVSE Din is still on the post so I'll try your pain soon. I'm working with NodeMcu, as I hate to solder pins.

NOTE#1: By default, MODBUS is NOT enabled, so the original analogue input switches can be used (current limit and current boost functions). MODBUS can be enabled by pulling AN input down to GND while booting (= when you power the device up) at least 5 times within 3 seconds (button activated). This will change register 2001 to the value 1, but it will not save the value permanently. The value will be saved after the first successful R/W operation over MODBUS (register number >=2000).

Are you sure that Modbus is enabled permanently?

  1. Verify if your PINS are soldered correctly on Webos D1 Mini.

D1-TX D2-RX

This can be mixed by mistake!

  1. The documentation for EVSE is a mess, as many have changed over different version of FW + DIN version has si own pinouts. Also, the new HW has Mobus active by default, but you should try to verify the default registers, as I suspect that there is the main problem.

For my setup (kW, WIFI and RFID and Type 2 soket), I plan to check the Registers: 2000 - 32 2001 - 1 2003 - 0 2004 - 0 2005 - b0-0, b1-0, (I do not plan to use the button) 2007 - 0 (I'll use a socket, so I want to read the resistor from the cable).

https://www.evalbo.de/download-1/

Some useful stuff

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CurtRod/SimpleEVSE-WiFi/issues/32?email_source=notifications&email_token=ACEE42HE42RXLZUVSDWSJRTP73IVLA5CNFSM4IEII452YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2DNLOI#issuecomment-512153017, or mute the thread https://github.com/notifications/unsubscribe-auth/ACEE42ACI7ZWNY4UMYEYD53P73IVLANCNFSM4IEII45Q .

Macrisu commented 4 years ago

On the german forum, somebody had the same issues and the problems seemed to be D1 (defective) https://www.goingelectric.de/forum/viewtopic.php?t=31260

Can you share your work for LCD?

Macrisu commented 4 years ago

Well... I try to activate Modbus - 5x press on the button on the first 3 seconds after power-on, but no success :(

I get Modbus error in the WIFI interface.

hgmendes commented 4 years ago

Normally Modbus error is D1/D2 > TX/RX crossed or Modbus register not activated. Try to do it faster.

Hugo Mendes GSM PT: +351 916 903 578 Skype: hgmendes

Macrisu notifications@github.com escreveu no dia quinta, 18/07/2019 à(s) 14:14:

Well... I try to activate Modbus - 5x press on the button on the first 3 seconds after power-on, but no success :(

I get Modbus error in the WIFI interface.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CurtRod/SimpleEVSE-WiFi/issues/32?email_source=notifications&email_token=ACEE42E5A32IIBQ7NIE7423QABUEBA5CNFSM4IEII452YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2INZUQ#issuecomment-512810194, or mute the thread https://github.com/notifications/unsubscribe-auth/ACEE42CZ4VI2SLQQ3K7VT4TQABUEBANCNFSM4IEII45Q .

Macrisu commented 4 years ago

I'm getting mad with this... I cannot activate Modbus :(

Also, in the EVSE WIFI Settings, I get no info about Device Status Also, the LOG is always empty.

settings

hgmendes commented 4 years ago

What is the version of SimpleEVSE firmware? Not all versions have modbus activation on boot. Does the LED stays on for a few seconds on boot or start immediately to blink?

Device status only appears when modbus connection is ok.

Hugo Mendes M: +351 916 903 578

A quinta, 18/07/2019, 19:30, Macrisu notifications@github.com escreveu:

I'm getting mad with this... I cannot activate modbus :(

Also, in the EVSE WIFI Settings, I get no info about Device Status Also, the LOG is always empty [image: settings] https://user-images.githubusercontent.com/16325429/61482396-2eb6b500-a9a3-11e9-9c96-06b98149c607.jpg

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CurtRod/SimpleEVSE-WiFi/issues/32?email_source=notifications&email_token=ACEE42HW4VPGZPFUPQY6KFDQACZCPA5CNFSM4IEII452YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2JMABQ#issuecomment-512933894, or mute the thread https://github.com/notifications/unsubscribe-auth/ACEE42D4RKQIIQFNPXTZHRDQACZCPANCNFSM4IEII45Q .

Macrisu commented 4 years ago

It works... I've forgot to connect the GND wire :(

All working great now, even RFID 💃

hgmendes commented 4 years ago

How are you powering the NodeMCU? I think my problem could be there, since i'm powering it from SimpleEVSE 5v...

Hugo Mendes GSM PT: +351 916 903 578 Skype: hgmendes

Macrisu notifications@github.com escreveu no dia quinta, 18/07/2019 à(s) 20:33:

It works... I've forgot to connect the GND wire :(

All working great now, even RFID 💃

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CurtRod/SimpleEVSE-WiFi/issues/32?email_source=notifications&email_token=ACEE42DQVCW2KI6FSA5ITSTQADAPNA5CNFSM4IEII452YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2JRMUY#issuecomment-512955987, or mute the thread https://github.com/notifications/unsubscribe-auth/ACEE42DXZWNJT6RXHRYYVLLQADAPNANCNFSM4IEII45Q .

Macrisu commented 4 years ago

I’m using an US chromecast adapter 5v, 1a I finally got an use for US and UK phone adapters...


From: Hugo Mendes notifications@github.com Sent: Friday, July 26, 2019 6:40 PM To: CurtRod/SimpleEVSE-WiFi Cc: Macrisu; Comment Subject: Re: [CurtRod/SimpleEVSE-WiFi] Charge won't start (#32)

How are you powering the NodeMCU? I think my problem could be there, since i'm powering it from SimpleEVSE 5v...

Hugo Mendes GSM PT: +351 916 903 578 Skype: hgmendes

Macrisu notifications@github.com escreveu no dia quinta, 18/07/2019 à(s) 20:33:

It works... I've forgot to connect the GND wire :(

All working great now, even RFID 💃

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CurtRod/SimpleEVSE-WiFi/issues/32?email_source=notifications&email_token=ACEE42DQVCW2KI6FSA5ITSTQADAPNA5CNFSM4IEII452YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2JRMUY#issuecomment-512955987, or mute the thread https://github.com/notifications/unsubscribe-auth/ACEE42DXZWNJT6RXHRYYVLLQADAPNANCNFSM4IEII45Q .

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/CurtRod/SimpleEVSE-WiFi/issues/32?email_source=notifications&email_token=AD4RWNJCNRRJQADU72EDV53QBMLIPA5CNFSM4IEII452YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2465XQ#issuecomment-515501790, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AD4RWNMLRF4NQBNX57BORCLQBMLIPANCNFSM4IEII45Q.

Macrisu commented 4 years ago

Well, I have your problem now, and the culprit is the power supply. It says 1A 5V and worked for few days, but now I have disconects after few minutes. I’ll use a Well Din Rail power supply via usb.

hgmendes commented 4 years ago

Hi,

My problem was solved connecting 5v from ac/DC converter to esp, I presume that 5v delivered by SimpleEVSE wasn't enough.