Stuck at EVSE ISO SLAC MATCHED


Alberto Merciai
 

Hi All,

I successfully solved the issue related to NMK, the problem was that Everest was trying to interact with PLC after reset but PLC was not ready yet.

Now I'm blocked here.

Any tips? 

image.png

Regards,
Alberto


Cornelius Claussen
 

Hi,

Can you attach your config? Looks like it does not authorize the charging session. Make sure you have a dummy token provider module connected correctly as well as an tokenvalidator

Best
Cornelius 

Alberto Merciai <alb3rt0.m3rciai@...> schrieb am Mi., 28. Dez. 2022, 16:05:

Hi All,

I successfully solved the issue related to NMK, the problem was that Everest was trying to interact with PLC after reset but PLC was not ready yet.

Now I'm blocked here.

Any tips? 

image.png

Regards,
Alberto


Alberto Merciai
 

Hello Cornelius,

attached my config.

Thanks a lot,
Alberto

On Wed, Dec 28, 2022 at 5:09 PM Cornelius Claussen via lists.lfenergy.org <cornelius.claussen=pionix.de@...> wrote:

Hi,

Can you attach your config? Looks like it does not authorize the charging session. Make sure you have a dummy token provider module connected correctly as well as an tokenvalidator

Best
Cornelius 

Alberto Merciai <alb3rt0.m3rciai@...> schrieb am Mi., 28. Dez. 2022, 16:05:
Hi All,

I successfully solved the issue related to NMK, the problem was that Everest was trying to interact with PLC after reset but PLC was not ready yet.

Now I'm blocked here.

Any tips? 

image.png

Regards,
Alberto


Cornelius Claussen
 

  token_provider:
    module: JsDummyTokenProviderManual

Change that to JsDummyTokenProvider without the manual. Normal config-sil can be used as an example. It has a dependency to evsemanager. When evsemanager emits a plugged in event, dummy token provider swipes a simulated RFID card and outputs a token to auth manager. Auth manager validates it and validates the session with evsemanager.

With that one change you should get one step further. However the car did not start iso communication. I saw that the device for iso15118_charger is still set to auto. Set that to the same as in the slac module (the PLC device)

Best
Cornelius 

Alberto Merciai <alb3rt0.m3rciai@...> schrieb am Mi., 28. Dez. 2022, 16:32:

Hello Cornelius,

attached my config.

Thanks a lot,
Alberto

On Wed, Dec 28, 2022 at 5:09 PM Cornelius Claussen via lists.lfenergy.org <cornelius.claussen=pionix.de@...> wrote:
Hi,

Can you attach your config? Looks like it does not authorize the charging session. Make sure you have a dummy token provider module connected correctly as well as an tokenvalidator

Best
Cornelius 

Alberto Merciai <alb3rt0.m3rciai@...> schrieb am Mi., 28. Dez. 2022, 16:05:
Hi All,

I successfully solved the issue related to NMK, the problem was that Everest was trying to interact with PLC after reset but PLC was not ready yet.

Now I'm blocked here.

Any tips? 

image.png

Regards,
Alberto


Alberto Merciai
 

Hello Cornelius,

I'm stuck with the same problem after your suggestions.
By looking at wireshark logs I think that Everest needs to reply to SSDP broadcast message (SECC Discovery Protocol)
but I cannot see this response.

How can I debug this part?

Thanks


On Wed, Dec 28, 2022 at 5:46 PM Cornelius Claussen via lists.lfenergy.org <cornelius.claussen=pionix.de@...> wrote:

  token_provider:
    module: JsDummyTokenProviderManual

Change that to JsDummyTokenProvider without the manual. Normal config-sil can be used as an example. It has a dependency to evsemanager. When evsemanager emits a plugged in event, dummy token provider swipes a simulated RFID card and outputs a token to auth manager. Auth manager validates it and validates the session with evsemanager.

With that one change you should get one step further. However the car did not start iso communication. I saw that the device for iso15118_charger is still set to auto. Set that to the same as in the slac module (the PLC device)

Best
Cornelius 

Alberto Merciai <alb3rt0.m3rciai@...> schrieb am Mi., 28. Dez. 2022, 16:32:
Hello Cornelius,

attached my config.

Thanks a lot,
Alberto

On Wed, Dec 28, 2022 at 5:09 PM Cornelius Claussen via lists.lfenergy.org <cornelius.claussen=pionix.de@...> wrote:
Hi,

Can you attach your config? Looks like it does not authorize the charging session. Make sure you have a dummy token provider module connected correctly as well as an tokenvalidator

Best
Cornelius 

Alberto Merciai <alb3rt0.m3rciai@...> schrieb am Mi., 28. Dez. 2022, 16:05:
Hi All,

I successfully solved the issue related to NMK, the problem was that Everest was trying to interact with PLC after reset but PLC was not ready yet.

Now I'm blocked here.

Any tips? 

image.png

Regards,
Alberto


Cornelius Claussen
 

It should do that once the device for iso15118_charger is correct and josev starts correctly. Did you install all python deps for josev? You can also turn on debugging for josev, but I need to check on my laptop later on how to do that. Also make sure you plugin cars only after it prints ready for charging, never before.

Alberto Merciai <alb3rt0.m3rciai@...> schrieb am Mi., 28. Dez. 2022, 17:08:

Hello Cornelius,

I'm stuck with the same problem after your suggestions.
By looking at wireshark logs I think that Everest needs to reply to SSDP broadcast message (SECC Discovery Protocol)
but I cannot see this response.

How can I debug this part?

Thanks


On Wed, Dec 28, 2022 at 5:46 PM Cornelius Claussen via lists.lfenergy.org <cornelius.claussen=pionix.de@...> wrote:
  token_provider:
    module: JsDummyTokenProviderManual

Change that to JsDummyTokenProvider without the manual. Normal config-sil can be used as an example. It has a dependency to evsemanager. When evsemanager emits a plugged in event, dummy token provider swipes a simulated RFID card and outputs a token to auth manager. Auth manager validates it and validates the session with evsemanager.

With that one change you should get one step further. However the car did not start iso communication. I saw that the device for iso15118_charger is still set to auto. Set that to the same as in the slac module (the PLC device)

Best
Cornelius 

Alberto Merciai <alb3rt0.m3rciai@...> schrieb am Mi., 28. Dez. 2022, 16:32:
Hello Cornelius,

attached my config.

Thanks a lot,
Alberto

On Wed, Dec 28, 2022 at 5:09 PM Cornelius Claussen via lists.lfenergy.org <cornelius.claussen=pionix.de@...> wrote:
Hi,

Can you attach your config? Looks like it does not authorize the charging session. Make sure you have a dummy token provider module connected correctly as well as an tokenvalidator

Best
Cornelius 

Alberto Merciai <alb3rt0.m3rciai@...> schrieb am Mi., 28. Dez. 2022, 16:05:
Hi All,

I successfully solved the issue related to NMK, the problem was that Everest was trying to interact with PLC after reset but PLC was not ready yet.

Now I'm blocked here.

Any tips? 

image.png

Regards,
Alberto


Cornelius Claussen
 

https://github.com/EVerest/ext-switchev-iso15118/blob/everest/iso15118/shared/logging/everesthandler.py

Change last line to log.info instead of debug

Then you see python output on console

Cornelius Claussen via lists.lfenergy.org <cornelius.claussen=pionix.de@...> schrieb am Mi., 28. Dez. 2022, 17:20:

It should do that once the device for iso15118_charger is correct and josev starts correctly. Did you install all python deps for josev? You can also turn on debugging for josev, but I need to check on my laptop later on how to do that. Also make sure you plugin cars only after it prints ready for charging, never before.

Alberto Merciai <alb3rt0.m3rciai@...> schrieb am Mi., 28. Dez. 2022, 17:08:
Hello Cornelius,

I'm stuck with the same problem after your suggestions.
By looking at wireshark logs I think that Everest needs to reply to SSDP broadcast message (SECC Discovery Protocol)
but I cannot see this response.

How can I debug this part?

Thanks


On Wed, Dec 28, 2022 at 5:46 PM Cornelius Claussen via lists.lfenergy.org <cornelius.claussen=pionix.de@...> wrote:
  token_provider:
    module: JsDummyTokenProviderManual

Change that to JsDummyTokenProvider without the manual. Normal config-sil can be used as an example. It has a dependency to evsemanager. When evsemanager emits a plugged in event, dummy token provider swipes a simulated RFID card and outputs a token to auth manager. Auth manager validates it and validates the session with evsemanager.

With that one change you should get one step further. However the car did not start iso communication. I saw that the device for iso15118_charger is still set to auto. Set that to the same as in the slac module (the PLC device)

Best
Cornelius 

Alberto Merciai <alb3rt0.m3rciai@...> schrieb am Mi., 28. Dez. 2022, 16:32:
Hello Cornelius,

attached my config.

Thanks a lot,
Alberto

On Wed, Dec 28, 2022 at 5:09 PM Cornelius Claussen via lists.lfenergy.org <cornelius.claussen=pionix.de@...> wrote:
Hi,

Can you attach your config? Looks like it does not authorize the charging session. Make sure you have a dummy token provider module connected correctly as well as an tokenvalidator

Best
Cornelius 

Alberto Merciai <alb3rt0.m3rciai@...> schrieb am Mi., 28. Dez. 2022, 16:05:
Hi All,

I successfully solved the issue related to NMK, the problem was that Everest was trying to interact with PLC after reset but PLC was not ready yet.

Now I'm blocked here.

Any tips? 

image.png

Regards,
Alberto


Alberto Merciai
 

Cool,

I install all josev modules and I will check if logs say something more about this issue.

What about your eth interface, which are your ipv4 and ipv6 settings?
I'm using the same iface used for PLC as you suggest before.
image.png

is it ok?

Thanks

On Wed, Dec 28, 2022 at 6:38 PM Cornelius Claussen via lists.lfenergy.org <cornelius.claussen=pionix.de@...> wrote:

https://github.com/EVerest/ext-switchev-iso15118/blob/everest/iso15118/shared/logging/everesthandler.py

Change last line to log.info instead of debug

Then you see python output on console

Cornelius Claussen via lists.lfenergy.org <cornelius.claussen=pionix.de@...> schrieb am Mi., 28. Dez. 2022, 17:20:
It should do that once the device for iso15118_charger is correct and josev starts correctly. Did you install all python deps for josev? You can also turn on debugging for josev, but I need to check on my laptop later on how to do that. Also make sure you plugin cars only after it prints ready for charging, never before.

Alberto Merciai <alb3rt0.m3rciai@...> schrieb am Mi., 28. Dez. 2022, 17:08:
Hello Cornelius,

I'm stuck with the same problem after your suggestions.
By looking at wireshark logs I think that Everest needs to reply to SSDP broadcast message (SECC Discovery Protocol)
but I cannot see this response.

How can I debug this part?

Thanks


On Wed, Dec 28, 2022 at 5:46 PM Cornelius Claussen via lists.lfenergy.org <cornelius.claussen=pionix.de@...> wrote:
  token_provider:
    module: JsDummyTokenProviderManual

Change that to JsDummyTokenProvider without the manual. Normal config-sil can be used as an example. It has a dependency to evsemanager. When evsemanager emits a plugged in event, dummy token provider swipes a simulated RFID card and outputs a token to auth manager. Auth manager validates it and validates the session with evsemanager.

With that one change you should get one step further. However the car did not start iso communication. I saw that the device for iso15118_charger is still set to auto. Set that to the same as in the slac module (the PLC device)

Best
Cornelius 

Alberto Merciai <alb3rt0.m3rciai@...> schrieb am Mi., 28. Dez. 2022, 16:32:
Hello Cornelius,

attached my config.

Thanks a lot,
Alberto

On Wed, Dec 28, 2022 at 5:09 PM Cornelius Claussen via lists.lfenergy.org <cornelius.claussen=pionix.de@...> wrote:
Hi,

Can you attach your config? Looks like it does not authorize the charging session. Make sure you have a dummy token provider module connected correctly as well as an tokenvalidator

Best
Cornelius 

Alberto Merciai <alb3rt0.m3rciai@...> schrieb am Mi., 28. Dez. 2022, 16:05:
Hi All,

I successfully solved the issue related to NMK, the problem was that Everest was trying to interact with PLC after reset but PLC was not ready yet.

Now I'm blocked here.

Any tips? 

image.png

Regards,
Alberto


Cornelius Claussen
 

Ipv4 settings don't matter, manual is fine. Iso is using ipv6 link local addresses only. 

Alberto Merciai <alb3rt0.m3rciai@...> schrieb am Mi., 28. Dez. 2022, 17:59:

Cool,

I install all josev modules and I will check if logs say something more about this issue.

What about your eth interface, which are your ipv4 and ipv6 settings?
I'm using the same iface used for PLC as you suggest before.
image.png

is it ok?

Thanks

On Wed, Dec 28, 2022 at 6:38 PM Cornelius Claussen via lists.lfenergy.org <cornelius.claussen=pionix.de@...> wrote:
https://github.com/EVerest/ext-switchev-iso15118/blob/everest/iso15118/shared/logging/everesthandler.py

Change last line to log.info instead of debug

Then you see python output on console

Cornelius Claussen via lists.lfenergy.org <cornelius.claussen=pionix.de@...> schrieb am Mi., 28. Dez. 2022, 17:20:
It should do that once the device for iso15118_charger is correct and josev starts correctly. Did you install all python deps for josev? You can also turn on debugging for josev, but I need to check on my laptop later on how to do that. Also make sure you plugin cars only after it prints ready for charging, never before.

Alberto Merciai <alb3rt0.m3rciai@...> schrieb am Mi., 28. Dez. 2022, 17:08:
Hello Cornelius,

I'm stuck with the same problem after your suggestions.
By looking at wireshark logs I think that Everest needs to reply to SSDP broadcast message (SECC Discovery Protocol)
but I cannot see this response.

How can I debug this part?

Thanks


On Wed, Dec 28, 2022 at 5:46 PM Cornelius Claussen via lists.lfenergy.org <cornelius.claussen=pionix.de@...> wrote:
  token_provider:
    module: JsDummyTokenProviderManual

Change that to JsDummyTokenProvider without the manual. Normal config-sil can be used as an example. It has a dependency to evsemanager. When evsemanager emits a plugged in event, dummy token provider swipes a simulated RFID card and outputs a token to auth manager. Auth manager validates it and validates the session with evsemanager.

With that one change you should get one step further. However the car did not start iso communication. I saw that the device for iso15118_charger is still set to auto. Set that to the same as in the slac module (the PLC device)

Best
Cornelius 

Alberto Merciai <alb3rt0.m3rciai@...> schrieb am Mi., 28. Dez. 2022, 16:32:
Hello Cornelius,

attached my config.

Thanks a lot,
Alberto

On Wed, Dec 28, 2022 at 5:09 PM Cornelius Claussen via lists.lfenergy.org <cornelius.claussen=pionix.de@...> wrote:
Hi,

Can you attach your config? Looks like it does not authorize the charging session. Make sure you have a dummy token provider module connected correctly as well as an tokenvalidator

Best
Cornelius 

Alberto Merciai <alb3rt0.m3rciai@...> schrieb am Mi., 28. Dez. 2022, 16:05:
Hi All,

I successfully solved the issue related to NMK, the problem was that Everest was trying to interact with PLC after reset but PLC was not ready yet.

Now I'm blocked here.

Any tips? 

image.png

Regards,
Alberto


Alberto Merciai
 

I'm asking it cause after setting device as you suggest I got this error,

2022-12-28 12:15:20.057820 [ERRO] iso15118_charge static void Log::error(const string&) :: ERROR - iso15118.shared.utils (51): No link-local address was found for interface enp0s31f6
Traceback (most recent call last):
  File "/home/alb3rt0/checkout/everest-workspace/everest-core/build/dist/libexec/everest/modules/PyJosev/../../3rd_party/josev/iso15118/shared/utils.py", line 49, in wait_for_tasks
    task.result()
  File "/home/alb3rt0/checkout/everest-workspace/everest-core/build/dist/libexec/everest/modules/PyJosev/../../3rd_party/josev/iso15118/secc/transport/tcp_server.py", line 45, in start_no_tls
    await self.server_factory(ready_event, tls=False)
  File "/home/alb3rt0/checkout/everest-workspace/everest-core/build/dist/libexec/everest/modules/PyJosev/../../3rd_party/josev/iso15118/secc/transport/tcp_server.py", line 92, in server_factory
    self.full_ipv6_address = await get_link_local_full_addr(port, self.iface)
  File "/home/alb3rt0/checkout/everest-workspace/everest-core/build/dist/libexec/everest/modules/PyJosev/../../3rd_party/josev/iso15118/shared/network.py", line 160, in get_link_local_full_addr
    ip_address = _get_link_local_addr(nic)
  File "/home/alb3rt0/checkout/everest-workspace/everest-core/build/dist/libexec/everest/modules/PyJosev/../../3rd_party/josev/iso15118/shared/network.py", line 51, in _get_link_local_addr
    raise NoLinkLocalAddressError(
iso15118.shared.exceptions.NoLinkLocalAddressError: No link-local address was found for interface enp0s31f6
2022-12-28 12:15:20.057981 [ERRO] iso15118_charge static void Log::error(const string&) :: ERROR - iso15118.shared.utils (51): No link-local address was found for interface enp0s31f6
Traceback (most recent call last):
  File "/home/alb3rt0/checkout/everest-workspace/everest-core/build/dist/libexec/everest/modules/PyJosev/../../3rd_party/josev/iso15118/shared/utils.py", line 49, in wait_for_tasks
    task.result()
  File "/home/alb3rt0/checkout/everest-workspace/everest-core/build/dist/libexec/everest/modules/PyJosev/../../3rd_party/josev/iso15118/secc/transport/tcp_server.py", line 39, in start_tls
    await self.server_factory(ready_event, tls=True)
  File "/home/alb3rt0/checkout/everest-workspace/everest-core/build/dist/libexec/everest/modules/PyJosev/../../3rd_party/josev/iso15118/secc/transport/tcp_server.py", line 92, in server_factory
    self.full_ipv6_address = await get_link_local_full_addr(port, self.iface)
  File "/home/alb3rt0/checkout/everest-workspace/everest-core/build/dist/libexec/everest/modules/PyJosev/../../3rd_party/josev/iso15118/shared/network.py", line 160, in get_link_local_full_addr
    ip_address = _get_link_local_addr(nic)
  File "/home/alb3rt0/checkout/everest-workspace/everest-core/build/dist/libexec/everest/modules/PyJosev/../../3rd_party/josev/iso15118/shared/network.py", line 51, in _get_link_local_addr
    raise NoLinkLocalAddressError(
iso15118.shared.exceptions.NoLinkLocalAddressError: No link-local address was found for interface enp0s31f6

sometimes I skip this issue  by using this pipe:
sudo ip -6 addr flush dev enp0s31f6 scope link && sudo ./run-sil-dc.sh

but I think it is only a workaround. : P



On Wed, Dec 28, 2022 at 6:59 PM Alberto Merciai <alb3rt0.m3rciai@...> wrote:
Cool,

I install all josev modules and I will check if logs say something more about this issue.

What about your eth interface, which are your ipv4 and ipv6 settings?
I'm using the same iface used for PLC as you suggest before.
image.png

is it ok?

Thanks

On Wed, Dec 28, 2022 at 6:38 PM Cornelius Claussen via lists.lfenergy.org <cornelius.claussen=pionix.de@...> wrote:
https://github.com/EVerest/ext-switchev-iso15118/blob/everest/iso15118/shared/logging/everesthandler.py

Change last line to log.info instead of debug

Then you see python output on console

Cornelius Claussen via lists.lfenergy.org <cornelius.claussen=pionix.de@...> schrieb am Mi., 28. Dez. 2022, 17:20:
It should do that once the device for iso15118_charger is correct and josev starts correctly. Did you install all python deps for josev? You can also turn on debugging for josev, but I need to check on my laptop later on how to do that. Also make sure you plugin cars only after it prints ready for charging, never before.

Alberto Merciai <alb3rt0.m3rciai@...> schrieb am Mi., 28. Dez. 2022, 17:08:
Hello Cornelius,

I'm stuck with the same problem after your suggestions.
By looking at wireshark logs I think that Everest needs to reply to SSDP broadcast message (SECC Discovery Protocol)
but I cannot see this response.

How can I debug this part?

Thanks


On Wed, Dec 28, 2022 at 5:46 PM Cornelius Claussen via lists.lfenergy.org <cornelius.claussen=pionix.de@...> wrote:
  token_provider:
    module: JsDummyTokenProviderManual

Change that to JsDummyTokenProvider without the manual. Normal config-sil can be used as an example. It has a dependency to evsemanager. When evsemanager emits a plugged in event, dummy token provider swipes a simulated RFID card and outputs a token to auth manager. Auth manager validates it and validates the session with evsemanager.

With that one change you should get one step further. However the car did not start iso communication. I saw that the device for iso15118_charger is still set to auto. Set that to the same as in the slac module (the PLC device)

Best
Cornelius 

Alberto Merciai <alb3rt0.m3rciai@...> schrieb am Mi., 28. Dez. 2022, 16:32:
Hello Cornelius,

attached my config.

Thanks a lot,
Alberto

On Wed, Dec 28, 2022 at 5:09 PM Cornelius Claussen via lists.lfenergy.org <cornelius.claussen=pionix.de@...> wrote:
Hi,

Can you attach your config? Looks like it does not authorize the charging session. Make sure you have a dummy token provider module connected correctly as well as an tokenvalidator

Best
Cornelius 

Alberto Merciai <alb3rt0.m3rciai@...> schrieb am Mi., 28. Dez. 2022, 16:05:
Hi All,

I successfully solved the issue related to NMK, the problem was that Everest was trying to interact with PLC after reset but PLC was not ready yet.

Now I'm blocked here.

Any tips? 

image.png

Regards,
Alberto