SMAPortal Login failed

Begonnen von coolice, 21 September 2020, 16:40:10

Vorheriges Thema - Nächstes Thema

DS_Starter

Ja ok, wegen dem fehlenden Energy Meter / HomeManager.
Aber die PV Erzeugungswerte sollten kommen.

Wenn es damit hakt wieder verbose 5 einstellen und zusätzlich verbose5Data = liveData.
Dann sieht man was vom Portal als HTML/JSON an FHEM geliefert wird.
ESXi@NUC+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter

coolice

Das steht im Log
2020.09.29 08:36:39 3: SMAPortal - ################################################################
2020.09.29 08:36:39 3: SMAPortal - ###      start new set/get data from SMA Sunny Portal        ###
2020.09.29 08:36:39 3: SMAPortal - ################################################################
2020.09.29 08:36:39 5: SMAPortal - SMAPortal version:          3.4.1
2020.09.29 08:36:39 4: SMAPortal - calculated maximum cycles:  10
2020.09.29 08:36:39 4: SMAPortal - calculated timeout:         3600
2020.09.29 08:36:39 3: SMAPortal - ignore provider "forecastData" - SMA Home Manager is not installed
2020.09.29 08:36:39 3: SMAPortal - ignore provider "plantMasterData" - SMA Home Manager is not installed
2020.09.29 08:36:39 3: SMAPortal - ignore provider "consumerMonthData" - SMA Home Manager is not installed
2020.09.29 08:36:39 3: SMAPortal - ignore provider "consumerYearData" - SMA Home Manager is not installed
2020.09.29 08:36:39 3: SMAPortal - ignore provider "consumerDayData" - SMA Home Manager is not installed
2020.09.29 08:36:39 3: SMAPortal - ignore provider "consumerCurrentdata" - SMA Home Manager is not installed
2020.09.29 08:36:39 3: SMAPortal - ignore provider "consumerMasterdata" - SMA Home Manager is not installed
2020.09.29 08:36:39 3: SMAPortal - Running data cycle: 1 of 10
2020.09.29 08:36:39 5: SMAPortal - Start operation with CookieLocation: ./log/SMAPortal_cookie.txt and UserAgent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)
2020.09.29 08:36:39 5: SMAPortal - data get: all, data set: none
2020.09.29 08:36:39 4: SMAPortal - Credentials read from RAM: MEINEEMAILADRESSE ********
2020.09.29 08:36:39 3: SMAPortal - User is already logged in.
2020.09.29 08:36:39 4: SMAPortal - Getting liveData
GET https://www.sunnyportal.com/homemanager?t=1601337600000
Connection: keep-alive
Accept: */*
Accept-Encoding: gzip, deflate, br
Accept-Language: de,en-US;q=0.7,en;q=0.3
Host: www.sunnyportal.com
Referer: https://www.sunnyportal.com/FixedPages/HoManLive.aspx
User-Agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)
Cookie: collapseNavi_state=shown; ASP.NET_SessionId=k0o4o4olbxrgideri0dv50nd; SunnyPortalPageCounter=0; BIGipServerPool_P_SunnyPortal=3070535872.20480.0000; .SunnyPortalFormsLogin=4A940E7998C13E5D3760868955B120C4FC42DB4BB622306FE1738200B2B81356AA1124332EAE46B6C3DA067184E32751BB4AE9D4327900695B6FD2EA683E8EB419A001510681450D7DA63F523BE6588C0C420C0A5CFEDD46330733524AF2ECE788041F047613FF69DFE17DB5063052C2A1615A9E23C303639679206B0673995CDE3AB08CA916556201975124CFDDF35CF6D88D765E355DAF8F645CCE3B53C31D0825A358935C871BE33139C9D8575C942885726B0DF73138AF7BB272631C1EA1B905AB14982D702605EC39F242193F6DA64C0573FE866FD38C7D5D0BD91788C5C10E09E0BDD7D43F99760BDE8FC8B20BBA2FDB2E3F1A72A05DFD72B9C8EE0456C6DE1BEF7FD91DBA7F8BC9EFA52C92A995E540D0FBD6E1BA208BB324CD380057B671120448C7A16A3DA3CECF39880AB6AD0676BA68B00085AAC5B9A7EFC979C1CB615CD72C7E384AA7193201299527D41A1163E95E909FDA3A9462B0175CD6F3F693E492DE0954341F4A6F70102B83E4A440F9597325E78E491F47DB39DC9BA2F358AFD154EE44D86E5AA7F7149C8471616C5D8016790769F0976B5105FC680FE9CCEE8AB774397FDC47086E2529E83B48A68513DD7B494DF8CACC3481CA3E6CE879B6F676D2647A02A29177FC04539C7E98CE193A517CB0D5B8DB4BCD58997356C4B35EF9568FDBC80ADF0174D379A908ECBC3683987D99045601F75F6079050E370C6F8EBCA3C867D4B2BB6E37635B288E8FDF437F647858E886138152842A6C213AA05E46FDFE96C25CB788E3CB59CCE9F366574F50031E64AE5F7861DA81E881F825
Cookie2: $Version="1"
DNT: 1
X-Requested-With: XMLHttpRequest

(no content)
HTTP/1.1 200 OK
Cache-Control: private, s-maxage=0
Date: Tue, 29 Sep 2020 06:36:40 GMT
Server: Microsoft-IIS/10.0
Content-Length: 823
Content-Type: application/json; charset=utf-8
Client-Date: Tue, 29 Sep 2020 06:36:40 GMT
Client-Peer: 171.25.178.37:443
Client-Response-Num: 1
Client-SSL-Cert-Issuer: /C=GB/ST=Greater Manchester/L=Salford/O=Sectigo Limited/CN=Sectigo RSA Domain Validation Secure Server CA
Client-SSL-Cert-Subject: /CN=*.sunnyportal.com
Client-SSL-Cipher: ECDHE-RSA-AES256-GCM-SHA384
Client-SSL-Socket-Class: IO::Socket::SSL
Client-SSL-Warning: Peer certificate not verified
X-AspNet-Version: 4.0.30319
X-AspNetMvc-Version: 5.2

{"__type":"LiveDataUI","Timestamp":{"__type":"DateTime","DateTime":"2020-09-29T08:36:40","Kind":"Unspecified"},"PV":null,"FeedIn":null,"GridConsumption":null,"DirectConsumption":null,"SelfConsumption":null,"SelfSupply":null,"TotalConsumption":null,"DirectConsumptionQuote":null,"SelfConsumptionQuote":null,"AutarkyQuote":null,"BatteryIn":null,"BatteryOut":null,"BatteryChargeStatus":null,"OperationHealth":null,"BatteryStateOfHealth":null,"ModuleTemperature":null,"EnvironmentTemperature":null,"WindSpeed":null,"...
(+ 311 more bytes not shown)
2020.09.29 08:36:40 5: SMAPortal - Return Code: 200
2020.09.29 08:36:40 5: SMAPortal - liveData received:
{
  'DirectConsumption' => undef,
  'AutarkyQuote' => undef,
  'Info' => {},
  'BatteryChargeStatus' => undef,
  'OperationHealth' => undef,
  'SelfConsumptionQuote' => undef,
  'EnvironmentTemperature' => undef,
  'SelfSupply' => undef,
  'ModuleTemperature' => undef,
  'BatteryStateOfHealth' => undef,
  'FeedIn' => undef,
  'SelfConsumption' => undef,
  'BatteryIn' => undef,
  'WarningMessages' => [
                         "Die aktuelle PV-Erzeugung konnte nicht vollst\x{e4}ndig ermittelt werden. Ein Wechselrichter hat nicht geantwortet."
                       ],
  'WindSpeed' => undef,
  'GridConsumption' => undef,
  'InfoMessages' => [
                      'Der aktuelle Verbrauch konnte nicht ermittelt werden. Der aktuelle Netzbezug ist unbekannt. '
                    ],
  'Timestamp' => {
                   'DateTime' => '2020-09-29T08:36:40',
                   '__type' => 'DateTime',
                   'Kind' => 'Unspecified'
                 },
  'BatteryOut' => undef,
  'Insolation' => undef,
  '__type' => 'LiveDataUI',
  'BatteryMode' => undef,
  'ErrorMessages' => [],
  'DirectConsumptionQuote' => undef,
  'PV' => undef,
  'TotalConsumption' => undef
}

2020.09.29 08:36:40 4: SMAPortal - ##### extracting live data ####
2020.09.29 08:36:40 3: SMAPortal - data retrieved successfully.
2020.09.29 08:36:40 4: SMAPortal - Refresh - caller: "n.a.", callerroom: "n.a.", detail: "n.a.", pload: 0, forcePageRefresh: 0, event_Spgdev: 1
2020.09.29 08:41:39 3: SMAPortal - ################################################################
2020.09.29 08:41:39 3: SMAPortal - ###      start new set/get data from SMA Sunny Portal        ###
2020.09.29 08:41:39 3: SMAPortal - ################################################################
2020.09.29 08:41:39 5: SMAPortal - SMAPortal version:          3.4.1
2020.09.29 08:41:39 4: SMAPortal - calculated maximum cycles:  10
2020.09.29 08:41:39 4: SMAPortal - calculated timeout:         3600
2020.09.29 08:41:39 3: SMAPortal - ignore provider "forecastData" - SMA Home Manager is not installed
2020.09.29 08:41:39 3: SMAPortal - ignore provider "plantMasterData" - SMA Home Manager is not installed
2020.09.29 08:41:39 3: SMAPortal - ignore provider "consumerMonthData" - SMA Home Manager is not installed
2020.09.29 08:41:39 3: SMAPortal - ignore provider "consumerYearData" - SMA Home Manager is not installed
2020.09.29 08:41:39 3: SMAPortal - ignore provider "consumerDayData" - SMA Home Manager is not installed
2020.09.29 08:41:39 3: SMAPortal - ignore provider "consumerCurrentdata" - SMA Home Manager is not installed
2020.09.29 08:41:39 3: SMAPortal - ignore provider "consumerMasterdata" - SMA Home Manager is not installed
2020.09.29 08:41:39 3: SMAPortal - Running data cycle: 1 of 10
2020.09.29 08:41:39 5: SMAPortal - Start operation with CookieLocation: ./log/SMAPortal_cookie.txt and UserAgent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)
2020.09.29 08:41:39 5: SMAPortal - data get: all, data set: none
2020.09.29 08:41:39 4: SMAPortal - Credentials read from RAM: MEINEEMAILADRESSE ********
2020.09.29 08:41:40 3: SMAPortal - User is already logged in.
2020.09.29 08:41:40 4: SMAPortal - Getting liveData
GET https://www.sunnyportal.com/homemanager?t=1601337600000
Connection: keep-alive
Accept: */*
Accept-Encoding: gzip, deflate, br
Accept-Language: de,en-US;q=0.7,en;q=0.3
Host: www.sunnyportal.com
Referer: https://www.sunnyportal.com/FixedPages/HoManLive.aspx
User-Agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)
Cookie: collapseNavi_state=shown; .SunnyPortalFormsLogin=620ECC3BF3EBA2796E260BEB98BFB46314C8197E3699B44C518D81280F0B1EEAEABC41BADD3831147E88FDC05B94C1DEF0CDC2285E55780C6A6A2267109068CC8A9B0520F8CA43FA3A02CAC4C3506ADA5D1F60A4E650F672DEE0E65A362E1F83BABD3281EC9B5B1DCE23BCBDA5CA918B9BE27E58482DBA385B815CDEB1462533ABB82BCD98D737B29E5590D0C6CB0F3459068CFCD9FFEEF6E0458EAC17188B1A7A64C9BA9044CD415FADCBB1430AAF41DF63813AA6C4995A4EABDABC85E7E3A5DAC79FC3C5B29585D610901A3F1D62C93B7514646239B2CDDD7FEDBE2C92C2930438E87F1E24B1D380F5921021865EC94C65BDA02B80B05EFEB0E114CDFAFB1ABD36B978232DA26FA902516BE992D1F92FA1713206F4B83816097002D501C9BDB4A5FC1CC90228ED7F31DBDCB6BA9961BBBD3071238A4A90E4E83A0563659DD5630B5ACC94239156C8B987C0E1C4514F256B780D67CC3677263C431E6B7C7632F3E16784875B6FF51E4B8EC9560D954401E9F283B9892B1E3CCF313ED58FF9537315FD0DA2F598EC351944D9ACF6BDC71CA431E2D356BD252C9BF88484792C3C623E9601CE9F830F80B1ACA501D0751F3D6D727DC425A75A7BA9C1A59D0434C879890FACE16014EF06F4173584A386583907F0A13FA3D068052CAD750D765DAE6B935DA5B9C8BDBB8751CF9D0F2B3E71C1C2BC47D5208B26B9C9AA0400582FC89ED485A376584087191100F6911EC63F2DFB54E61BDA18269F4E6205C993214442DD00611B7DEFA627A12B9FEBD7896C482871869B444960F99794D75AB9B2642C5E8077; BIGipServerPool_P_SunnyPortal=3070535872.20480.0000; SunnyPortalPageCounter=0; ASP.NET_SessionId=k0o4o4olbxrgideri0dv50nd
Cookie2: $Version="1"
DNT: 1
X-Requested-With: XMLHttpRequest

(no content)
HTTP/1.1 200 OK
Cache-Control: private, s-maxage=0
Date: Tue, 29 Sep 2020 06:41:40 GMT
Server: Microsoft-IIS/10.0
Content-Length: 823
Content-Type: application/json; charset=utf-8
Client-Date: Tue, 29 Sep 2020 06:41:41 GMT
Client-Peer: 171.25.178.37:443
Client-Response-Num: 1
Client-SSL-Cert-Issuer: /C=GB/ST=Greater Manchester/L=Salford/O=Sectigo Limited/CN=Sectigo RSA Domain Validation Secure Server CA
Client-SSL-Cert-Subject: /CN=*.sunnyportal.com
Client-SSL-Cipher: ECDHE-RSA-AES256-GCM-SHA384
Client-SSL-Socket-Class: IO::Socket::SSL
Client-SSL-Warning: Peer certificate not verified
X-AspNet-Version: 4.0.30319
X-AspNetMvc-Version: 5.2

{"__type":"LiveDataUI","Timestamp":{"__type":"DateTime","DateTime":"2020-09-29T08:41:41","Kind":"Unspecified"},"PV":null,"FeedIn":null,"GridConsumption":null,"DirectConsumption":null,"SelfConsumption":null,"SelfSupply":null,"TotalConsumption":null,"DirectConsumptionQuote":null,"SelfConsumptionQuote":null,"AutarkyQuote":null,"BatteryIn":null,"BatteryOut":null,"BatteryChargeStatus":null,"OperationHealth":null,"BatteryStateOfHealth":null,"ModuleTemperature":null,"EnvironmentTemperature":null,"WindSpeed":null,"...
(+ 311 more bytes not shown)
2020.09.29 08:41:41 5: SMAPortal - Return Code: 200
2020.09.29 08:41:41 5: SMAPortal - liveData received:
{
  'Info' => {},
  'BatteryChargeStatus' => undef,
  'SelfSupply' => undef,
  'SelfConsumptionQuote' => undef,
  'EnvironmentTemperature' => undef,
  'OperationHealth' => undef,
  'DirectConsumption' => undef,
  'AutarkyQuote' => undef,
  'SelfConsumption' => undef,
  'FeedIn' => undef,
  'ModuleTemperature' => undef,
  'BatteryStateOfHealth' => undef,
  'Timestamp' => {
                   'DateTime' => '2020-09-29T08:41:41',
                   'Kind' => 'Unspecified',
                   '__type' => 'DateTime'
                 },
  'Insolation' => undef,
  'BatteryOut' => undef,
  'BatteryIn' => undef,
  'GridConsumption' => undef,
  'InfoMessages' => [
                      'Der aktuelle Verbrauch konnte nicht ermittelt werden. Der aktuelle Netzbezug ist unbekannt. '
                    ],
  'WindSpeed' => undef,
  'WarningMessages' => [
                         "Die aktuelle PV-Erzeugung konnte nicht vollst\x{e4}ndig ermittelt werden. Ein Wechselrichter hat nicht geantwortet."
                       ],
  'TotalConsumption' => undef,
  'ErrorMessages' => [],
  '__type' => 'LiveDataUI',
  'BatteryMode' => undef,
  'DirectConsumptionQuote' => undef,
  'PV' => undef
}

2020.09.29 08:41:41 4: SMAPortal - ##### extracting live data ####
2020.09.29 08:41:41 3: SMAPortal - data retrieved successfully.
2020.09.29 08:41:41 4: SMAPortal - Refresh - caller: "n.a.", callerroom: "n.a.", detail: "n.a.", pload: 0, forcePageRefresh: 0, event_Spgdev: 1

DS_Starter

Ja, ist eindeutig zu sehen dass das Portal keine Daten auf die Anfrage rausbringt.
Ich denke das wegen des fehlenden Homemangers die abgefragte Seite "homemanager" keine Daten liefern kann.
Eigentümlich das noch kein anderer User ohne Homemanager darauf gestoßen ist.

Ich habe dir eine Testversion bereitgestellt, die statt dessen das Dashboard abfragt. Hier stehen ja Daten zur Verfügung.
Lade dir das Modul mal herunter und teste damit.

Zum Download in der FHEMWEB Kommandozeile inklusive der Ausführungszeichen angeben und danach FHEM restarten:

"wget -qO ./FHEM/76_SMAPortal.pm https://svn.fhem.de/fhem/trunk/fhem/contrib/DS_Starter/76_SMAPortal.pm"
ESXi@NUC+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter

coolice

Anbei ein aktuelles Log mit deiner Testversion.
2020.09.30 19:49:23 4: SMAPortal - ##### extracting live data ####
2020.09.30 19:49:23 3: SMAPortal - data retrieved successfully.
2020.09.30 19:49:24 4: SMAPortal - Refresh - caller: "n.a.", callerroom: "n.a.", detail: "n.a.", pload: 0, forcePageRefresh: 0, event_Spgdev: 1
2020.09.30 19:51:58 1: HMUARTLGW KG.HmUARTLGW did not respond for the 1. time, resending
2020.09.30 19:52:01 1: HMUARTLGW KG.HmUARTLGW did not respond for the 2. time, resending
2020.09.30 19:52:04 1: HMUARTLGW KG.HmUARTLGW did not respond for the 3. time, resending
2020.09.30 19:52:08 1: HMUARTLGW KG.HmUARTLGW did not respond after all, reopening
2020.09.30 19:54:12 1: 192.168.143.16:23 reappeared (KG.HmUARTLGW)
2020.09.30 19:54:23 3: SMAPortal - ################################################################
2020.09.30 19:54:23 3: SMAPortal - ###      start new set/get data from SMA Sunny Portal        ###
2020.09.30 19:54:23 3: SMAPortal - ################################################################
2020.09.30 19:54:23 5: SMAPortal - SMAPortal version:          3.5.0
2020.09.30 19:54:23 4: SMAPortal - calculated maximum cycles:  10
2020.09.30 19:54:23 4: SMAPortal - calculated timeout:         3600
2020.09.30 19:54:23 3: SMAPortal - ignore provider "consumerMasterdata" - SMA Home Manager is not installed
2020.09.30 19:54:23 3: SMAPortal - ignore provider "consumerCurrentdata" - SMA Home Manager is not installed
2020.09.30 19:54:23 3: SMAPortal - ignore provider "consumerMonthData" - SMA Home Manager is not installed
2020.09.30 19:54:23 3: SMAPortal - ignore provider "consumerYearData" - SMA Home Manager is not installed
2020.09.30 19:54:23 3: SMAPortal - ignore provider "consumerDayData" - SMA Home Manager is not installed
2020.09.30 19:54:23 3: SMAPortal - ignore provider "forecastData" - SMA Home Manager is not installed
2020.09.30 19:54:23 3: SMAPortal - ignore provider "plantMasterData" - SMA Home Manager is not installed
2020.09.30 19:54:23 3: SMAPortal - Running data cycle: 1 of 10
2020.09.30 19:54:23 5: SMAPortal - Start operation with CookieLocation: ./log/SMAPortal_cookie.txt and UserAgent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)
2020.09.30 19:54:23 5: SMAPortal - data get: all, data set: none
2020.09.30 19:54:23 4: SMAPortal - Credentials read from RAM: meineemailadresse ********
2020.09.30 19:54:23 3: SMAPortal - User is already logged in.
2020.09.30 19:54:23 4: SMAPortal - Getting liveData
GET https://www.sunnyportal.com/Dashboard?t=1601424000000
Connection: keep-alive
Accept: */*
Accept-Encoding: gzip, deflate, br
Accept-Language: de,en-US;q=0.7,en;q=0.3
Host: www.sunnyportal.com
Referer: https://www.sunnyportal.com/FixedPages/HoManLive.aspx
User-Agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)
Cookie: collapseNavi_state=shown; .SunnyPortalFormsLogin=D6432551207EB1CDE611D5DCAA687A1F73D36D8FE8C7F255452FE3A85256198525DE17E755FDAEBF42001CA20F2AB978175D02253B9AE10B0247FCE78C5CB4665AFF7DB92AE43F7B82E5C5906CC8E1272B1EF68D053E6F334A34354E7B0E9C493B35D66FA668E40D03CB7712A8FB474CD36F21871394A926035ACC60E2765846D0C36FA47E47A114EF280C8FAAB9FEB3651C26F7A129A53F8C851D3CD1C3577AB28E6F9F1E4899860FB06E94311F613FDBE25845248BE9F6A793F6F8C369C2CB01B8E5EDA349717A324BC44B868882AA052CC71212DC03BF8097C0CE7C9E9A489FC3E7671451E1C0A70C08DDB6BDB479AAE01AD7BE169642FD22FE84E1AAE02509C63B882BAA594FBE81E1B58DE1D3F95C86DFE55492FBF65D4BF2C5E547472663D3616948CAB58D264B3FA4D99DC284675326C5A515EC5E61E03DA6BDCEB3734C4D56DF82304E33E9A3553CA905A219C53722CA24EE44349F1903B34175CB84FED4D65877FFB71D6D0D42C59FB7195FA19593BC93EFE132DE41E0FA39D10B80F8AAE79A4104F2D740BF627130E0C0B7B7849C25E2C1A8D3A3BD3FF0DC7B609F15D6279DDC1CAD28D17350C476D7D311B7DC1985B2F91BEE904A8BA7ACEED13A89484FA0943883B19E317BDD04A8E9698FB676BD2662B109CDB0182D875FF8D8D396C3166098DF4C30CDED5CCE4E024C3C2B773E723E9AF0826ED999125B38691DBBFBCEE70B78DB2F9FF0E1D2852FD7D8B7E36251D20CC6A1E148539DA8469E1E08EEDA418EFD509705EA75E82CEA894F3747A3F745F10A20823C6494A0700AF0BC5BB3; BIGipServerPool_P_SunnyPortal=3070535872.20480.0000; ASP.NET_SessionId=zqw5ql4qmj1h11wtmjyx2x3c; SunnyPortalPageCounter=0
Cookie2: $Version="1"
DNT: 1
X-Requested-With: XMLHttpRequest

(no content)
HTTP/1.1 200 OK
Cache-Control: private, s-maxage=0
Date: Wed, 30 Sep 2020 17:54:23 GMT
Server: Microsoft-IIS/10.0
Content-Length: 702
Content-Type: application/json; charset=utf-8
Client-Date: Wed, 30 Sep 2020 17:54:23 GMT
Client-Peer: 171.25.178.37:443
Client-Response-Num: 1
Client-SSL-Cert-Issuer: /C=GB/ST=Greater Manchester/L=Salford/O=Sectigo Limited/CN=Sectigo RSA Domain Validation Secure Server CA
Client-SSL-Cert-Subject: /CN=*.sunnyportal.com
Client-SSL-Cipher: ECDHE-RSA-AES256-GCM-SHA384
Client-SSL-Socket-Class: IO::Socket::SSL
Client-SSL-Warning: Peer certificate not verified
X-AspNet-Version: 4.0.30319
X-AspNetMvc-Version: 5.2

{"__type":"LiveDataUI","Timestamp":null,"PV":null,"FeedIn":null,"GridConsumption":null,"DirectConsumption":null,"SelfConsumption":null,"SelfSupply":null,"TotalConsumption":null,"DirectConsumptionQuote":null,"SelfConsumptionQuote":null,"AutarkyQuote":null,"BatteryIn":null,"BatteryOut":null,"BatteryChargeStatus":null,"OperationHealth":null,"BatteryStateOfHealth":null,"ModuleTemperature":null,"EnvironmentTemperature":null,"WindSpeed":null,"Insolation":null,"BatteryMode":null,"InfoMessages":[],"WarningMessages"...
(+ 190 more bytes not shown)
2020.09.30 19:54:23 5: SMAPortal - Return Code: 200
2020.09.30 19:54:23 5: SMAPortal - liveData received:
{
  'BatteryOut' => undef,
  'ModuleTemperature' => undef,
  'ErrorMessages' => [
                       "Die Kommunikation mit Ihrem Wechselrichter ist zurzeit nicht m\x{f6}glich. Pr\x{fc}fen Sie die Internetverbindung des Wechselrichters und versuchen Sie es erneut. "
                     ],
  'DirectConsumption' => undef,
  'WindSpeed' => undef,
  'SelfConsumption' => undef,
  'BatteryStateOfHealth' => undef,
  'BatteryIn' => undef,
  'Info' => {},
  'SelfSupply' => undef,
  'AutarkyQuote' => undef,
  'SelfConsumptionQuote' => undef,
  'OperationHealth' => undef,
  'InfoMessages' => [],
  'DirectConsumptionQuote' => undef,
  'PV' => undef,
  'WarningMessages' => [],
  'GridConsumption' => undef,
  '__type' => 'LiveDataUI',
  'BatteryMode' => undef,
  'EnvironmentTemperature' => undef,
  'Timestamp' => undef,
  'Insolation' => undef,
  'FeedIn' => undef,
  'BatteryChargeStatus' => undef,
  'TotalConsumption' => undef
}

2020.09.30 19:54:23 4: SMAPortal - ##### extracting live data ####
2020.09.30 19:54:23 3: SMAPortal - data retrieved successfully.
2020.09.30 19:54:23 4: SMAPortal - Refresh - caller: "n.a.", callerroom: "n.a.", detail: "n.a.", pload: 0, forcePageRefresh: 0, event_Spgdev: 1
2020.09.30 19:55:03 1: HMUARTLGW KG.HmUARTLGW did not respond for the 1. time, resending
2020.09.30 19:55:06 1: HMUARTLGW KG.HmUARTLGW did not respond for the 2. time, resending
2020.09.30 19:55:09 1: HMUARTLGW KG.HmUARTLGW did not respond for the 3. time, resending
2020.09.30 19:55:12 1: HMUARTLGW KG.HmUARTLGW did not respond after all, reopening
2020.09.30 19:56:15 1: 192.168.143.16:23 reappeared (KG.HmUARTLGW)
2020.09.30 19:59:23 3: SMAPortal - ################################################################
2020.09.30 19:59:23 3: SMAPortal - ###      start new set/get data from SMA Sunny Portal        ###
2020.09.30 19:59:23 3: SMAPortal - ################################################################
2020.09.30 19:59:23 5: SMAPortal - SMAPortal version:          3.5.0
2020.09.30 19:59:23 4: SMAPortal - calculated maximum cycles:  10
2020.09.30 19:59:23 4: SMAPortal - calculated timeout:         3600
2020.09.30 19:59:23 3: SMAPortal - ignore provider "consumerMasterdata" - SMA Home Manager is not installed
2020.09.30 19:59:23 3: SMAPortal - ignore provider "consumerCurrentdata" - SMA Home Manager is not installed
2020.09.30 19:59:23 3: SMAPortal - ignore provider "consumerMonthData" - SMA Home Manager is not installed
2020.09.30 19:59:23 3: SMAPortal - ignore provider "consumerYearData" - SMA Home Manager is not installed
2020.09.30 19:59:23 3: SMAPortal - ignore provider "consumerDayData" - SMA Home Manager is not installed
2020.09.30 19:59:23 3: SMAPortal - ignore provider "forecastData" - SMA Home Manager is not installed
2020.09.30 19:59:23 3: SMAPortal - ignore provider "plantMasterData" - SMA Home Manager is not installed
2020.09.30 19:59:23 3: SMAPortal - Running data cycle: 1 of 10
2020.09.30 19:59:23 5: SMAPortal - Start operation with CookieLocation: ./log/SMAPortal_cookie.txt and UserAgent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)
2020.09.30 19:59:23 5: SMAPortal - data get: all, data set: none
2020.09.30 19:59:23 4: SMAPortal - Credentials read from RAM: meineemailadresse ********
2020.09.30 19:59:24 3: SMAPortal - User is already logged in.
2020.09.30 19:59:24 4: SMAPortal - Getting liveData
GET https://www.sunnyportal.com/Dashboard?t=1601424000000
Connection: keep-alive
Accept: */*
Accept-Encoding: gzip, deflate, br
Accept-Language: de,en-US;q=0.7,en;q=0.3
Host: www.sunnyportal.com
Referer: https://www.sunnyportal.com/FixedPages/HoManLive.aspx
User-Agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)
Cookie: collapseNavi_state=shown; SunnyPortalPageCounter=0; ASP.NET_SessionId=zqw5ql4qmj1h11wtmjyx2x3c; BIGipServerPool_P_SunnyPortal=3070535872.20480.0000; .SunnyPortalFormsLogin=38D5319A8D95717C6336D18BAA19775980A757FD20C08C912F874DCDFAA40C080D9E8A4666A1FC0EA504642FB52C546D7207DEAA36700E0557B45FFC9C8883048CE5AAE1C8E4ADAC7ACA3C0C29FB331051DE1FAAF8FD1DA234218C57F691BC6EAF3153208661A6D92909A520D91AA4D7792A15B6CF2340088557540CEE9609E63CFA49BC2D31C3521A978720B3B9648367DBA513D4164CEFA54DF419219FAB803206CBF005A40DF6E3C96431FC40B122816601CD438CF7966FE37EC477994E1C5C7C0406EE77F1AFC44EA4294BB5B90131AF1F7D7A3A81E0E24DB3E3BBFC814E5622E7B8348B8D4C413A168ADD0383DFE7D10F0787885F710074BCDE1ECC3F931305E4493334E48DA364D27AD2A8C7CDF6EE472B2DC303D3CF1D224C1520E26901420CC4BA3259D26E8E756278A7AC9AA581DE8EBEA7ECAEAD327BBC2FAD627780CC006020F9E78E08653F462581EFB9070A4E7008C7AAD1AF05BAEE9D134E3633C698759A3900C1FFC047E3A7E828012B04C423B2FC6839A1D9AF5A25117CCA2E217BE594C9F823530C0724AC11900FF6A4932A4C1CBBC01D9031A37C4DF6713E8BAC571BCFA3F131C88FD79D03DCF72EC5F8570C19D180AC17A991BF928639A743DAE64ADE1748BA329A967D0334774D4EDCC1D34C49273A78449F35F294CA1553295036E6F7D3158C8E52A865E88BCFA8ECB4269B84CF0E2CACCF8C06F2C3A3361ADD748C280A4E8547B18DFF5E487205746681837814B34BA909902C4D3891BD854980342F8CC2926644D4429D5188170237E4C1BAD34E79DBE4C297F238A6F09988
Cookie2: $Version="1"
DNT: 1
X-Requested-With: XMLHttpRequest

(no content)
HTTP/1.1 200 OK
Cache-Control: private, s-maxage=0
Date: Wed, 30 Sep 2020 17:59:23 GMT
Server: Microsoft-IIS/10.0
Content-Length: 702
Content-Type: application/json; charset=utf-8
Client-Date: Wed, 30 Sep 2020 17:59:24 GMT
Client-Peer: 171.25.178.37:443
Client-Response-Num: 1
Client-SSL-Cert-Issuer: /C=GB/ST=Greater Manchester/L=Salford/O=Sectigo Limited/CN=Sectigo RSA Domain Validation Secure Server CA
Client-SSL-Cert-Subject: /CN=*.sunnyportal.com
Client-SSL-Cipher: ECDHE-RSA-AES256-GCM-SHA384
Client-SSL-Socket-Class: IO::Socket::SSL
Client-SSL-Warning: Peer certificate not verified
X-AspNet-Version: 4.0.30319
X-AspNetMvc-Version: 5.2

{"__type":"LiveDataUI","Timestamp":null,"PV":null,"FeedIn":null,"GridConsumption":null,"DirectConsumption":null,"SelfConsumption":null,"SelfSupply":null,"TotalConsumption":null,"DirectConsumptionQuote":null,"SelfConsumptionQuote":null,"AutarkyQuote":null,"BatteryIn":null,"BatteryOut":null,"BatteryChargeStatus":null,"OperationHealth":null,"BatteryStateOfHealth":null,"ModuleTemperature":null,"EnvironmentTemperature":null,"WindSpeed":null,"Insolation":null,"BatteryMode":null,"InfoMessages":[],"WarningMessages"...
(+ 190 more bytes not shown)
2020.09.30 19:59:24 5: SMAPortal - Return Code: 200
2020.09.30 19:59:24 5: SMAPortal - liveData received:
{
  'AutarkyQuote' => undef,
  'SelfConsumptionQuote' => undef,
  'SelfSupply' => undef,
  'WarningMessages' => [],
  'OperationHealth' => undef,
  'InfoMessages' => [],
  'DirectConsumptionQuote' => undef,
  'PV' => undef,
  'ErrorMessages' => [
                       "Die Kommunikation mit Ihrem Wechselrichter ist zurzeit nicht m\x{f6}glich. Pr\x{fc}fen Sie die Internetverbindung des Wechselrichters und versuchen Sie es erneut. "
                     ],
  'DirectConsumption' => undef,
  'WindSpeed' => undef,
  'BatteryOut' => undef,
  'ModuleTemperature' => undef,
  'BatteryStateOfHealth' => undef,
  'Info' => {},
  'BatteryIn' => undef,
  'SelfConsumption' => undef,
  'FeedIn' => undef,
  'Insolation' => undef,
  'TotalConsumption' => undef,
  'BatteryChargeStatus' => undef,
  'BatteryMode' => undef,
  'GridConsumption' => undef,
  '__type' => 'LiveDataUI',
  'Timestamp' => undef,
  'EnvironmentTemperature' => undef
}

2020.09.30 19:59:24 4: SMAPortal - ##### extracting live data ####
2020.09.30 19:59:24 3: SMAPortal - data retrieved successfully.
2020.09.30 19:59:24 4: SMAPortal - Refresh - caller: "n.a.", callerroom: "n.a.", detail: "n.a.", pload: 0, forcePageRefresh: 0, event_Spgdev: 1
2020.09.30 20:04:23 3: SMAPortal - ################################################################
2020.09.30 20:04:23 3: SMAPortal - ###      start new set/get data from SMA Sunny Portal        ###
2020.09.30 20:04:23 3: SMAPortal - ################################################################
2020.09.30 20:04:23 5: SMAPortal - SMAPortal version:          3.5.0
2020.09.30 20:04:23 4: SMAPortal - calculated maximum cycles:  10
2020.09.30 20:04:23 4: SMAPortal - calculated timeout:         3600
2020.09.30 20:04:23 3: SMAPortal - ignore provider "consumerMasterdata" - SMA Home Manager is not installed
2020.09.30 20:04:23 3: SMAPortal - ignore provider "consumerCurrentdata" - SMA Home Manager is not installed
2020.09.30 20:04:23 3: SMAPortal - ignore provider "consumerMonthData" - SMA Home Manager is not installed
2020.09.30 20:04:23 3: SMAPortal - ignore provider "consumerYearData" - SMA Home Manager is not installed
2020.09.30 20:04:23 3: SMAPortal - ignore provider "consumerDayData" - SMA Home Manager is not installed
2020.09.30 20:04:23 3: SMAPortal - ignore provider "forecastData" - SMA Home Manager is not installed
2020.09.30 20:04:23 3: SMAPortal - ignore provider "plantMasterData" - SMA Home Manager is not installed
2020.09.30 20:04:23 3: SMAPortal - Running data cycle: 1 of 10
2020.09.30 20:04:23 5: SMAPortal - Start operation with CookieLocation: ./log/SMAPortal_cookie.txt and UserAgent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)
2020.09.30 20:04:23 5: SMAPortal - data get: all, data set: none
2020.09.30 20:04:23 4: SMAPortal - Credentials read from RAM: mirco@koepe.org ********
2020.09.30 20:04:23 3: SMAPortal - User is already logged in.
2020.09.30 20:04:23 4: SMAPortal - Getting liveData
GET https://www.sunnyportal.com/Dashboard?t=1601424000000
Connection: keep-alive
Accept: */*
Accept-Encoding: gzip, deflate, br
Accept-Language: de,en-US;q=0.7,en;q=0.3
Host: www.sunnyportal.com
Referer: https://www.sunnyportal.com/FixedPages/HoManLive.aspx
User-Agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)
Cookie: collapseNavi_state=shown; .SunnyPortalFormsLogin=F1C158C4D31679EF5AF0717A09A3EF4E982AC0BA47476CB7F5819DCF7454BFB6AD047FF890704E202ED1F4A7BB2471009A59B093FE2C1557E2458734948E4865B55528B73B192C97A160FF40E809D5F5D7237C277F9CF4C8DA1FAF2CA6823A322BCF7939E9D5083972998DFE1206A16A9778553B080227234A17D0A3B537CC37431E9C863E87EFDD07FF13D5A2C79D40FF0CE67C7926AC810C9B15850EC3DF2D7A1C4AE41CA3FDB4572AE2DBA287924FED9DC79F05F6BA4FF108B1E3C64C7A68D0681F641C42E76338F6B2A774A684FEEA539181DF8D079D548CEB542FAE1500B3E771A09A1C60D3E36E2A418A203748C733A3BA1A5774016C0FB76ACF220FC625EAF30B9D95DAD3F461E69960F5B4BAD97FD9B7B18F32FCF7CCBF32FEF93FF09C830CCD5FDF7BDA0EEC1A08DA186B2560A9B159D692849F6AC46B474EB2191161CD1E2890BF5E85C6F8A0EC3300B113BE770BFE09A3BA1FAF24C894BC75DAB9572810E9811DB6FF318D3430AE27FD5EBDC6868960A8B27E446F4F43FAE692559878B2206CA325E6A822B5B6C431B244FD0088FA53E76CA27077F88FAF42F9E5A8317EFB95D9E97B8C40CAF9BAA6CFF2F979CA67A9C3455FB5D6A3F250437CEDDC0CC34406F436B0EA0C86EFDD265B8A0A471A965A9DE6F1B244D9EF9A43F39FBB786DC44C7CDF29B41F24DB57FDB5BB6234BE7B46D7A0FEA581954896EE12E72825C6D88397663C083E173F46FF647C2954D77C7DF5121C83A5FBFFA3E94811001A64CA33D653E46D18003426F3EF2DB38B9BEF1599D1D6E8F7B69D80499C76EEC7CA04; BIGipServerPool_P_SunnyPortal=3070535872.20480.0000; SunnyPortalPageCounter=0; ASP.NET_SessionId=zqw5ql4qmj1h11wtmjyx2x3c
Cookie2: $Version="1"
DNT: 1
X-Requested-With: XMLHttpRequest

(no content)
HTTP/1.1 200 OK
Cache-Control: private, s-maxage=0
Date: Wed, 30 Sep 2020 18:04:23 GMT
Server: Microsoft-IIS/10.0
Content-Length: 702
Content-Type: application/json; charset=utf-8
Client-Date: Wed, 30 Sep 2020 18:04:24 GMT
Client-Peer: 171.25.178.37:443
Client-Response-Num: 1
Client-SSL-Cert-Issuer: /C=GB/ST=Greater Manchester/L=Salford/O=Sectigo Limited/CN=Sectigo RSA Domain Validation Secure Server CA
Client-SSL-Cert-Subject: /CN=*.sunnyportal.com
Client-SSL-Cipher: ECDHE-RSA-AES256-GCM-SHA384
Client-SSL-Socket-Class: IO::Socket::SSL
Client-SSL-Warning: Peer certificate not verified
X-AspNet-Version: 4.0.30319
X-AspNetMvc-Version: 5.2

{"__type":"LiveDataUI","Timestamp":null,"PV":null,"FeedIn":null,"GridConsumption":null,"DirectConsumption":null,"SelfConsumption":null,"SelfSupply":null,"TotalConsumption":null,"DirectConsumptionQuote":null,"SelfConsumptionQuote":null,"AutarkyQuote":null,"BatteryIn":null,"BatteryOut":null,"BatteryChargeStatus":null,"OperationHealth":null,"BatteryStateOfHealth":null,"ModuleTemperature":null,"EnvironmentTemperature":null,"WindSpeed":null,"Insolation":null,"BatteryMode":null,"InfoMessages":[],"WarningMessages"...
(+ 190 more bytes not shown)
2020.09.30 20:04:24 5: SMAPortal - Return Code: 200
2020.09.30 20:04:24 5: SMAPortal - liveData received:
{
  'SelfSupply' => undef,
  'AutarkyQuote' => undef,
  'SelfConsumptionQuote' => undef,
  'OperationHealth' => undef,
  'InfoMessages' => [],
  'DirectConsumptionQuote' => undef,
  'PV' => undef,
  'WarningMessages' => [],
  'BatteryOut' => undef,
  'ModuleTemperature' => undef,
  'ErrorMessages' => [
                       "Die Kommunikation mit Ihrem Wechselrichter ist zurzeit nicht m\x{f6}glich. Pr\x{fc}fen Sie die Internetverbindung des Wechselrichters und versuchen Sie es erneut. "
                     ],
  'DirectConsumption' => undef,
  'WindSpeed' => undef,
  'SelfConsumption' => undef,
  'BatteryStateOfHealth' => undef,
  'Info' => {},
  'BatteryIn' => undef,
  'Insolation' => undef,
  'FeedIn' => undef,
  'BatteryChargeStatus' => undef,
  'TotalConsumption' => undef,
  'GridConsumption' => undef,
  '__type' => 'LiveDataUI',
  'BatteryMode' => undef,
  'EnvironmentTemperature' => undef,
  'Timestamp' => undef
}

DS_Starter

Nun, das SMA Portal liefert über diese Seite bei dir leider auch keine Daten aus.
Ich habe im SMAPortal Thread die User, die keinen Homemanager haben, gebeten die Version auch mal zu testen.Wie gesagt, es gibt dort auch einige User ohne HM bei denen der Datenabruf läuft.
Bei dir meldet das Portal nach wie vor dass der WR nicht erreicht wird:

'WarningMessages' => [
                         "Die aktuelle PV-Erzeugung konnte nicht vollst\x{e4}ndig ermittelt werden. Ein Wechselrichter hat nicht geantwortet."
                       ],
Das ist ja recht eindeutig. Welche Daten sollen da kommen wenn der WR nicht antwortet und es auch keinen HM und keinen Energymeter gibt.  :-\
ESXi@NUC+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter

coolice

So HomeManager wurde installiert und schon kommen die Daten auch regelmäßig.
Danke Dir

coolice

Hallo, habe gerade ein
Update gemacht und der State steht auf Login failed. Habe die credentials erneut eingegeben aber trotzdem keine Änderung. Hat das noch jemand ?

DS_Starter

ESXi@NUC+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter