Warning:
Notice: Trying to access array offset on value of type bool in C:\ProgramData\Symcon\modules\.store\info.schnittcher.ips.tesla\IPS-TeslaSplitter\module.php on line 136
Notice: Trying to access array offset on value of type null in C:\ProgramData\Symcon\modules\.store\info.schnittcher.ips.tesla\IPS-TeslaSplitter\module.php on line 136
RESULT:null in C:\ProgramData\Symcon\modules\.store\info.schnittcher.ips.tesla\IPS-TeslaCharging\module.php on line 92
Fatal error: Uncaught TypeError: json_decode() expects parameter 1 to be string, bool given in C:\ProgramData\Symcon\modules\.store\info.schnittcher.ips.tesla\IPS-TeslaCharging\module.php:92
Stack trace:
#0 C:\ProgramData\Symcon\modules\.store\info.schnittcher.ips.tesla\IPS-TeslaCharging\module.php(92): json_decode(false, true)
#1 C:\ProgramData\Symcon\scripts\__generated.inc.php(2447): TeslaCharging->FetchData()
#2 C:\ProgramData\Symcon\scripts\25142.ips.php(8): Tesla_FetchData(16497)
#3 {main}
thrown in C:\ProgramData\Symcon\modules\.store\info.schnittcher.ips.tesla\IPS-TeslaCharging\module.php on line 92
Ich hab zwei Autos und finde raus welches an welcher Ladestation steht.
Dabei kommt es beim Abfragen vor, dass eines schläft und nicht angesteckt ist.
Diese Abfrage lief vorher ohne Script Abbruch durch. Natürlich ohne neue Daten. Jetzt kommt’s aber zum Fehler.
Fatal error: Uncaught TypeError: json_decode() expects parameter 1 to be string, bool given in /var/lib/symcon/modules/.store/info.schnittcher.ips.tesla/IPS-TeslaCharging/module.php:92
Stack trace:
#0 /var/lib/symcon/modules/.store/info.schnittcher.ips.tesla/IPS-TeslaCharging/module.php(92): json_decode(false, true)
#1 /var/lib/symcon/scripts/__generated.inc.php(923): TeslaCharging->FetchData()
#2 /var/lib/symcon/scripts/18438.ips.php(60): Tesla_FetchData(34993)
#3 {main}
thrown in /var/lib/symcon/modules/.store/info.schnittcher.ips.tesla/IPS-TeslaCharging/module.php on line 92
Mehr steht im Log nicht. Oder meinst Du etwas anderes?
servus @KaiS ,
das ist die Rückmeldung bei einem „wachen“ Auto:
Warning:
Notice: Trying to access array offset on value of type bool in C:\ProgramData\Symcon\modules.store\info.schnittcher.ips.tesla\IPS-TeslaSplitter\module.php on line 136
Notice: Trying to access array offset on value of type null in C:\ProgramData\Symcon\modules.store\info.schnittcher.ips.tesla\IPS-TeslaSplitter\module.php on line 136
RESULT:null in C:\ProgramData\Symcon\modules.store\info.schnittcher.ips.tesla\IPS-TeslaCharging\module.php on line 92
Fatal error: Uncaught TypeError: json_decode() expects parameter 1 to be string, bool given in C:\ProgramData\Symcon\modules.store\info.schnittcher.ips.tesla\IPS-TeslaCharging\module.php:92
Stack trace: #0 C:\ProgramData\Symcon\modules.store\info.schnittcher.ips.tesla\IPS-TeslaCharging\module.php(92): json_decode(false, true) #1 C:\ProgramData\Symcon\scripts__generated.inc.php(1419): TeslaCharging->FetchData() #2 C:\ProgramData\Symcon\scripts\37761.ips.php(3): Tesla_FetchData(37872) #3 {main}
thrown in C:\ProgramData\Symcon\modules.store\info.schnittcher.ips.tesla\IPS-TeslaCharging\module.php on line 92
Abort Processing during Fatal-Error: Uncaught TypeError: json_decode() expects parameter 1 to be string, bool given in C:\ProgramData\Symcon\modules.store\info.schnittcher.ips.tesla\IPS-TeslaCharging\module.php:92
Stack trace: #0 C:\ProgramData\Symcon\modules.store\info.schnittcher.ips.tesla\IPS-TeslaCharging\module.php(92): json_decode(false, true) #1 C:\ProgramData\Symcon\scripts__generated.inc.php(1419): TeslaCharging->FetchData() #2 C:\ProgramData\Symcon\scripts\37761.ips.php(3): Tesla_FetchData(37872) #3 {main}
thrown
Error in Script C:\ProgramData\Symcon\modules.store\info.schnittcher.ips.tesla\IPS-TeslaCharging\module.php on Line 92
Fatal error: Uncaught TypeError: json_decode() expects parameter 1 to be string, bool given in /var/lib/symcon/modules/.store/info.schnittcher.ips.tesla/IPS-TeslaCharging/module.php:92
Stack trace:
Fatal error: Uncaught TypeError: json_decode() expects parameter 1 to be string, bool given in /var/lib/symcon/modules/.store/info.schnittcher.ips.tesla/IPS-TeslaCharging/module.php:92
Stack trace:
#0 /var/lib/symcon/modules/.store/info.schnittcher.ips.tesla/IPS-TeslaCharging/module.php(92): json_decode(false, true)
#1 /var/lib/symcon/scripts/__generated.inc.php(299): TeslaCharging->FetchData()
#2 /var/lib/symcon/scripts/18438.ips.php(60): Tesla_FetchData(36735)
#3 {main}
thrown in /var/lib/symcon/modules/.store/info.schnittcher.ips.tesla/IPS-TeslaCharging/module.php on line 92
In den Meldungen steht nur der 408 Fehler
Das Script gibt folgendes aus:
Notice: Undefined index: in /var/lib/symcon/scripts/18438.ips.php on line 100
Notice: Trying to access array offset on value of type null in /var/lib/symcon/scripts/18438.ips.php on line 100
Notice: Undefined variable: ladegrenze in /var/lib/symcon/scripts/18438.ips.php on line 104
Hallo Kai,
seit dem Update vorhin bekomme ich bei dem Befehl „Tesla_FetchData“ folgenden Fehler, aber nur im Charging Modul, alle anderen wie Climate usw. funktionieren. Auch wenn ich den Befehl direkt im Modul ausführe.
Fatal error: Uncaught TypeError: json_decode() expects parameter 1 to be string, bool given in C:\ProgramData\Symcon\modules.store\info.schnittcher.ips.tesla\IPS-TeslaCharging\module.php:92
Stack trace: #0 C:\ProgramData\Symcon\modules.store\info.schnittcher.ips.tesla\IPS-TeslaCharging\module.php(92): json_decode(false, true) #1 C:\ProgramData\Symcon\scripts__generated.inc.php(2435): TeslaCharging->FetchData() #2 C:\Windows\System32-(10): Tesla_FetchData(18462) #3 {main}
thrown in C:\ProgramData\Symcon\modules.store\info.schnittcher.ips.tesla\IPS-TeslaCharging\module.php on line 92
Vor dem Update war alles Fehlerfrei und hatte ich damit keine Probleme. Aber jetzt läuft mein Aufweckscript nicht mehr durch.
Das würde ich auch gerne wissen. Habe das Modul definitiv upgedatet, bietet mir jetzt auch keine aktuellere mehr an über den Modulstore. Datei Module.php ist von 20:08 heute. Kann ich die Version irgendwo sehen, habe leider nichts gefunden. Und wie gesagt kommt der Fehler nur im Modul Charging, alle anderen laufen Fehlerfrei. Kann ich noch irgendetwas testen oder Info´s sammeln? Evtl. neuinstallieren, habe auch schon auf erneut installieren geklickt, hat sich am Verhalten aber nichts geändert.