SMA Sunny Boy 1.5
Moderator: leecollings
-
- Posts: 20
- Joined: Thursday 19 March 2020 22:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: SMA Sunny Boy 1.5
Do you have pip installed?
Can you try running "sudo pip3 install requests"
- René
Can you try running "sudo pip3 install requests"
- René
-
- Posts: 36
- Joined: Friday 10 April 2020 7:01
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: SMA Sunny Boy 1.5
No pip installed. Will do it directly and let you if it helps.
Pip is installed succefully:
https://imgshare.io/image/4rUKl
I have added the SMA hardware again, still the same error.
Where / how to use the command sudo pip3 install requests?
"command not found"
-
- Posts: 20
- Joined: Thursday 19 March 2020 22:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: SMA Sunny Boy 1.5
What version of Python are you running? It looks like you have installed pip for python2.7. You should have pip for python3 aka pip3.
Try piping the curl command to python3 instead.
Try piping the curl command to python3 instead.
-
- Posts: 36
- Joined: Friday 10 April 2020 7:01
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: SMA Sunny Boy 1.5
I'm running Python 3.5.1-0108
When i use the general command, PIP 2 seems te get installed (pip20.0.2)

https://imgshare.io/image/pip.4rJYw
Could you please help me with the correct syntaxt to download and /or install pip3?
When i use the general command, PIP 2 seems te get installed (pip20.0.2)
https://imgshare.io/image/pip.4rJYw
Could you please help me with the correct syntaxt to download and /or install pip3?
-
- Posts: 20
- Joined: Thursday 19 March 2020 22:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: SMA Sunny Boy 1.5
Try running:
python3 get-pip.py
python3 get-pip.py
-
- Posts: 36
- Joined: Friday 10 April 2020 7:01
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: SMA Sunny Boy 1.5
Seems succesfully installed, but stil the same error in domoticz log and stil not possible to run the command sudo pip3
error from domoticz and install pip3 log
https://imgshare.io/image/pip.4rDzn
error from domoticz and install pip3 log
https://imgshare.io/image/pip.4rDzn
-
- Posts: 20
- Joined: Thursday 19 March 2020 22:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: SMA Sunny Boy 1.5
The issue is clearly stated in the warning.
add /volume1/@appstore/py3k/usr/local/bin to your PATH
or just run /volume1/@appstore/py3k/usr/local/bin/pip3
add /volume1/@appstore/py3k/usr/local/bin to your PATH
or just run /volume1/@appstore/py3k/usr/local/bin/pip3
-
- Posts: 36
- Joined: Friday 10 April 2020 7:01
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: SMA Sunny Boy 1.5
Hi Rene,
As mentioned before, i'm a noob concerning SSH / Linux / developing..
sorry for my questions.
Could you please explain a bit more about your last comment?
where should i add the path you mentioned? in the plugin.py script?
As mentioned before, i'm a noob concerning SSH / Linux / developing..
sorry for my questions.
Could you please explain a bit more about your last comment?
where should i add the path you mentioned? in the plugin.py script?
-
- Posts: 20
- Joined: Thursday 19 March 2020 22:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: SMA Sunny Boy 1.5
https://opensource.com/article/17/6/set-path-linux
or just run
or just run
Code: Select all
/volume1/@appstore/py3k/usr/local/bin/pip3 install requests
-
- Posts: 36
- Joined: Friday 10 April 2020 7:01
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: SMA Sunny Boy 1.5
jeeeej, hardware and devices are visable.
one question about this error.
In the hardware config i specified the ipadres. It is an internal adres, so no https is configured.
It seems that port 443 is automatically added?
2020-04-10 12:25:05.084 (SMA omvormer) Error accessing SMA inverter on 192.168.0.200; HTTPSConnectionPool(host='192.168.0.200', port=443): Max retries exceeded with url: /dyn/login.json (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x4850ac50>: Failed to establish a new connection: [Errno 111]
one question about this error.
In the hardware config i specified the ipadres. It is an internal adres, so no https is configured.
It seems that port 443 is automatically added?
2020-04-10 12:25:05.084 (SMA omvormer) Error accessing SMA inverter on 192.168.0.200; HTTPSConnectionPool(host='192.168.0.200', port=443): Max retries exceeded with url: /dyn/login.json (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x4850ac50>: Failed to establish a new connection: [Errno 111]
-
- Posts: 20
- Joined: Thursday 19 March 2020 22:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: SMA Sunny Boy 1.5
What software version a you running?
Mine is using 3.10.16.R and serving https by default.
If you access 192.168.0.200 in your browser, are you only able to access it on port 80? not 443?
EDIT:
I made the protocol configurable now.
Go to the plugin directory and do a git pull
After that set the protocol in the domoticz GUI.
Mine is using 3.10.16.R and serving https by default.
If you access 192.168.0.200 in your browser, are you only able to access it on port 80? not 443?
EDIT:
I made the protocol configurable now.
Go to the plugin directory and do a git pull
After that set the protocol in the domoticz GUI.
-
- Posts: 36
- Joined: Friday 10 April 2020 7:01
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: SMA Sunny Boy 1.5
My converter is a SB1.5-1VL-40 293, with firmware version 3.10.5.R
via https the converter is not available. Via http://192.** it is available
super! thats quick.
What is de correct syntax for a git pull?
Nevermind
Working like a charm!! thx for your support
via https the converter is not available. Via http://192.** it is available
super! thats quick.
What is de correct syntax for a git pull?

Nevermind

Working like a charm!! thx for your support
-
- Posts: 20
- Joined: Thursday 19 March 2020 22:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: SMA Sunny Boy 1.5
Good to hear! If you come across any other issues please let me know 

-
- Posts: 36
- Joined: Friday 10 April 2020 7:01
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: SMA Sunny Boy 1.5
Hi, one question. The script works really nice! But now and then an error occurs:
This seems to started after i installed https://github.com/Xorfor/Domoticz-Speedtest-Plugin
There's no issue with updating the sensors, but it's always better when there are no errors at all.
The query intervall is 10min on the SMA hardware, and i've setup the speedtest interval at 90min.
2020-04-21 07:32:13.949 Error: SMA omvormer hardware (5) thread seems to have ended unexpectedly
2020-04-21 07:32:28.896 Error: SMA omvormer hardware (5) thread seems to have ended unexpectedly
2020-04-21 07:32:29.047 Error: Internet speedtest hardware (9) thread seems to have ended unexpectedly
2020-04-21 07:32:43.543 Error: SMA omvormer hardware (5) thread seems to have ended unexpectedly
2020-04-21 07:32:43.573 Error: Internet speedtest hardware (9) thread seems to have ended unexpectedly
-
- Posts: 20
- Joined: Thursday 19 March 2020 22:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: SMA Sunny Boy 1.5
I have seen that issue at my setup before as well, but have not been able to figure out the exact issue yet
-
- Posts: 40
- Joined: Wednesday 10 June 2020 9:20
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: SMA Sunny Boy 1.5
Hello, first of all...thanks for sharing this all!!
A little question:
I dit everything like told and succesfully loaded the python script. In the pull down menu the SMA Sunnyboy is visible.
The only question i have:
I can only fill in user name / password.
But when i acces my Sunnyboy directly via my network (URL with IP) is also have to choose for 'installer/user'.
How do i have to login?
EDIT: I added 2 variantes:
1. http://192.168.1.XXX/?login=Gebruiker
and then bij the fiels 'password' i filled in my password.
2. http://192.168.1.XXX/?login=Gebruiker&password=XXX
On a direct URl (chrome) it works, but i can't see the device within Domoticz
A little question:
I dit everything like told and succesfully loaded the python script. In the pull down menu the SMA Sunnyboy is visible.
The only question i have:
I can only fill in user name / password.
But when i acces my Sunnyboy directly via my network (URL with IP) is also have to choose for 'installer/user'.
How do i have to login?
EDIT: I added 2 variantes:
1. http://192.168.1.XXX/?login=Gebruiker
and then bij the fiels 'password' i filled in my password.
2. http://192.168.1.XXX/?login=Gebruiker&password=XXX
On a direct URl (chrome) it works, but i can't see the device within Domoticz
-
- Posts: 20
- Joined: Thursday 19 March 2020 22:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: SMA Sunny Boy 1.5
It uses the User account to login to the device.
At IP Address fill in the IP of the device, not the URL.
At User group password the password of the "User" account.
At IP Address fill in the IP of the device, not the URL.
At User group password the password of the "User" account.
-
- Posts: 40
- Joined: Wednesday 10 June 2020 9:20
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: SMA Sunny Boy 1.5
Thanks, sorry...i wasn't quite clear
I also tried:
192.168.1.X AND the password (the one i have to give AFTER i choose between INSTALLER or USER)
At hardware i filled in:
----------------
Type: SMA Sunny Boy 1.5 Solar Inverter
Timeout: Niet actief
SMA Sunny Boy 1.5 Solar Inverter Plugin
IP Adres:
192.168.1.X
User group password:
•••••••••••
Debug:
True
---------------
Nothing works
I also tried:
192.168.1.X AND the password (the one i have to give AFTER i choose between INSTALLER or USER)
At hardware i filled in:
----------------
Type: SMA Sunny Boy 1.5 Solar Inverter
Timeout: Niet actief
SMA Sunny Boy 1.5 Solar Inverter Plugin
IP Adres:
192.168.1.X
User group password:
•••••••••••
Debug:
True
---------------
Nothing works

-
- Posts: 40
- Joined: Wednesday 10 June 2020 9:20
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: SMA Sunny Boy 1.5
What i did now:
Went to (your) URL:https://github.com/rklomp/Domoticz-SMA- ... /plugin.py
And made an new plugin.py (via 'touch plugin.py) and via NANO is copied and pasted the sourcecode of your file
Still doesn't work
Went to (your) URL:https://github.com/rklomp/Domoticz-SMA- ... /plugin.py
And made an new plugin.py (via 'touch plugin.py) and via NANO is copied and pasted the sourcecode of your file
Still doesn't work
-
- Posts: 20
- Joined: Thursday 19 March 2020 22:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: SMA Sunny Boy 1.5
Yes best is to use my version.
Can you supply the log output?
Can you supply the log output?
Who is online
Users browsing this forum: No registered users and 0 guests