SMA Sunny Boy 1.5
Moderator: leecollings
-
- Posts: 10
- Joined: Sunday 29 March 2020 17:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.1
- Location: Belgium, close to Brussels
- Contact:
Re: SMA Sunny Boy 1.5
If your SMA can be reached without SSL, please give it a try. (e.g. http on port 80)
If your Syno is really too old, it is possible that its openssl libraries do not support the underlying more recent TLS versions.
If your Syno is really too old, it is possible that its openssl libraries do not support the underlying more recent TLS versions.
Domoticz on Rpi 3B, PiZigate, several Sonoff/ESPEasy/Tasmota, IPX800, several Zigbee things
-
- Posts: 12
- Joined: Saturday 29 August 2020 14:03
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: SMA Sunny Boy 1.5
I I can only reach my SMA via https, I can't find a setting to disable https. (Tripower 4.0 with firmware 3.10.10.R).
My Synology is a RS812+ with DSM 6.2.3-25426 Update 2
My Synology is a RS812+ with DSM 6.2.3-25426 Update 2
-
- Posts: 10
- Joined: Sunday 29 March 2020 17:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.1
- Location: Belgium, close to Brussels
- Contact:
Re: SMA Sunny Boy 1.5
SSL can be tricky.
Old protocols are e.g. SSLv3, TLS1.0
Newer include TLS1.2, 1.3.
There must be a matching protocol between the client and the server, and then a matching cipher.
The user manual https://manuals.sma.de/SBxx-1VL-40/en-U ... 30027.html seems to indicate that http is supported.
This means connecting directly to the IP address of your inverter, not the sunnyportal.com website.
Old protocols are e.g. SSLv3, TLS1.0
Newer include TLS1.2, 1.3.
There must be a matching protocol between the client and the server, and then a matching cipher.
The user manual https://manuals.sma.de/SBxx-1VL-40/en-U ... 30027.html seems to indicate that http is supported.
This means connecting directly to the IP address of your inverter, not the sunnyportal.com website.
Domoticz on Rpi 3B, PiZigate, several Sonoff/ESPEasy/Tasmota, IPX800, several Zigbee things
-
- Posts: 12
- Joined: Saturday 29 August 2020 14:03
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: SMA Sunny Boy 1.5
192.168.0.4 redirects to https://192.168.0.4 if I open the webpage in a browser.
I searched within the settings of the SMA but can't find any settings, not for security, SSL, TLS, 443, ...
I searched within the settings of the SMA but can't find any settings, not for security, SSL, TLS, 443, ...
-
- Posts: 20
- Joined: Thursday 19 March 2020 22:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: SMA Sunny Boy 1.5
Could you make a tcpdump and share this?
Would be something like:
tcpdump -i any -w capture.pcap host 192.168.0.4
Let it run for a minute and than stop with ctrl-c so it has captured at least one try by the plugin to connect to the sma. Share the generated file called capture.pcap.
You can share it in a private message if you prefer that.
Would be something like:
tcpdump -i any -w capture.pcap host 192.168.0.4
Let it run for a minute and than stop with ctrl-c so it has captured at least one try by the plugin to connect to the sma. Share the generated file called capture.pcap.
You can share it in a private message if you prefer that.
-
- Posts: 12
- Joined: Saturday 29 August 2020 14:03
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: SMA Sunny Boy 1.5
I can't get tcpdump to do anything (i'm trying with windump).
What do you expect to see?
Is is something that I can get with Wireshark?
What do you expect to see?
Is is something that I can get with Wireshark?
-
- Posts: 20
- Joined: Thursday 19 March 2020 22:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: SMA Sunny Boy 1.5
You should run it on the synology device you run domoticz on. I want to see the ssl handshake process of the plugin with the sma device.
-
- Posts: 20
- Joined: Thursday 19 March 2020 22:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: SMA Sunny Boy 1.5
In the log I do not see a SSL handshake, but I see it tries to setup the connection via HTTP port 80. What is you current configuration? Have configured it to use HTTPS? Can you share a screenshot?
-
- Posts: 9
- Joined: Saturday 21 November 2020 17:21
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: SMA Sunny Boy 1.5
I switched from synology (did not work) to raspberry pi. I installed python, git and pip and i can add the hardware. I see 2 devices but no data.
The error log is:
2020-12-02 13:16:52.186 (Zonnepanelen) No valid response from SMA inverter on 192.168.178.49; {'err': 404}
2020-12-02 13:16:52.703 Error: (Zonnepanelen) Failed to retrieve data from 192.168.178.49, cancelling...
2020-12-02 13:16:56.206 (Zonnepanelen) Pushing 'onHeartbeatCallback' on to queue
2020-12-02 13:16:56.211 (Zonnepanelen) Processing 'onHeartbeatCallback' message
2020-12-02 13:16:56.211 (Zonnepanelen) Calling message handler 'onHeartbeat'.
2020-12-02 13:16:56.211 (Zonnepanelen) onHeartbeat called 7
Any idea?
Thomas
The error log is:
2020-12-02 13:16:52.186 (Zonnepanelen) No valid response from SMA inverter on 192.168.178.49; {'err': 404}
2020-12-02 13:16:52.703 Error: (Zonnepanelen) Failed to retrieve data from 192.168.178.49, cancelling...
2020-12-02 13:16:56.206 (Zonnepanelen) Pushing 'onHeartbeatCallback' on to queue
2020-12-02 13:16:56.211 (Zonnepanelen) Processing 'onHeartbeatCallback' message
2020-12-02 13:16:56.211 (Zonnepanelen) Calling message handler 'onHeartbeat'.
2020-12-02 13:16:56.211 (Zonnepanelen) onHeartbeat called 7
Any idea?
Thomas
-
- Posts: 20
- Joined: Thursday 19 March 2020 22:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: SMA Sunny Boy 1.5
Can you provide de full debug log of the plugin including initialization?
Go to hardware, select the SMA Sunny Boy Solar Inverter and press update. This will trigger a reload of the plugin.
Than go to log and copy the full log output.
Go to hardware, select the SMA Sunny Boy Solar Inverter and press update. This will trigger a reload of the plugin.
Than go to log and copy the full log output.
-
- Posts: 12
- Joined: Saturday 29 August 2020 14:03
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: SMA Sunny Boy 1.5
New log and printscreen of settings attached.
- Attachments
-
- capture.zip
- (830 Bytes) Downloaded 82 times
-
- Knipsel.JPG (54.56 KiB) Viewed 2207 times
-
- Posts: 12
- Joined: Saturday 29 August 2020 14:03
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: SMA Sunny Boy 1.5
I let it run longer and did a update on the hardware in Domotics while running.
New log attached, it looks the same for me
New log attached, it looks the same for me
- Attachments
-
- capture.zip
- (1.57 KiB) Downloaded 48 times
-
- Posts: 9
- Joined: Saturday 21 November 2020 17:21
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: SMA Sunny Boy 1.5
Changed to https and now the kwh is visible!
2020-12-02 15:36:04.747 Status: (Zonnepanelen) Stop directive received.
2020-12-02 15:36:04.747 Status: (Zonnepanelen) Exiting work loop.
2020-12-02 15:36:04.775 Status: (Zonnepanelen) Closing session to SMA inverter on 192.168.178.49
2020-12-02 15:36:05.788 (Zonnepanelen) Debug logging mask set to: NONE
2020-12-02 15:36:05.448 Status: (Zonnepanelen) Stopping threads.
2020-12-02 15:36:05.448 Status: (Zonnepanelen) Stopped.
2020-12-02 15:36:05.448 Status: (Zonnepanelen) Started.
2020-12-02 15:36:05.787 Status: (Zonnepanelen) Entering work loop.
2020-12-02 15:36:05.787 Status: (Zonnepanelen) Initialized version 1.0.4, author 'rklomp'
2020-12-02 15:36:06.195 Status: (Zonnepanelen) Successfully logged in to SMA inverter on 192.168.178.49
-
- Posts: 9
- Joined: Saturday 21 November 2020 17:21
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: SMA Sunny Boy 1.5
Synology 211+ en 6.2 hardware
-
- Posts: 12
- Joined: Saturday 29 August 2020 14:03
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: SMA Sunny Boy 1.5
That is the same software version as my Synology.
Maybe @rklomp is right and it is caused by the openssl libraries.
If I do a Google search on openssl tls synology I only find information about the ssl certificate on the Synology itself, nothing about SSL connection to another device. Is there any way to make sure this is the problem?
Maybe @rklomp is right and it is caused by the openssl libraries.
If I do a Google search on openssl tls synology I only find information about the ssl certificate on the Synology itself, nothing about SSL connection to another device. Is there any way to make sure this is the problem?
-
- Posts: 9
- Joined: Saturday 21 November 2020 17:21
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: SMA Sunny Boy 1.5
I think my problem is that i couldn't install a recent domoticz version (like node-mydomoathome-0.2.39.spk) because my hardware did not allow me to install node.js_v4!Huff002 wrote: ↑Wednesday 02 December 2020 18:23 That is the same software version as my Synology.
Maybe @rklomp is right and it is caused by the openssl libraries.
If I do a Google search on openssl tls synology I only find information about the ssl certificate on the Synology itself, nothing about SSL connection to another device. Is there any way to make sure this is the problem?
But it is now working great on my raspberry pi!
Who is online
Users browsing this forum: No registered users and 0 guests