Code: Alles auswählen
AttributeError: 'NoneType' object has no attribute 'encode'
File "jq.pyx", line 113, in jq.compile
imported = jq.compile(config.jq_imported).input(response).first()
File "/var/www/html/openWB/packages/modules/json/bat.py", line 33, in update
self.components[component].update(response.json())
File "/var/www/html/openWB/packages/modules/json/device.py", line 62, in update
Traceback (most recent call last):
2022-10-27 11:08:44: PID: 2478: soc.modules.common.fault_state: Json Speicher: FaultState FaultStateLevel.ERROR, FaultStr <class 'AttributeError'> 'NoneType' object has no attribute 'encode', Traceback:
2022-10-27 11:08:43: PID: 2478: soc.modules.common.req: Get-Response: {"PowerOut":1734,"PowerProduced":1.7148833333503717,"Consumption_W":1263,"RSOC":5,"watt":3,"Bezugkwh":1.7629111111309612,"Einspeisungkwh":0.0125000000084583}
2022-10-27 11:08:43: PID: 2478: requests.packages.urllib3.connectionpool: http://symbox:3777 "GET /hook/OpenWB HTTP/1.1" 200 157
2022-10-27 11:08:43: PID: 2478: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): symbox:3777
2022-10-27 11:08:43: PID: 2478: soc.modules.common.component_context: Update Komponenten ['Json Speicher']
2022-10-27 11:08:43: PID: 2478: modules.json.device: Start device reading {'componentNone': <modules.json.bat.JsonBat object at 0x737fef30>}
2022-10-27 11:08:43: PID: 2478: legacy run server: Received command ["modules.json.device","bat","http://symbox:3777/hook/OpenWB",".Consumption_W",".RSOC"]
2022-10-27 11:08:43: PID: 26758: Speicher SoC: .RSOC (LV2) at 22 main modules/speicher_json/main.sh
2022-10-27 11:08:43: PID: 26758: Speicher Watt: .Consumption_W (LV2) at 21 main modules/speicher_json/main.sh
2022-10-27 11:08:43: PID: 26758: Speicher URL: http://symbox:3777/hook/OpenWB (LV2) at 20 main modules/speicher_json/main.sh
2022-10-27 11:08:43: PID: 2478: legacy run server: Completed running command in 0.70s: ["modules.json.device","inverter","http://symbox:3777/hook/OpenWB",".PowerOut",".PowerProduced","1"]
2022-10-27 11:08:43: PID: 2478: soc.modules.common.store._api: Saving InverterState(currents=[0.0, 0.0, 0.0], power=-1734.0, exported=1.7148833333503717)
2022-10-27 11:08:42: PID: 2478: soc.modules.common.req: Get-Response: {"PowerOut":1734,"PowerProduced":1.7148833333503717,"Consumption_W":1263,"RSOC":5,"watt":3,"Bezugkwh":1.7629111111309612,"Einspeisungkwh":0.0125000000084583}
2022-10-27 11:08:42: PID: 2478: requests.packages.urllib3.connectionpool: http://symbox:3777 "GET /hook/OpenWB HTTP/1.1" 200 157
2022-10-27 11:08:42: PID: 2478: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): symbox:3777
2022-10-27 11:08:42: PID: 2478: soc.modules.common.component_context: Update Komponenten ['Json Wechselrichter']
2022-10-27 11:08:42: PID: 2478: modules.json.device: Start device reading {'component1': <modules.json.inverter.JsonInverter object at 0x744d4bd0>}
2022-10-27 11:08:42: PID: 2478: legacy run server: Received command ["modules.json.device","inverter","http://symbox:3777/hook/OpenWB",".PowerOut",".PowerProduced","1"]
2022-10-27 11:08:41: PID: 26551: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
2022-10-27 11:08:39: PID: 25209: **** WARNING **** Regulation loop needs 8 seconds (LV0) at 57 cleanup /var/www/html/openWB/regel.sh
set-currents: setze ladung auf 10A
2022-10-27 11:08:38: PID: 25209: uberschuss -5 wattbezug 5 ladestatus 1 llsoll 10 pvwatt -1697 mindestuberschussphasen 1100 wattkombiniert -5 schaltschwelle 230 (LV2) at 576 main /var/www/html/openWB/regel.sh
2022-10-27 11:08:38: PID: 25209: anzahlphasen 1 (LV1) at 575 main /var/www/html/openWB/regel.sh
2022-10-27 11:08:37: PID: 25209: Zeit zum abfragen aller Werte 6 Sekunden (LV1) at 176 main /var/www/html/openWB/regel.sh
2022-10-27 11:08:36: PID: 25209: chargestatlp1 0 chargestatlp2 0 chargestatlp3 0 (LV1) at 1300 loadvars loadvars.sh
2022-10-27 11:08:36: PID: 25209: plugstatlp1 1 plugstatlp2 0 plugstatlp3 0 (LV1) at 1299 loadvars loadvars.sh
2022-10-27 11:08:36: PID: 25209: lp1enabled 1 lp2enabled 1 lp3enabled 1 (LV1) at 1298 loadvars loadvars.sh
2022-10-27 11:08:36: PID: 25209: EVU 1:V/0A 2: V/0A 3: V/0A (LV1) at 1297 loadvars loadvars.sh
2022-10-27 11:08:36: PID: 25209: lla3 0 llv3 0.0 llas13 0 llas23 soclp1 0 soclp2 0 (LV1) at 1296 loadvars loadvars.sh
2022-10-27 11:08:36: PID: 25209: lla2 0 llv2 0.0 llas12 0 llas22 sofortll 32 hausverbrauch 1702 wattbezug 5 uberschuss -5 (LV1) at 1295 loadvars loadvars.sh
2022-10-27 11:08:36: PID: 25209: lla1 0 llv1 229.9 llas11 0 llas21 mindestuberschuss 1100 abschaltuberschuss 100 lademodus 1 (LV1) at 1294 loadvars loadvars.sh
2022-10-27 11:08:36: PID: 25209: pv1watt -1697 pv2watt pvwatt -1697 ladeleistung 0 llalt 10 nachtladen 0 nachtladen 0 minimalA 6 maximalA 32 (LV1) at 1293 loadvars loadvars.sh
2022-10-27 11:08:36: PID: 25209: speicherleistung 0 speichersoc 0 (LV1) at 1288 loadvars loadvars.sh
2022-10-27 11:08:36: PID: 25478: RET: 0 (LV2) at 21 main modules/bezug_json/main.sh
2022-10-27 11:08:36: PID: 2478: legacy run server: Completed running command in 1.06s: ["modules.json.device","counter","http://symbox:3777/hook/OpenWB",".watt",".Bezugkwh",".Einspeisungk
2022-10-27 11:08:36: PID: 2478: soc.modules.common.store._api: Saving CounterState(currents=[0.0, 0.0, 0.0], frequency=50, power=5, voltages=[230.0, 230.0, 230.0], power_factors=[0.0, 0.0, 0.0], imported=1.7629111111309612, powers=[0.0, 0.0, 0.0], exported=0.0125000000084583)
2022-10-27 11:08:35: PID: 2478: soc.modules.common.req: Get-Response: {"PowerOut":1717,"PowerProduced":1.7148833333503717,"Consumption_W":1254,"RSOC":5,"watt":5,"Bezugkwh":1.7629111111309612,"Einspeisungkwh":0.0125000000084583}
2022-10-27 11:08:35: PID: 2478: requests.packages.urllib3.connectionpool: http://symbox:3777 "GET /hook/OpenWB HTTP/1.1" 200 157
2022-10-27 11:08:35: PID: 2478: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): symbox:3777
2022-10-27 11:08:35: PID: 2478: soc.modules.common.component_context: Update Komponenten ['Json Zähler']
2022-10-27 11:08:35: PID: 2478: modules.json.device: Start device reading {'componentNone': <modules.json.counter.JsonCounter object at 0x73823950>}
2022-10-27 11:08:35: PID: 2478: legacy run server: Received command ["modules.json.device","counter","http://symbox:3777/hook/OpenWB",".watt",".Bezugkwh",".Einspeisungk
2022-10-27 11:08:35: PID: 25478: Filter Einsp: .Einspeisungkwh (LV2) at 16 main modules/bezug_json/main.sh
2022-10-27 11:08:35: PID: 25478: Filter Bezug: .Bezugkwh (LV2) at 15 main modules/bezug_json/main.sh
2022-10-27 11:08:35: PID: 25478: Filter Watt : .watt (LV2) at 14 main modules/bezug_json/main.sh
2022-10-27 11:08:35: PID: 25478: EVU URL: http://symbox:3777/hook/OpenWB (LV2) at 13 main modules/bezug_json/main.sh
2022-10-27 11:08:34: PID: 25418: BattLeistung: 0 (LV1) at 31 main modules/speicher_json/main.sh
2022-10-27 11:08:34: PID: 25418: RET: 0 (LV2) at 27 main modules/speicher_json/main.sh
2022-10-27 11:08:34: PID: 2478: legacy run server: Completed running command in 0.68s: ["modules.json.device","bat","http://symbox:3777/hook/Ope