Toon App: solarPanel ---> solar data without hardware
Moderators: marcelr, TheHogNL, Toonz
Re: Toon App: solarPanel ---> solar data without hardware
I was almost there, except i forgot to update the certificates. Anyways done that, but yet it still fails.Partly due to, i think, being aninsecure certificate.
if i connect from the terminal
curl -H "Content-Type: application/json, Accept-Charset: UTF-8" -X POST -d '{"pass" : "Geheim", "right" : "usr"}' https://192.168.178.21/dyn/login.json
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
yet if i pass the -k option i can get a sessionid
curl -k -H "Content-Type: application/json, Accept-Charset: UTF-8" -X POST -d '{"pass" : "Geheim", "right" : "usr"}' https://192.168.178.21/dyn/login.json
{"result":{"sid":"PnLiT_anQZPnt8K9"}}
Unfortunately the app still can't handle this situation of a probably insecure certificate.
if i connect from the terminal
curl -H "Content-Type: application/json, Accept-Charset: UTF-8" -X POST -d '{"pass" : "Geheim", "right" : "usr"}' https://192.168.178.21/dyn/login.json
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
yet if i pass the -k option i can get a sessionid
curl -k -H "Content-Type: application/json, Accept-Charset: UTF-8" -X POST -d '{"pass" : "Geheim", "right" : "usr"}' https://192.168.178.21/dyn/login.json
{"result":{"sid":"PnLiT_anQZPnt8K9"}}
Unfortunately the app still can't handle this situation of a probably insecure certificate.
-
- Advanced Member
- Posts: 681
- Joined: Sat Feb 09, 2019 7:18 pm
Re: Toon App: solarPanel ---> solar data without hardware
And no change to get the certificate fom the SMA portal i guess or set the SMA from HTTPS to HTTP? Dit you also try to get the certificate with:beer wrote:I was almost there, except i forgot to update the certificates. Anyways done that, but yet it still fails.Partly due to, i think, being aninsecure certificate.
yet if i pass the -k option i can get a sessionid
curl -k -H "Content-Type: application/json, Accept-Charset: UTF-8" -X POST -d '{"pass" : "Geheim", "right" : "usr"}' https://192.168.178.21/dyn/login.json
{"result":{"sid":"PnLiT_anQZPnt8K9"}}
Unfortunately the app still can't handle this situation of a probably insecure certificate.
echo | openssl s_client -showcerts -servername SMAIPADRESS -connect SMAIPADRESS:443 2>/dev/null | awk '/-----BEGIN CERTIFICATE-----/, /-----END CERTIFICATE-----/' >> /usr/local/share/ca-certificates/sma-inverter.crt
update-ca-certificates
If you tried all that, there is no option for JavaScript to connect since javaScript cannot bypass the check like curl does.
Re: Toon App: solarPanel ---> solar data without hardware
nope extrating the certificate as suggested does not work either
i don't see any option in the webconnect or manual of the sma to disable https
I could try to get the data from sunnyportal, except you need an api key for that. Apparantly i don't have that cause the installer registered the inverter. However i have regular login credentials (user/pass). Maybe we can make the connection through sunny portal on user/pass instead of api key.
i don't see any option in the webconnect or manual of the sma to disable https
I could try to get the data from sunnyportal, except you need an api key for that. Apparantly i don't have that cause the installer registered the inverter. However i have regular login credentials (user/pass). Maybe we can make the connection through sunny portal on user/pass instead of api key.
-
- Advanced Member
- Posts: 681
- Joined: Sat Feb 09, 2019 7:18 pm
Re: Toon App: solarPanel ---> solar data without hardware
Connect to the webportal on user/pass is not possible. We have tried many, many ways. Maybe it is possible to login to the loacal sma page but for that i need to connect to your inverter to find further possibilities.
I don’t know if you have a pi running somewhere or domoticz? There are some plugins for domoticz to connect to the sma. I made a plugin to connect to domoticz. Other possibility is to change the domoticz plugin and start a webserver on pi which will output a json result to that webserver. Toon can get data from that webserver then.
I don’t know if you have a pi running somewhere or domoticz? There are some plugins for domoticz to connect to the sma. I made a plugin to connect to domoticz. Other possibility is to change the domoticz plugin and start a webserver on pi which will output a json result to that webserver. Toon can get data from that webserver then.
Re: Toon App: solarPanel ---> solar data without hardware
I've downloaded the app from Github and placed it in folder 'solarpanel' in /qmf/qml/apps/. After GUI reboot the app is not loading.
Buitenradar and Sonos works with the same procedure.
Any advice?
Buitenradar and Sonos works with the same procedure.
Any advice?
-
- Advanced Member
- Posts: 681
- Joined: Sat Feb 09, 2019 7:18 pm
Re: Toon App: solarPanel ---> solar data without hardware
For this app:Panomi wrote:I've downloaded the app from Github and placed it in folder 'solarpanel' in /qmf/qml/apps/. After GUI reboot the app is not loading.
Buitenradar and Sonos works with the same procedure.
Any advice?
1. update your rooted toon from the tsc menu.
2. goto toonStore and install from there
3. choose the new tiles from the General section.
4. select one of the tiles and goto setup menu and fill in your solar inverter credentials. Your toon will reboot.
5. after reboot you can select the tiles from the solar section.
If you want you install it manually the forlder should be named solarPanel so wit uppercase P
Last edited by oepi-loepi on Mon Feb 22, 2021 7:32 pm, edited 1 time in total.
-
- Starting Member
- Posts: 14
- Joined: Tue Apr 21, 2009 10:34 pm
- Location: Netherlands
Re: Toon App: solarPanel ---> solar data without hardware
I've got the app (growatt)working.thnxs!
The only problem is that I can't remove the tile. All other apps no problem.
The only problem is that I can't remove the tile. All other apps no problem.
-
- Advanced Member
- Posts: 681
- Joined: Sat Feb 09, 2019 7:18 pm
Re: Toon App: solarPanel ---> solar data without hardware
You have to click on the tile top left border and hold for a second.ravensteijn wrote:I've got the app (growatt)working.thnxs!
The only problem is that I can't remove the tile. All other apps no problem.
-
- Starting Member
- Posts: 14
- Joined: Tue Apr 21, 2009 10:34 pm
- Location: Netherlands
Re: Toon App: solarPanel ---> solar data without hardware
You have to click on the tile top left border and hold for a secondoepi-loepi wrote:ravensteijn wrote:I've got the app (growatt)working.thnxs!
The only problem is that I can't remove the tile. All other apps no problem.
Thnxs.

-
- Advanced Member
- Posts: 681
- Joined: Sat Feb 09, 2019 7:18 pm
Re: Toon App: solarPanel ---> solar data without hardware
Altenery (APS) inverters have been added to the plugins.
Re: Toon App: solarPanel ---> solar data without hardware
I'm trying to add one solarpanel. I've configured password and ip for SB 1.5. Upon saving, some checks are done. The application hangs at 'checking solarpanel 2'.?
I've only one inverter...
So, I thought, let's add the second one. Stil hangs at 'checking pluging inverter nr2'....
Restarted the device multiple times.. but hangs when saving settings.
Can somebody advice?
I've only one inverter...
So, I thought, let's add the second one. Stil hangs at 'checking pluging inverter nr2'....
Restarted the device multiple times.. but hangs when saving settings.
Can somebody advice?
-
- Advanced Member
- Posts: 681
- Joined: Sat Feb 09, 2019 7:18 pm
Re: Toon App: solarPanel ---> solar data without hardware
Switch the toggle on the top “Aantal inverters” to the left.
-
- Starting Member
- Posts: 2
- Joined: Tue Apr 06, 2021 12:56 pm
Re: Toon App: solarPanel ---> solar data without hardware
Hello,
I recently bought a Toon V2 and I also have an SMA Tripower 10.0. I don't get it working with solarpanel, tried http and https option. Both are not working
When i login on the SMA by using it ipadres in Chrome, i get first a certificate error (might be the reason it won't work with solarpanel?) after that i get onto the following screen
[img=1174,778]https://tweakers.net/i/ZCbKnzDcVMbkHrg0 ... user_large[/img]
BTW i have acces to the user and also to the installer/admin account on this SMA
Please let me know if I can help in some way to get solarpanel working with this new inverters.
I recently bought a Toon V2 and I also have an SMA Tripower 10.0. I don't get it working with solarpanel, tried http and https option. Both are not working
When i login on the SMA by using it ipadres in Chrome, i get first a certificate error (might be the reason it won't work with solarpanel?) after that i get onto the following screen
[img=1174,778]https://tweakers.net/i/ZCbKnzDcVMbkHrg0 ... user_large[/img]
BTW i have acces to the user and also to the installer/admin account on this SMA
Please let me know if I can help in some way to get solarpanel working with this new inverters.
-
- Advanced Member
- Posts: 681
- Joined: Sat Feb 09, 2019 7:18 pm
Re: Toon App: solarPanel ---> solar data without hardware
We have tried these new inverters but we couldn’t get them working because of the certificate. I am sorry.AppieHeijn wrote:Hello,
I recently bought a Toon V2 and I also have an SMA Tripower 10.0. I don't get it working with solarpanel, tried http and https option. Both are not working
When i login on the SMA by using it ipadres in Chrome, i get first a certificate error (might be the reason it won't work with solarpanel?) after that i get onto the following screen
[img=1174,778]https://tweakers.net/i/ZCbKnzDcVMbkHrg0 ... user_large[/img]
BTW i have acces to the user and also to the installer/admin account on this SMA
Please let me know if I can help in some way to get solarpanel working with this new inverters.
-
- Starting Member
- Posts: 2
- Joined: Tue Apr 06, 2021 12:56 pm