Page 2 of 20

Re: Toon App: solarPanel ---> solar data without hardware

Posted: Thu Jan 14, 2021 5:10 pm
by oepi-loepi
Floris25 wrote:
Op deze site https://robothuis.nl/2020/01/13/zonnepa ... -domoticz/ staat een verwijzing naar github om SMA data uit te lezen in domoticz.
Ze halen daar de data van het internet af (dus niet rechtstreeks vanaf de omvormer die in het LAN zit) in geval van SMA zou je dan tegen 'http://www.sunnyportal.com" aan moeten gaan praten.
Op sunnyportal heb ik een account waar ik mijn eigen productie kan inzien.

de data zou dan gaan van: mijn omvormer --> http://www.sunnyportalcom --> SolarPanel op mijn Toon

is dat ook een optie?


Groeten Floris
Die site ken ik idd en ook de methode met de POST (heb voor de zekerheid ook het php script nog aangepast en geprobeerd maar ook die werkt niet meer). Helaas is het door de beveiliging van die site niet mogelijk. Ik heb van alles geprobeerd daar. Mocht iemand nog iets vinden dan hoor ik dat graag.

Heb nu ook de SMA portal op mn pad en doe via Fiddler inloggen --> het certificaat is ongeldig. mogelijk.... etc.

ik zag nog wel wat met poorten 9522 , 9523 en 9524 ben benieuwd of iemand die lokaal kan testen (in een browser http:// ioadress : 9522) enzovoort

Re: Toon App: solarPanel ---> solar data without hardware

Posted: Thu Jan 14, 2021 5:11 pm
by oepi-loepi
Hansb wrote:Hallo
Dit ziet erg erg goed uit. Toppie.
Zal veel werk in zitten.
Ik ben hier nieuw en net begonnen om de Toon te ontdekken .
Ik ziet dat de Growatt omvormer ook zichtbaar te maken is, maar dat je daar een app voor nodig hebt die u ontwikkeld heeft. Kan ik die app ergens downloaden en hoe zet ik hem dan in de Toon?

Vriendelijke groeten
Hans
Ik neem aan dat je een geroote toon hebt? Dan nog heel even geduld en dan komt de app in de toonstore..

Re: Toon App: solarPanel ---> solar data without hardware

Posted: Thu Jan 14, 2021 9:59 pm
by Floris25
oepi-loepi wrote:
Die site ken ik idd en ook de methode met de POST (heb voor de zekerheid ook het php script nog aangepast en geprobeerd maar ook die werkt niet meer). Helaas is het door de beveiliging van die site niet mogelijk. Ik heb van alles geprobeerd daar. Mocht iemand nog iets vinden dan hoor ik dat graag.

Heb nu ook de SMA portal op mn pad en doe via Fiddler inloggen --> het certificaat is ongeldig. mogelijk.... etc.

ik zag nog wel wat met poorten 9522 , 9523 en 9524 ben benieuwd of iemand die lokaal kan testen (in een browser http:// ioadress : 9522) enzovoort
Ik ben niet echt een ontwikkelaar,( maar ook niet compleet 2 linker handen ;) ) dus als je mee iets meer op weghelpt wil ik graag nog wel wat dingen uitzoeken.

Re: Toon App: solarPanel ---> solar data without hardware

Posted: Thu Jan 14, 2021 11:45 pm
by oepi-loepi
Floris25 wrote:
oepi-loepi wrote:
Die site ken ik idd en ook de methode met de POST (heb voor de zekerheid ook het php script nog aangepast en geprobeerd maar ook die werkt niet meer). Helaas is het door de beveiliging van die site niet mogelijk. Ik heb van alles geprobeerd daar. Mocht iemand nog iets vinden dan hoor ik dat graag.

Heb nu ook de SMA portal op mn pad en doe via Fiddler inloggen --> het certificaat is ongeldig. mogelijk.... etc.

ik zag nog wel wat met poorten 9522 , 9523 en 9524 ben benieuwd of iemand die lokaal kan testen (in een browser http:// ioadress : 9522) enzovoort
Ik ben niet echt een ontwikkelaar,( maar ook niet compleet 2 linker handen ;) ) dus als je mee iets meer op weghelpt wil ik graag nog wel wat dingen uitzoeken.
eigenlijk heel simpel/ Gewoon in een browser in de adresbalk typen
http://sma:9522

waarbij sma dan het ip adres van je omvormer is en zo ook voor die andere poorten. Even kijken of daar een output uit komt *waarschijnlijk niet maar dit is echt het laatste wat ik kan proberen).

Re: Toon App: solarPanel ---> solar data without hardware

Posted: Sat Jan 16, 2021 10:26 am
by Floris25
oepi-loepi wrote:
eigenlijk heel simpel/ Gewoon in een browser in de adresbalk typen
http://sma:9522

waarbij sma dan het ip adres van je omvormer is en zo ook voor die andere poorten. Even kijken of daar een output uit komt *waarschijnlijk niet maar dit is echt het laatste wat ik kan proberen).
ik heb een volledige scan met Nmap gedaan.. nada niks noppes.... dat ding zit helemaal dicht.

in de output staat wel

Warning: OSScan results may be unreliable because we could not find at least 1 open and 1 closed port

zou ik nog op een andere manier kunnen scannen?



Code: Select all

Starting Nmap 7.91 ( https://nmap.org ) at 2021-01-16 08:28 West-Europa (standaardtijd)

NSE: Loaded 153 scripts for scanning.

NSE: Script Pre-scanning.

Initiating NSE at 08:28

Completed NSE at 08:28, 0.00s elapsed

Initiating NSE at 08:28

Completed NSE at 08:28, 0.00s elapsed

Initiating NSE at 08:28

Completed NSE at 08:28, 0.00s elapsed

Initiating ARP Ping Scan at 08:28

Scanning 192.168.1.7 [1 port]

Completed ARP Ping Scan at 08:28, 0.20s elapsed (1 total hosts)

Initiating Parallel DNS resolution of 1 host. at 08:28

Completed Parallel DNS resolution of 1 host. at 08:28, 0.02s elapsed

Initiating SYN Stealth Scan at 08:28

Scanning 192.168.1.7 [65535 ports]

SYN Stealth Scan Timing: About 1.97% done; ETC: 08:54 (0:25:41 remaining)

SYN Stealth Scan Timing: About 4.20% done; ETC: 08:53 (0:24:19 remaining)

SYN Stealth Scan Timing: About 8.07% done; ETC: 08:53 (0:22:59 remaining)

SYN Stealth Scan Timing: About 12.91% done; ETC: 08:53 (0:21:42 remaining)

SYN Stealth Scan Timing: About 17.78% done; ETC: 08:53 (0:20:25 remaining)

SYN Stealth Scan Timing: About 22.83% done; ETC: 08:53 (0:19:09 remaining)

SYN Stealth Scan Timing: About 27.88% done; ETC: 08:52 (0:17:53 remaining)

SYN Stealth Scan Timing: About 32.93% done; ETC: 08:52 (0:16:38 remaining)

SYN Stealth Scan Timing: About 37.99% done; ETC: 08:52 (0:15:22 remaining)

SYN Stealth Scan Timing: About 43.06% done; ETC: 08:52 (0:14:06 remaining)

SYN Stealth Scan Timing: About 48.13% done; ETC: 08:52 (0:12:51 remaining)

SYN Stealth Scan Timing: About 53.20% done; ETC: 08:52 (0:11:35 remaining)

SYN Stealth Scan Timing: About 58.26% done; ETC: 08:52 (0:10:20 remaining)

SYN Stealth Scan Timing: About 63.32% done; ETC: 08:52 (0:09:05 remaining)

SYN Stealth Scan Timing: About 68.38% done; ETC: 08:52 (0:07:49 remaining)

SYN Stealth Scan Timing: About 73.57% done; ETC: 08:52 (0:06:33 remaining)

SYN Stealth Scan Timing: About 78.63% done; ETC: 08:52 (0:05:17 remaining)

SYN Stealth Scan Timing: About 83.67% done; ETC: 08:52 (0:04:03 remaining)

SYN Stealth Scan Timing: About 88.72% done; ETC: 08:52 (0:02:48 remaining)

SYN Stealth Scan Timing: About 93.77% done; ETC: 08:52 (0:01:33 remaining)

Completed SYN Stealth Scan at 08:52, 1484.77s elapsed (65535 total ports)

Initiating Service scan at 08:52

Initiating OS detection (try #1) against 192.168.1.7

Retrying OS detection (try #2) against 192.168.1.7

NSE: Script scanning 192.168.1.7.

Initiating NSE at 08:52

Completed NSE at 08:52, 0.00s elapsed

Initiating NSE at 08:52

Completed NSE at 08:52, 0.00s elapsed

Initiating NSE at 08:52

Completed NSE at 08:52, 0.00s elapsed

Nmap scan report for 192.168.1.7

Host is up (0.00026s latency).

All 65535 scanned ports on 192.168.1.7 are filtered

MAC Address: 00:40:AD:88:07:C3 (SMA Regelsysteme Gmbh)

Warning: OSScan results may be unreliable because we could not find at least 1 open and 1 closed port

Device type: specialized|printer

Running (JUST GUESSING): Lancom LCOS 9.X (93%), Samsung embedded (85%)

OS CPE: cpe:/o:lancom:lcos:9.20 cpe:/h:samsung:m2020w

Aggressive OS guesses: Lancom LCOS 9.20 (93%), Samsung M2020W wireless printer (85%)

No exact OS matches for host (test conditions non-ideal).

Network Distance: 1 hop



TRACEROUTE

HOP RTT     ADDRESS

1   0.26 ms 192.168.1.7



NSE: Script Post-scanning.

Initiating NSE at 08:52

Completed NSE at 08:52, 0.00s elapsed

Initiating NSE at 08:52

Completed NSE at 08:52, 0.00s elapsed

Initiating NSE at 08:52

Completed NSE at 08:52, 0.00s elapsed

Read data files from: C:\Program Files (x86)\Nmap

OS and Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .

Nmap done: 1 IP address (1 host up) scanned in 1491.12 seconds

           Raw packets sent: 131095 (5.771MB) | Rcvd: 9 (840B)


Re: Toon App: solarPanel ---> solar data without hardware

Posted: Sat Jan 16, 2021 1:18 pm
by oepi-loepi
Ik ben bang dat het een soort van modbus over ip is. Dan is toch extra hardware nodig. Een pi, docker of esp om dat binaire protocol te maken, uit te vragen en om te zetten naar een webpagina. Wel te doen maar extra hardware en dat was nou net niet de bedoeling van dit.

Je kan ook via sbfspot naar pvoutput. Die zit reeds in de app.

Nog gemakkelijker zou zijn een Sonoff pow in je stroomkabel te zetten. Die mag tot 10/15 amp max. Ik zal binnenkort eens kijken of ik zo een sonoff koop en of ik die erin kan zetten.

Re: Toon App: solarPanel ---> solar data without hardware LIVE

Posted: Mon Jan 18, 2021 8:32 am
by Joskep
Great News! Very glad with this app!!

2 questions:
I have 2 different solarsystems; 1 with an Enphase envoy AND one with an SMS Sunnyboy 1.5.

For the SMA:
Can you add this device, or with do i have to do to make it work :-) ?
What i dit as an test: http://192.168.1.46/dyn/login.json?pass ... &right=usr > but the result is an 404-error.
Within the settings the TCP and UDP are OFF , but webconnect is on.

Is it possible to add TWO systems; like for example: 192.111.1.1; 192.111.1.2 ?!

Thanks (again!)

Re: Toon App: solarPanel ---> solar data without hardware LIVE

Posted: Mon Jan 18, 2021 8:56 am
by oepi-loepi
Joskep wrote:Great News! Very glad with this app!!

2 questions:
I have 2 different solarsystems; 1 with an Enphase envoy AND one with an SMS Sunnyboy 1.5.

For the SMA:
Can you add this device, or with do i have to do to make it work :-) ?
What i dit as an test: http://192.168.1.46/dyn/login.json?pass ... &right=usr > but the result is an 404-error.
Within the settings the TCP and UDP are OFF , but webconnect is on.

Is it possible to add TWO systems; like for example: 192.111.1.1; 192.111.1.2 ?!

Thanks (again!)
I guess you have sma sb3000tl-21 or something similar. I have tested that but is not possibel since it does not have a portal or api but it is a kind of modbus over tcp. Since toon lack tcpsocket it is not possible without hardware. You can use sbfspot and upload to pvoutput. Pvoutput is in the toon app.

The idea of teo systems is a good idea and might be added in future updates.

Re: Toon App: solarPanel ---> solar data without hardware LIVE

Posted: Mon Jan 18, 2021 10:13 am
by Arnout2000
I don’t have my solar panels yet, but this App looks really nice. Good work oepi-loepi!
Makes me wonder if I really need to buy a Qubino Z-Wave Smart Meter....

Re: Toon App: solarPanel ---> solar data without hardware LIVE

Posted: Mon Jan 18, 2021 10:29 am
by Joskep
Thanks OepieLoepie

So then i have to go for sbfspot and upload to pvoutput and use the Pvoutput-app for that set.
(the te second question is answered :)

For the Enphase:
I entered the local IP-address ( 192.168.1.66) but its doesn't give information, the app says it produce.

Thanks

Re: Toon App: solarPanel ---> solar data without hardware LIVE

Posted: Mon Jan 18, 2021 10:51 am
by edwin999
Joskep wrote:Thanks OepieLoepie

So then i have to go for sbfspot and upload to pvoutput and use the Pvoutput-app for that set.
(the te second question is answered :)

For the Enphase:
I entered the local IP-address ( 192.168.1.66) but its doesn't give information, the app says it produce.

Thanks
Can you test following in a browser on your pc:
http://envoy.local/api/v1/production
http://192.168.1.66/api/v1/production

Re: Toon App: solarPanel ---> solar data without hardware LIVE

Posted: Mon Jan 18, 2021 11:12 am
by Joskep
Offcourse :)

Both give the following output:

{
"wattHoursToday": 8,
"wattHoursSevenDays": 6405,
"wattHoursLifetime": 145493,
"wattsNow": 30
}

EDIT:
It works now for the Enphase solarpanels! Thanks

Re: Toon App: solarPanel ---> solar data without hardware LIVE

Posted: Mon Jan 18, 2021 11:36 am
by Joskep
EDIT:

Maybe offtopic..
But before i use sbfspot on my SMA in combination with my Domoticz..
If theres somebody who can fix the issue that the Toon doesn't shows ' sensors' ..that would be great.
On my Toon (v2) i only see switches, but on my Domoticz app is can see sensors al well, and there i can see the output of both solarsystems

Re: Toon App: solarPanel ---> solar data without hardware LIVE

Posted: Mon Jan 18, 2021 11:40 am
by edwinbak
Hello,

Thanks for developing this app, it looks great!

I am using SolarEdge API and have entered this data in the settings panel.
I know there is a limit to the SolarEdge API and that their own app fetches data every 15 minutes because of this, how is this set up in your app?
At the moment no data about my solar panels is coming in. Is there a log file somewhere so I can check what is going wrong?
I have already checked the Site ID and API key and they are okay.

Like to hear from you!

Thanks,
Edwin

Re: Toon App: solarPanel ---> solar data without hardware LIVE

Posted: Mon Jan 18, 2021 12:46 pm
by Joskep
@OepieLoepie:

The Enphase panels work as i mentioned.
Now i'm testing with the SMA, like you asked another on this topic i did this:

http://smaipadress/dyn/login.json?pass= ... &right=usr

The result is:

" {"result":{ "

Maybe an start?

Its an SMA Sunnyboy 1.5 and its called " SB1.5-1VL-40 544 " as a device name within the settings

Before i test to change the URL / IP in the app (like : "http://smaipadress/dyn/login.json?pass= ... &right=usr" in stead of only ' 192.168.1.64' )...
Is it possible to add TWO systems at one time? Or do i have to overwrite the Enphase?
If its not possible then i wouldn't work ever so i don;t spend to much time and wait untill somebody makes sensors visible within the Toon gui :)