Open Trashmee opened 1 year ago
In here the only helpful comment seems to indicate that indeed a power cycle of the inverter would help. https://github.com/home-assistant/core/issues/84375
# wget http://192.168.177.30/api/v1/token
--2023-08-02 17:29:17-- http://192.168.177.30/api/v1/token
Connecting to 192.168.177.30:80... failed: Connection refused.
# ping -c 2 192.168.177.30
PING 192.168.177.30 (192.168.177.30) 56(84) bytes of data.
64 bytes from 192.168.177.30: icmp_seq=1 ttl=63 time=0.449 ms
64 bytes from 192.168.177.30: icmp_seq=2 ttl=63 time=0.500 ms
Could you try https instead of http?
Yes, did that but didn't mention, sorry:
This one works:
https://192.168.177.30 ->
https://192.168.177.30/webui/Plant:1/dashboard
This one just runs into a timeout:
https://192.168.177.30/api/v1/token
No webpage was found for the web address: https://192.168.177.30/api/v1/token
urllib3.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)
This one feels familar (invalid certificate when pointing the script to https) - maybe i worked around that last time & the container got rebuild... ? I'll try to work around the certificate issue tonight.
Yes - issues seems my old brain. I think i had the same issue initially.
Talking to myself & your attention helped - thanks!
I can confirm that I now also have the error. Maybe an update of the firmware by SMA. I'll have a look at it in the next few days.
please try the new version.
It looks like SMA has deactivated the http access with the latest firmware version. I have now switched to https.
BTW: My inverter was updated 5 days ago.
How did you handle the private SSL certificate? I'll check out - thanks for your quick support!
SSL/TLS checks deactivated. Not a great solution, but acceptable for me for connections in the local network.
Hi,
your script has worked like a charm for multiple month. Since yesterday I noticed missing updates in HomeAssistant. sma2mqtt 'restarts' itself every minute (and has been doing so).
When starting manually it seems like the http interface is not responding? https to the WebUI works fine, but I would not know how to restart the WebServer in the SMA w/o a full powercyle, which I would like to avoid.
I'm not aware if this is due to an SMA update breaking functionalliy - or the service hanging inside the SMA inverter.
Have you seen such behavior? Any clue to to recover? I'll stop the script overnight and see if recovery happens.