Seite 1 von 11
					
				SoC Modul Nissan Leaf
				Verfasst: Di Jul 30, 2019 12:18 pm
				von Werter23
				Hallo Zusammen,
seit dem Update der Nissan Connect APP v3.3.0 bekomme ich keine Werte mehr in der OpenWB geliefert. Hat das noch jemand festgestellt?
@snaptec habe die Debug Daten gesendet, sieht seltsam aus.
LG Olaf
			 
			
					
				Re: SoC Modul Nissan Leaf
				Verfasst: Do Aug 01, 2019 4:17 pm
				von jo.leaf
				Ja, habe ich auch festgestellt. Vielleicht hat Nissan die Adresse des Servers nochmal geändert.
Aus dem Log ... HTTPError: 404 Client Error: Not Found for url: 
https://gdcportalgw.its-mo.com
Viele Grüße
Jens
 
			 
			
					
				Re: SoC Modul Nissan Leaf
				Verfasst: Do Aug 01, 2019 4:36 pm
				von openWB
				Neue URL jemandem bekannt?
			 
			
					
				Re: SoC Modul Nissan Leaf
				Verfasst: Do Aug 01, 2019 6:44 pm
				von jo.leaf
				
			 
			
					
				Re: SoC Modul Nissan Leaf
				Verfasst: Mi Aug 07, 2019 4:42 pm
				von jo.leaf
				Vielleicht könntest Du hiermit die Änderung des API nachvollziehen und das Leaf Modul anpassen ?
https://github.com/joeshaw/carwings/com ... 4e28b20a9f
Danke und beste Grüße
 
			 
			
					
				Re: SoC Modul Nissan Leaf
				Verfasst: Mi Aug 07, 2019 4:59 pm
				von openWB
				Bitte mal Nightly 1.601 testen.
Ist für Ladepunkt 1 angepasst.
			 
			
					
				Re: SoC Modul Nissan Leaf
				Verfasst: Mi Aug 07, 2019 7:10 pm
				von openWB
				Traceback (most recent call last):
 File "/var/www/html/openWB/modules/soc_leaf/soc.py", line 24, in <module>
   leaf = Leaf(sys.argv[1], sys.argv[2])
 File "/var/www/html/openWB/modules/soc_leaf/leaf.py", line 13, in __init__
   self.custom_sessionid, self.VIN = login(username, password)
 File "/var/www/html/openWB/modules/soc_leaf/auth.py", line 29, in login
   raise Exception('Cannot login.  Probably username & password are wrong. ' + r.text)
Exception: Cannot login.  Probably username & password are wrong. {"status":"-2010","message":"INVALID PARAMS","resultKey":""}
Traceback (most recent call last):
Das nach Änderung, jemand Ideen? Ich vermute Username + Passwort stimmt.
			 
			
					
				Re: SoC Modul Nissan Leaf
				Verfasst: So Aug 11, 2019 12:48 pm
				von Werter23
				Ich habe leider keine Ahnung, aber bei mir sieht die Fehlermeldung anders aus:
  File "/usr/lib/python2.7/dist-packages/requests/models.py", line 893, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: 
https://gdcportalgw.its-mo.com/api_v181 ... equest.php 
			 
			
					
				Re: SoC Modul Nissan Leaf
				Verfasst: Do Aug 15, 2019 8:17 pm
				von rnoeth
				ich sehe auch diese Fehlermeldung
Exception: Cannot login. Probably username & password are wrong. {"status":"-2010","message":"INVALID PARAMS","resultKey":""}
Kann es sein das noch ein Parameter fehlt?
siehe 
https://forum.fhem.de/index.php/topic,92163.90.html
2019.08.10 22:00:01 3: Carwings::Leaf: >>>JOB {
  'timeout' => 30,
  'callback' => sub { "DUMMY" },
  'url' => '
https://gdcportalgw.its-mo.com/api_v190 ... equest.php',
  'header' => 'User-Agent: FHEM/Carwings',
  'data' => {
              'UserId' => 'xxx',
              'initial_app_str' => '9s5rfKVuMrT03RtzajWNcA',
             
 'lg' => 'en-US',
              'RegionCode' => 'NE',
              'Password' => 'xxx'
            },
  'method' => 'POST'
}
 
			 
			
					
				Re: SoC Modul Nissan Leaf
				Verfasst: Di Aug 27, 2019 7:25 am
				von openWB
				Bitte mal Nightly 1.615 testen, gehts wieder? (Änderung an LP1 durchgeführt)