home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.02k stars 29.66k forks source link

No Connection with SMA Integration / SMA Integration Login failed #67953

Open Jogiarea opened 2 years ago

Jogiarea commented 2 years ago

The problem

Hello Have a problem with the SMA integration, I can not log in. I have already gone through all log invariants, always "Unexpected error". Have also already changed the system password without success, always brings errors. 3fail

My installation: 1

Modbus is on 2mod

Plant location DE Both inverters have a static IP Speedwire encryption is off Inverter with the latest firmware

Have tried to log in for half a year again and again but without success

Do someone have any Idea what I ve done wrong?

With Modbus i can connect to the Inverter but not to the Battery-Inverter

What version of Home Assistant Core has the issue?

2022.3.2 and other

What was the last working version of Home Assistant Core?

2022.3.2

What type of installation are you running?

Home Assistant Container

Integration causing the issue

SMA

Link to integration documentation on our website

https://www.home-assistant.io/integrations/sma/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

Sonnenwerk commented 2 months ago

and of course i typed the password :-) Just not in the screenshot. And i used the SMA integration for trying ..

littleyoda commented 2 months ago

Can you please run the example.exe from my pysma fork? It tests with interface your inverter supports.

https://github.com/littleyoda/ha-pysmaplus/releases/tag/v0.3.0

example.exe  discovery  --identify
example.exe  identify 192.168.178.67
Sonnenwerk commented 2 months ago

Hi, the example.exe gives me a virus vialation with ms defender.

littleyoda commented 2 months ago

Great :-( I have to apply for an exception again.

EDIT: I tested it with a windows 11 installation and can not confirm this problem. EDIT2: Can you please send me a screenshot of the defender warning? => https://littleyoda.github.io/