Tesla Powerwall 2 AC

Begonnen von Gigafix, 30 September 2017, 14:21:54

Vorheriges Thema - Nächstes Thema

CoolTux

Ist angekommen. Ich schaue es mir später an.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

pnewman

Hallo,

ich weiß, ich bin wieder mal spät dran, aber hier meine Meldungen nach dem Austausch und reload der 46_TeslaPowerwall2AC.pm:

TESLA DEBUG - ResponseString: $VAR1 = '{"site_name":"Meine Powerwall2AC","timezone":"Europe/Berlin"}';
TESLA DEBUG - Error:
TESLA DEBUG - ResponseString: $VAR1 = '{"running":true,"uptime":"272863s,","connected_to_tesla":true}';
TESLA DEBUG - Error:
TESLA DEBUG - ResponseString: $VAR1 = '{"max_site_meter_power_kW":1000000000,"min_site_meter_power_kW":-1000000000,"nominal_system_energy_kWh":13.5,"nominal_system_power_kW":5,"site_name":"Meine Powerwall2AC","timezone":"Europe/Berlin"}';
TESLA DEBUG - Error:
TESLA DEBUG - ResponseString: $VAR1 = '{"code":401,"error":"bad credentials","message":"Login Error"}';
TESLA DEBUG - Error:
TESLA DEBUG - ResponseString: $VAR1 = '{"site_name":"Meine Powerwall2AC","timezone":"Europe/Berlin"}';
TESLA DEBUG - Error:
TESLA DEBUG - ResponseString: $VAR1 = '{"running":true,"uptime":"272885s,","connected_to_tesla":true}';
TESLA DEBUG - Error:
TESLA DEBUG - ResponseString: $VAR1 = '{"max_site_meter_power_kW":1000000000,"min_site_meter_power_kW":-1000000000,"nominal_system_energy_kWh":13.5,"nominal_system_power_kW":5,"site_name":"Meine Powerwall2AC","timezone":"Europe/Berlin"}';
TESLA DEBUG - Error:
TESLA DEBUG - ResponseString: $VAR1 = '{"code":401,"error":"bad credentials","message":"Login Error"}';
TESLA DEBUG - Error:


Angezeigt wird mir wieder nichts.

Gruß
Ralf
Raspberry Pi3B+ / Nano-Cul 868 - MAX!=Heizung, HM-Lan - Rollo+Licht, JeeLink-Clone 868 - LaCrosse, JeeLink-Clone 868 - PCA301, CUL 434 - IT-Steckdosen+Fernbedienung

pnewman

Diese Meldungen erscheinen nach einem Restart von FHEM:
TESLA DEBUG - ResponseString: $VAR1 = '{"enumerating":false,"updating":false,"checking_if_offgrid":false,"running_phase_detection":false,"phase_detection_last_error":"phase detection not run","bubble_shedding":false,"on_grid_check_error":"on grid check not run","grid_qualifying":false,"grid_code_validating":false,"powerwalls":[{"PackagePartNumber":"1092170-03-E","PackageSerialNumber":"T17G0010405","type":"acpw","grid_state":"Grid_Uncompliant","grid_reconnection_time_seconds":0,"under_phase_detection":false,"updating":false,"commissioning_diagnostic":{"name":"Commissioning","category":"InternalComms","disruptive":false,"checks":[{"name":"CAN connectivity","status":"fail","start_time":"2019-09-27T03:52:17.42467362-07:00","end_time":"2019-09-27T03:52:17.424680953-07:00","message":"Cannot connect to CAN bus. Reboot the gateway and try again.","results":{}},{"name":"Enable switch","status":"fail","start_time":"2019-09-27T03:52:17.424683286-07:00","end_time":"2019-09-27T03:52:17.42468562-07:00","message":"Cannot connect to CAN bus. Reboot the gateway and try again.","results":{}},{"name":"Internal communications","status":"fail","start_time":"2019-09-27T03:52:17.42468762-07:00","end_time":"2019-09-27T03:52:17.424689953-07:00","message":"Cannot connect to CAN bus. Reboot the gateway and try again.","results":{}},{"name":"Firmware up-to-date","status":"fail","start_time":"2019-09-27T03:52:17.424691953-07:00","end_time":"2019-09-27T03:52:17.424693953-07:00","message":"Cannot connect to CAN bus. Reboot the gateway and try again.","results":{}}]},"update_diagnostic":{"name":"Firmware Update","category":"InternalComms","disruptive":true,"checks":[{"name":"Powerwall firmware","status":"not_run","start_time":null,"end_time":null,"progress":0,"results":null},{"name":"Battery firmware","status":"not_run","start_time":null,"end_time":null,"progress":0,"results":null},{"name":"Inverter firmware","status":"not_run","start_time":null,"end_time":null,"progress":0,"results":null},{"name":"Grid code","status":"not_run","start_time":null,"end_time":null,"progress":0,"results":null}]}}],"has_sync":false,"sync":null,"states":[],"phase_detection_attempt":0}';
TESLA DEBUG - Error:
TESLA DEBUG - ResponseString: $VAR1 = '{"enumerating":false,"updating":false,"checking_if_offgrid":false,"running_phase_detection":false,"phase_detection_last_error":"phase detection not run","bubble_shedding":false,"on_grid_check_error":"on grid check not run","grid_qualifying":false,"grid_code_validating":false,"powerwalls":[{"PackagePartNumber":"1092170-03-E","PackageSerialNumber":"T17G0010405","type":"acpw","grid_state":"Grid_Uncompliant","grid_reconnection_time_seconds":0,"under_phase_detection":false,"updating":false,"commissioning_diagnostic":{"name":"Commissioning","category":"InternalComms","disruptive":false,"checks":[{"name":"CAN connectivity","status":"fail","start_time":"2019-09-27T03:52:24.023206221-07:00","end_time":"2019-09-27T03:52:24.023213221-07:00","message":"Cannot connect to CAN bus. Reboot the gateway and try again.","results":{}},{"name":"Enable switch","status":"fail","start_time":"2019-09-27T03:52:24.023215554-07:00","end_time":"2019-09-27T03:52:24.023217554-07:00","message":"Cannot connect to CAN bus. Reboot the gateway and try again.","results":{}},{"name":"Internal communications","status":"fail","start_time":"2019-09-27T03:52:24.023219887-07:00","end_time":"2019-09-27T03:52:24.023221887-07:00","message":"Cannot connect to CAN bus. Reboot the gateway and try again.","results":{}},{"name":"Firmware up-to-date","status":"fail","start_time":"2019-09-27T03:52:24.023223887-07:00","end_time":"2019-09-27T03:52:24.023226887-07:00","message":"Cannot connect to CAN bus. Reboot the gateway and try again.","results":{}}]},"update_diagnostic":{"name":"Firmware Update","category":"InternalComms","disruptive":true,"checks":[{"name":"Powerwall firmware","status":"not_run","start_time":null,"end_time":null,"progress":0,"results":null},{"name":"Battery firmware","status":"not_run","start_time":null,"end_time":null,"progress":0,"results":null},{"name":"Inverter firmware","status":"not_run","start_time":null,"end_time":null,"progress":0,"results":null},{"name":"Grid code","status":"not_run","start_time":null,"end_time":null,"progress":0,"results":null}]}}],"has_sync":false,"sync":null,"states":[],"phase_detection_attempt":0}';
TESLA DEBUG - Error:
2019.09.27 12:53:12 2: CUL_MAX_SendQueueHandler: Not enough credit! credit10ms is 8, but we need 113. Waiting 105 seconds. Currently 1 messages are waiting to be sent.
TESLA DEBUG - ResponseString: $VAR1 = '{"enumerating":false,"updating":false,"checking_if_offgrid":false,"running_phase_detection":false,"phase_detection_last_error":"phase detection not run","bubble_shedding":false,"on_grid_check_error":"on grid check not run","grid_qualifying":false,"grid_code_validating":false,"powerwalls":[{"PackagePartNumber":"1092170-03-E","PackageSerialNumber":"T17G0010405","type":"acpw","grid_state":"Grid_Uncompliant","grid_reconnection_time_seconds":0,"under_phase_detection":false,"updating":false,"commissioning_diagnostic":{"name":"Commissioning","category":"InternalComms","disruptive":false,"checks":[{"name":"CAN connectivity","status":"fail","start_time":"2019-09-27T03:53:17.435288919-07:00","end_time":"2019-09-27T03:53:17.435292252-07:00","message":"Cannot connect to CAN bus. Reboot the gateway and try again.","results":{}},{"name":"Enable switch","status":"fail","start_time":"2019-09-27T03:53:17.435294585-07:00","end_time":"2019-09-27T03:53:17.435296919-07:00","message":"Cannot connect to CAN bus. Reboot the gateway and try again.","results":{}},{"name":"Internal communications","status":"fail","start_time":"2019-09-27T03:53:17.435298919-07:00","end_time":"2019-09-27T03:53:17.435301252-07:00","message":"Cannot connect to CAN bus. Reboot the gateway and try again.","results":{}},{"name":"Firmware up-to-date","status":"fail","start_time":"2019-09-27T03:53:17.435303252-07:00","end_time":"2019-09-27T03:53:17.435305252-07:00","message":"Cannot connect to CAN bus. Reboot the gateway and try again.","results":{}}]},"update_diagnostic":{"name":"Firmware Update","category":"InternalComms","disruptive":true,"checks":[{"name":"Powerwall firmware","status":"not_run","start_time":null,"end_time":null,"progress":0,"results":null},{"name":"Battery firmware","status":"not_run","start_time":null,"end_time":null,"progress":0,"results":null},{"name":"Inverter firmware","status":"not_run","start_time":null,"end_time":null,"progress":0,"results":null},{"name":"Grid code","status":"not_run","start_time":null,"end_time":null,"progress":0,"results":null}]}}],"has_sync":false,"sync":null,"states":[],"phase_detection_attempt":0}';
TESLA DEBUG - Error:


Gruß

Ralf
Raspberry Pi3B+ / Nano-Cul 868 - MAX!=Heizung, HM-Lan - Rollo+Licht, JeeLink-Clone 868 - LaCrosse, JeeLink-Clone 868 - PCA301, CUL 434 - IT-Steckdosen+Fernbedienung

pnewman

Hier mal ein Verbose 5 :

2019.09.27 12:56:17 4: TeslaPowerwall2AC (myPowerWall) - Send with URI: http://192.168.178.31/api/powerwalls
2019.09.27 12:56:17 4: TeslaPowerwall2AC (myPowerWall) - Call InternalTimer Timer_GetData
TESLA DEBUG - ResponseString: $VAR1 = '{"enumerating":false,"updating":false,"checking_if_offgrid":false,"running_phase_detection":false,"phase_detection_last_error":"phase detection not run","bubble_shedding":false,"on_grid_check_error":"on grid check not run","grid_qualifying":false,"grid_code_validating":false,"powerwalls":[{"PackagePartNumber":"1092170-03-E","PackageSerialNumber":"T17G0010405","type":"acpw","grid_state":"Grid_Uncompliant","grid_reconnection_time_seconds":0,"under_phase_detection":false,"updating":false,"commissioning_diagnostic":{"name":"Commissioning","category":"InternalComms","disruptive":false,"checks":[{"name":"CAN connectivity","status":"fail","start_time":"2019-09-27T03:56:17.456624673-07:00","end_time":"2019-09-27T03:56:17.456631006-07:00","message":"Cannot connect to CAN bus. Reboot the gateway and try again.","results":{}},{"name":"Enable switch","status":"fail","start_time":"2019-09-27T03:56:17.45663334-07:00","end_time":"2019-09-27T03:56:17.456635673-07:00","message":"Cannot connect to CAN bus. Reboot the gateway and try again.","results":{}},{"name":"Internal communications","status":"fail","start_time":"2019-09-27T03:56:17.456637673-07:00","end_time":"2019-09-27T03:56:17.456639673-07:00","message":"Cannot connect to CAN bus. Reboot the gateway and try again.","results":{}},{"name":"Firmware up-to-date","status":"fail","start_time":"2019-09-27T03:56:17.456642006-07:00","end_time":"2019-09-27T03:56:17.456645006-07:00","message":"Cannot connect to CAN bus. Reboot the gateway and try again.","results":{}}]},"update_diagnostic":{"name":"Firmware Update","category":"InternalComms","disruptive":true,"checks":[{"name":"Powerwall firmware","status":"not_run","start_time":null,"end_time":null,"progress":0,"results":null},{"name":"Battery firmware","status":"not_run","start_time":null,"end_time":null,"progress":0,"results":null},{"name":"Inverter firmware","status":"not_run","start_time":null,"end_time":null,"progress":0,"results":null},{"name":"Grid code","status":"not_run","start_time":null,"end_time":null,"progress":0,"results":null}]}}],"has_sync":false,"sync":null,"states":[],"phase_detection_attempt":0}';
TESLA DEBUG - Error:
2019.09.27 12:56:17 3: TeslaPowerwall2AC (myPowerWall) - statusRequestERROR: http error 200
2019.09.27 12:56:17 4: TeslaPowerwall2AC (myPowerWall) - Recieve JSON data: {"enumerating":false,"updating":false,"checking_if_offgrid":false,"running_phase_detection":false,"phase_detection_last_error":"phase detection not run","bubble_shedding":false,"on_grid_check_error":"on grid check not run","grid_qualifying":false,"grid_code_validating":false,"powerwalls":[{"PackagePartNumber":"1092170-03-E","PackageSerialNumber":"T17G0010405","type":"acpw","grid_state":"Grid_Uncompliant","grid_reconnection_time_seconds":0,"under_phase_detection":false,"updating":false,"commissioning_diagnostic":{"name":"Commissioning","category":"InternalComms","disruptive":false,"checks":[{"name":"CAN connectivity","status":"fail","start_time":"2019-09-27T03:56:17.456624673-07:00","end_time":"2019-09-27T03:56:17.456631006-07:00","message":"Cannot connect to CAN bus. Reboot the gateway and try again.","results":{}},{"name":"Enable switch","status":"fail","start_time":"2019-09-27T03:56:17.45663334-07:00","end_time":"2019-09-27T03:56:17.456635673-07:00","message":"Cannot connect to CAN bus. Reboot the gateway and try again.","results":{}},{"name":"Internal communications","status":"fail","start_time":"2019-09-27T03:56:17.456637673-07:00","end_time":"2019-09-27T03:56:17.456639673-07:00","message":"Cannot connect to CAN bus. Reboot the gateway and try again.","results":{}},{"name":"Firmware up-to-date","status":"fail","start_time":"2019-09-27T03:56:17.456642006-07:00","end_time":"2019-09-27T03:56:17.456645006-07:00","message":"Cannot connect to CAN bus. Reboot the gateway and try again.","results":{}}]},"update_diagnostic":{"name":"Firmware Update","category":"InternalComms","disruptive":true,"checks":[{"name":"Powerwall firmware","status":"not_run","start_time":null,"end_time":null,"progress":0,"results":null},{"name":"Battery firmware","status":"not_run","start_time":null,"end_time":null,"progress":0,"results":null},{"name":"Inverter firmware","status":"not_run","start_time":null,"end_time":null,"progress":0,"results":null},{"name":"Grid code","status":"not_run","start_time":null,"end_time":null,"progress":0,"results":null}]}}],"has_sync":false,"sync":null,"states":[],"phase_detection_attempt":0}
2019.09.27 12:56:19 2: AttrTemplates: got 102 entries
2019.09.27 12:56:24 4: TeslaPowerwall2AC (myPowerWall) - Send with URI: http://192.168.178.31/api/powerwalls
2019.09.27 12:56:24 4: TeslaPowerwall2AC (myPowerWall) - Call InternalTimer Timer_GetData
TESLA DEBUG - ResponseString: $VAR1 = '{"enumerating":false,"updating":false,"checking_if_offgrid":false,"running_phase_detection":false,"phase_detection_last_error":"phase detection not run","bubble_shedding":false,"on_grid_check_error":"on grid check not run","grid_qualifying":false,"grid_code_validating":false,"powerwalls":[{"PackagePartNumber":"1092170-03-E","PackageSerialNumber":"T17G0010405","type":"acpw","grid_state":"Grid_Uncompliant","grid_reconnection_time_seconds":0,"under_phase_detection":false,"updating":false,"commissioning_diagnostic":{"name":"Commissioning","category":"InternalComms","disruptive":false,"checks":[{"name":"CAN connectivity","status":"fail","start_time":"2019-09-27T03:56:24.052347778-07:00","end_time":"2019-09-27T03:56:24.052353778-07:00","message":"Cannot connect to CAN bus. Reboot the gateway and try again.","results":{}},{"name":"Enable switch","status":"fail","start_time":"2019-09-27T03:56:24.052356111-07:00","end_time":"2019-09-27T03:56:24.052358445-07:00","message":"Cannot connect to CAN bus. Reboot the gateway and try again.","results":{}},{"name":"Internal communications","status":"fail","start_time":"2019-09-27T03:56:24.052381445-07:00","end_time":"2019-09-27T03:56:24.052384111-07:00","message":"Cannot connect to CAN bus. Reboot the gateway and try again.","results":{}},{"name":"Firmware up-to-date","status":"fail","start_time":"2019-09-27T03:56:24.052386445-07:00","end_time":"2019-09-27T03:56:24.052388778-07:00","message":"Cannot connect to CAN bus. Reboot the gateway and try again.","results":{}}]},"update_diagnostic":{"name":"Firmware Update","category":"InternalComms","disruptive":true,"checks":[{"name":"Powerwall firmware","status":"not_run","start_time":null,"end_time":null,"progress":0,"results":null},{"name":"Battery firmware","status":"not_run","start_time":null,"end_time":null,"progress":0,"results":null},{"name":"Inverter firmware","status":"not_run","start_time":null,"end_time":null,"progress":0,"results":null},{"name":"Grid code","status":"not_run","start_time":null,"end_time":null,"progress":0,"results":null}]}}],"has_sync":false,"sync":null,"states":[],"phase_detection_attempt":0}';
TESLA DEBUG - Error:
2019.09.27 12:56:24 3: TeslaPowerwall2AC (myPowerWall) - statusRequestERROR: http error 200
2019.09.27 12:56:24 4: TeslaPowerwall2AC (myPowerWall) - Recieve JSON data: {"enumerating":false,"updating":false,"checking_if_offgrid":false,"running_phase_detection":false,"phase_detection_last_error":"phase detection not run","bubble_shedding":false,"on_grid_check_error":"on grid check not run","grid_qualifying":false,"grid_code_validating":false,"powerwalls":[{"PackagePartNumber":"1092170-03-E","PackageSerialNumber":"T17G0010405","type":"acpw","grid_state":"Grid_Uncompliant","grid_reconnection_time_seconds":0,"under_phase_detection":false,"updating":false,"commissioning_diagnostic":{"name":"Commissioning","category":"InternalComms","disruptive":false,"checks":[{"name":"CAN connectivity","status":"fail","start_time":"2019-09-27T03:56:24.052347778-07:00","end_time":"2019-09-27T03:56:24.052353778-07:00","message":"Cannot connect to CAN bus. Reboot the gateway and try again.","results":{}},{"name":"Enable switch","status":"fail","start_time":"2019-09-27T03:56:24.052356111-07:00","end_time":"2019-09-27T03:56:24.052358445-07:00","message":"Cannot connect to CAN bus. Reboot the gateway and try again.","results":{}},{"name":"Internal communications","status":"fail","start_time":"2019-09-27T03:56:24.052381445-07:00","end_time":"2019-09-27T03:56:24.052384111-07:00","message":"Cannot connect to CAN bus. Reboot the gateway and try again.","results":{}},{"name":"Firmware up-to-date","status":"fail","start_time":"2019-09-27T03:56:24.052386445-07:00","end_time":"2019-09-27T03:56:24.052388778-07:00","message":"Cannot connect to CAN bus. Reboot the gateway and try again.","results":{}}]},"update_diagnostic":{"name":"Firmware Update","category":"InternalComms","disruptive":true,"checks":[{"name":"Powerwall firmware","status":"not_run","start_time":null,"end_time":null,"progress":0,"results":null},{"name":"Battery firmware","status":"not_run","start_time":null,"end_time":null,"progress":0,"results":null},{"name":"Inverter firmware","status":"not_run","start_time":null,"end_time":null,"progress":0,"results":null},{"name":"Grid code","status":"not_run","start_time":null,"end_time":null,"progress":0,"results":null}]}}],"has_sync":false,"sync":null,"states":[],"phase_detection_attempt":0}


Gruß
Ralf
Raspberry Pi3B+ / Nano-Cul 868 - MAX!=Heizung, HM-Lan - Rollo+Licht, JeeLink-Clone 868 - LaCrosse, JeeLink-Clone 868 - PCA301, CUL 434 - IT-Steckdosen+Fernbedienung

CoolTux

Ich habe da was eingebaut. Schau mal bitte ob es nun stabil ist. Bitte nur verbose 3 also Standard. Mehr ist nicht nötig.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

pnewman

Hier die neuen Werte mit verbose 3 :
TESLA DEBUG - ResponseString: $VAR1 = '[{"id":0,"location":"site","type":"neurio_mb","cts":[true,true,true,false],"inverted":[false,false,false,false],"connection":{"serial_port":"/dev/ttymxc1","baud":115200,"modbus_id":1,"short_id":"Tesla-0.0.7(2)","device_serial":"0x000004714B001C4B","neurio_connected":true,"disable_echo":true,"https_conf":{}},"Cached_readings":{"last_communication_time":"2019-09-27T07:32:38.490134376-07:00","instant_power":4.897499084472656,"instant_reactive_power":-185.09220504760742,"instant_apparent_power":185.15698708573748,"frequency":49.99971389770508,"energy_exported":8343079.921614358,"energy_imported":3918767.4341143575,"instant_average_voltage":231.05301411946616,"instant_total_current":0,"i_a_current":0,"i_b_current":0,"i_c_current":0,"v_l1n":230.89402770996094,"v_l2n":232.13624572753906,"v_l3n":230.12876892089844,"real_power_a":269.96685791015625,"real_power_b":-191.5067901611328,"real_power_c":-71.1264419555664,"reactive_power_a":50.601348876953125,"reactive_power_b":-154.22352600097656,"reactive_power_c":-80.19103240966797,"serial_number":"0x000004714B001C4B","version":"Tesla-0.0.7(2)","timeout":1500000000}}]';
TESLA DEBUG - Error:
TESLA DEBUG - ResponseString: $VAR1 = '{"running":true,"uptime":"286345s,","connected_to_tesla":true}';
TESLA DEBUG - Error:
2019.09.27 16:32:38 3: TeslaPowerwall2AC (myPowerWall) - statusRequestERROR: http error 403
TESLA DEBUG - ResponseString: $VAR1 = '[{"id":0,"location":"site","type":"neurio_mb","cts":[true,true,true,false],"inverted":[false,false,false,false],"connection":{"serial_port":"/dev/ttymxc1","baud":115200,"modbus_id":1,"short_id":"Tesla-0.0.7(2)","device_serial":"0x000004714B001C4B","neurio_connected":true,"disable_echo":true,"https_conf":{}},"Cached_readings":{"last_communication_time":"2019-09-27T07:32:44.589843428-07:00","instant_power":0.5500946044921875,"instant_reactive_power":-171.7592010498047,"instant_apparent_power":171.76008194380066,"frequency":49.99971389770508,"energy_exported":8343079.922725471,"energy_imported":3918767.4427254703,"instant_average_voltage":230.9556884765625,"instant_total_current":0,"i_a_current":0,"i_b_current":0,"i_c_current":0,"v_l1n":230.49996948242188,"v_l2n":232.53822326660156,"v_l3n":230.14503479003906,"real_power_a":253.03465270996094,"real_power_b":-194.44358825683594,"real_power_c":-72.32208251953125,"reactive_power_a":63.32142639160156,"reactive_power_b":-151.76220703125,"reactive_power_c":-77.41048431396484,"serial_number":"0x000004714B001C4B","version":"Tesla-0.0.7(2)","timeout":1500000000}}]';
TESLA DEBUG - Error:
TESLA DEBUG - ResponseString: $VAR1 = '{"running":true,"uptime":"286351s,","connected_to_tesla":true}';
TESLA DEBUG - Error:
2019.09.27 16:32:44 3: TeslaPowerwall2AC (myPowerWall) - statusRequestERROR: http error 403
TESLA DEBUG - ResponseString: $VAR1 = '[{"id":0,"location":"site","type":"neurio_mb","cts":[true,true,true,false],"inverted":[false,false,false,false],"connection":{"serial_port":"/dev/ttymxc1","baud":115200,"modbus_id":1,"short_id":"Tesla-0.0.7(2)","device_serial":"0x000004714B001C4B","neurio_connected":true,"disable_echo":true,"https_conf":{}},"Cached_readings":{"last_communication_time":"2019-09-27T07:33:38.489787916-07:00","instant_power":8.199790954589844,"instant_reactive_power":-92.8735122680664,"instant_apparent_power":93.23478885429867,"frequency":49.99971389770508,"energy_exported":8343079.996058812,"energy_imported":3918767.503836589,"instant_average_voltage":230.82805379231772,"instant_total_current":0,"i_a_current":0,"i_b_current":0,"i_c_current":0,"v_l1n":230.16184997558594,"v_l2n":232.3776397705078,"v_l3n":229.94467163085938,"real_power_a":329.6898498535156,"real_power_b":-211.9524688720703,"real_power_c":-121.64901733398438,"reactive_power_a":104.88482666015625,"reactive_power_b":-135.76368713378906,"reactive_power_c":-65.34290313720703,"serial_number":"0x000004714B001C4B","version":"Tesla-0.0.7(2)","timeout":1500000000}}]';
TESLA DEBUG - Error:
TESLA DEBUG - ResponseString: $VAR1 = '{"running":true,"uptime":"286405s,","connected_to_tesla":true}';
TESLA DEBUG - Error:
2019.09.27 16:33:38 3: TeslaPowerwall2AC (myPowerWall) - statusRequestERROR: http error 403
TESLA DEBUG - ResponseString: $VAR1 = '[{"id":0,"location":"site","type":"neurio_mb","cts":[true,true,true,false],"inverted":[false,false,false,false],"connection":{"serial_port":"/dev/ttymxc1","baud":115200,"modbus_id":1,"short_id":"Tesla-0.0.7(2)","device_serial":"0x000004714B001C4B","neurio_connected":true,"disable_echo":true,"https_conf":{}},"Cached_readings":{"last_communication_time":"2019-09-27T07:33:44.589313302-07:00","instant_power":-9.110160827636719,"instant_reactive_power":-94.60302734375,"instant_apparent_power":95.04066399656368,"frequency":49.99971389770508,"energy_exported":8343079.999392144,"energy_imported":3918767.5066143665,"instant_average_voltage":230.82909138997397,"instant_total_current":0,"i_a_current":0,"i_b_current":0,"i_c_current":0,"v_l1n":230.0724639892578,"v_l2n":232.2796630859375,"v_l3n":230.00018310546875,"real_power_a":331.0287780761719,"real_power_b":-209.3792724609375,"real_power_c":-125.62520599365234,"reactive_power_a":100.75638580322266,"reactive_power_b":-135.98744201660156,"reactive_power_c":-64.28629302978516,"serial_number":"0x000004714B001C4B","version":"Tesla-0.0.7(2)","timeout":1500000000}}]';
TESLA DEBUG - Error:
TESLA DEBUG - ResponseString: $VAR1 = '{"running":true,"uptime":"286411s,","connected_to_tesla":true}';
TESLA DEBUG - Error:
2019.09.27 16:33:44 3: TeslaPowerwall2AC (myPowerWall) - statusRequestERROR: http error 403


Gruß

Ralf
Raspberry Pi3B+ / Nano-Cul 868 - MAX!=Heizung, HM-Lan - Rollo+Licht, JeeLink-Clone 868 - LaCrosse, JeeLink-Clone 868 - PCA301, CUL 434 - IT-Steckdosen+Fernbedienung

pnewman

Zitat von: CoolTux am 24 September 2019, 16:14:36
Möchte jemand die neue Version einmal testen?
https://github.com/fhem/TeslaPowerwall2AC/archive/patch-NewAPI.zip

Achtet bitte auf die Rechte beim kopieren der Moduldatei und danach bitte FHEM neu starten.


Diese Weg ist doch der richtige, oder?

Gruß

Ralf
Raspberry Pi3B+ / Nano-Cul 868 - MAX!=Heizung, HM-Lan - Rollo+Licht, JeeLink-Clone 868 - LaCrosse, JeeLink-Clone 868 - PCA301, CUL 434 - IT-Steckdosen+Fernbedienung

CoolTux

Der Weg passt, was ich aber gerade sehe der nimmt immer noch http statt https. Ich muss da noch mal schauen.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

CoolTux

Er sollte https nehmen. Kannst du bitte ein list vom Device posten.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

pnewman

Hier bitte:
Internals:
   DEF        192.168.178.31
   FUUID      5c8107ea-f33f-ab8b-3178-5371bc3a96bf867f
   HOST       192.168.178.31
   INTERVAL   60
   NAME       myPowerWall
   NOTIFYDEV  global,myPowerWall
   NR         466
   NTFY_ORDER 50-myPowerWall
   STATE      PV: -0.00 kWh - Verbrauch: 0.40 kWh - Einspeisung: 0.40 kWh - Batterie: 0.00 kWh - BatterieLevel: 4.90 - BatteriePower: 0.70 kWh
   TYPE       TeslaPowerwall2AC
   VERSION    v0.6.103
   READINGS:
     2019-09-27 04:59:06   actionQueue     1 entries in the Queue
     2019-09-27 04:59:06   aggregates-battery-energy_exported 3854300
     2019-09-27 04:59:06   aggregates-battery-energy_imported 4459010
     2019-09-27 04:59:06   aggregates-battery-frequency 50.01
     2019-09-27 04:59:06   aggregates-battery-i_a_current 0
     2019-09-27 04:59:06   aggregates-battery-i_b_current 0
     2019-09-27 04:59:06   aggregates-battery-i_c_current 0
     2019-09-27 04:59:06   aggregates-battery-instant_apparent_power 300
     2019-09-27 04:59:06   aggregates-battery-instant_average_voltage 230.8
     2019-09-27 04:59:06   aggregates-battery-instant_power 0
     2019-09-27 04:59:06   aggregates-battery-instant_reactive_power 300
     2019-09-27 04:59:06   aggregates-battery-instant_total_current -0.3
     2019-09-27 04:59:06   aggregates-battery-last_communication_time 2019-09-26T19:59:06.390045948-07:00
     2019-09-27 04:59:06   aggregates-battery-timeout 1500000000
     2019-05-30 06:02:19   aggregates-busway-energy_exported 0
     2019-05-30 06:02:19   aggregates-busway-energy_imported 0
     2019-05-30 06:02:19   aggregates-busway-frequency 0
     2019-05-30 06:02:19   aggregates-busway-i_a_current 0
     2019-05-30 06:02:19   aggregates-busway-i_b_current 0
     2019-05-30 06:02:19   aggregates-busway-i_c_current 0
     2019-05-30 06:02:19   aggregates-busway-instant_apparent_power 0
     2019-05-30 06:02:19   aggregates-busway-instant_average_voltage 0
     2019-05-30 06:02:19   aggregates-busway-instant_power 0
     2019-05-30 06:02:19   aggregates-busway-instant_reactive_power 0
     2019-05-30 06:02:19   aggregates-busway-instant_total_current 0
     2019-05-30 06:02:19   aggregates-busway-last_communication_time 0001-01-01T00:00:00Z
     2019-05-30 06:02:19   aggregates-frequency-energy_exported 0
     2019-05-30 06:02:19   aggregates-frequency-energy_imported 0
     2019-05-30 06:02:19   aggregates-frequency-frequency 0
     2019-05-30 06:02:19   aggregates-frequency-i_a_current 0
     2019-05-30 06:02:19   aggregates-frequency-i_b_current 0
     2019-05-30 06:02:19   aggregates-frequency-i_c_current 0
     2019-05-30 06:02:19   aggregates-frequency-instant_apparent_power 0
     2019-05-30 06:02:19   aggregates-frequency-instant_average_voltage 0
     2019-05-30 06:02:19   aggregates-frequency-instant_power 0
     2019-05-30 06:02:19   aggregates-frequency-instant_reactive_power 0
     2019-05-30 06:02:19   aggregates-frequency-instant_total_current 0
     2019-05-30 06:02:19   aggregates-frequency-last_communication_time 0001-01-01T00:00:00Z
     2019-05-30 06:02:19   aggregates-generator-energy_exported 0
     2019-05-30 06:02:19   aggregates-generator-energy_imported 0
     2019-05-30 06:02:19   aggregates-generator-frequency 0
     2019-05-30 06:02:19   aggregates-generator-i_a_current 0
     2019-05-30 06:02:19   aggregates-generator-i_b_current 0
     2019-05-30 06:02:19   aggregates-generator-i_c_current 0
     2019-05-30 06:02:19   aggregates-generator-instant_apparent_power 0
     2019-05-30 06:02:19   aggregates-generator-instant_average_voltage 0
     2019-05-30 06:02:19   aggregates-generator-instant_power 0
     2019-05-30 06:02:19   aggregates-generator-instant_reactive_power 0
     2019-05-30 06:02:19   aggregates-generator-instant_total_current 0
     2019-05-30 06:02:19   aggregates-generator-last_communication_time 0001-01-01T00:00:00Z
     2019-09-27 04:59:06   aggregates-load-energy_exported 0
     2019-09-27 04:59:06   aggregates-load-energy_imported 13974496.7941667
     2019-09-27 04:59:06   aggregates-load-frequency 49.9997138977051
     2019-09-27 04:59:06   aggregates-load-i_a_current 0
     2019-09-27 04:59:06   aggregates-load-i_b_current 0
     2019-09-27 04:59:06   aggregates-load-i_c_current 0
     2019-09-27 04:59:06   aggregates-load-instant_apparent_power 410.923035496695
     2019-09-27 04:59:06   aggregates-load-instant_average_voltage 230.542307535807
     2019-09-27 04:59:06   aggregates-load-instant_power 395.491201525818
     2019-09-27 04:59:06   aggregates-load-instant_reactive_power -111.554697872762
     2019-09-27 04:59:06   aggregates-load-instant_total_current 1.71548209850546
     2019-09-27 04:59:06   aggregates-load-last_communication_time 2019-09-26T19:59:06.389422949-07:00
     2019-09-27 04:59:06   aggregates-load-timeout 1500000000
     2019-09-27 04:59:06   aggregates-site-energy_exported 8339461.79800281
     2019-09-27 04:59:06   aggregates-site-energy_imported 3914671.99161392
     2019-09-27 04:59:06   aggregates-site-frequency 49.9997138977051
     2019-09-27 04:59:06   aggregates-site-i_a_current 0
     2019-09-27 04:59:06   aggregates-site-i_b_current 0
     2019-09-27 04:59:06   aggregates-site-i_c_current 0
     2019-09-27 04:59:06   aggregates-site-instant_apparent_power 595.28735280976
     2019-09-27 04:59:06   aggregates-site-instant_average_voltage 230.542307535807
     2019-09-27 04:59:06   aggregates-site-instant_power 400.955444335938
     2019-09-27 04:59:06   aggregates-site-instant_reactive_power -440.002004623413
     2019-09-27 04:59:06   aggregates-site-instant_total_current 0
     2019-09-27 04:59:06   aggregates-site-last_communication_time 2019-09-26T19:59:06.389789615-07:00
     2019-09-27 04:59:06   aggregates-site-timeout 1500000000
     2019-09-27 04:59:06   aggregates-solar-energy_exported 19048613.8909211
     2019-09-27 04:59:06   aggregates-solar-energy_imported 44617.2903655743
     2019-09-27 04:59:06   aggregates-solar-frequency 49.9997138977051
     2019-09-27 04:59:06   aggregates-solar-i_a_current 0
     2019-09-27 04:59:06   aggregates-solar-i_b_current 0
     2019-09-27 04:59:06   aggregates-solar-i_c_current 0
     2019-09-27 04:59:06   aggregates-solar-instant_apparent_power 19.6045959868355
     2019-09-27 04:59:06   aggregates-solar-instant_average_voltage 230.132400512695
     2019-09-27 04:59:06   aggregates-solar-instant_power -2.53706237673759
     2019-09-27 04:59:06   aggregates-solar-instant_reactive_power 19.4397401809692
     2019-09-27 04:59:06   aggregates-solar-instant_total_current 0
     2019-09-27 04:59:06   aggregates-solar-last_communication_time 2019-09-26T19:59:06.389422949-07:00
     2019-09-27 04:59:06   aggregates-solar-timeout 1500000000
     2019-09-27 04:59:06   batteryLevel    4.9
     2019-09-27 04:59:06   batteryPower    0.7
     2019-09-27 17:10:45   lastRequestError 403
     2018-02-13 13:12:30   powerwalls-PackagePartNumber 1092170-03-E
     2018-02-13 13:12:30   powerwalls-PackageSerialNumber T17G0010405
     2019-09-20 05:14:19   powerwalls-numberOfWalls 1
     2019-09-20 05:14:19   powerwalls-wall_0_PackagePartNumber 1092170-03-E
     2019-09-20 05:14:19   powerwalls-wall_0_PackageSerialNumber T17G0010405
     2019-09-20 05:14:19   registration-emailed_registration 1
     2019-09-27 04:59:06   registration-limited_warranty 1
     2019-09-27 04:59:06   registration-privacy_notice 1
     2019-09-27 04:59:06   registration-registered 1
     2019-09-20 05:14:19   registration-skipped_registration 1
     2019-09-27 04:59:06   registration-timed_out_registration 0
     2019-05-10 03:45:38   siteinfo-country Germany
     2019-05-10 03:45:38   siteinfo-grid_code 50Hz_230V_1_VDE4105:2011_Germany
     2019-05-10 03:45:38   siteinfo-grid_freq_setting 50
     2019-05-10 03:45:38   siteinfo-grid_phase_setting Single
     2019-05-10 03:45:38   siteinfo-grid_voltage_setting 230
     2019-09-27 04:59:06   siteinfo-max_site_meter_power_kW 1000000000
     2019-09-27 04:59:06   siteinfo-min_site_meter_power_kW -1000000000
     2019-09-27 04:59:06   siteinfo-nominal_system_energy_kWh 13.5
     2019-09-27 04:59:06   siteinfo-nominal_system_power_kW 5
     2019-09-27 04:59:06   siteinfo-site_name Meine Powerwall2AC
     2019-09-27 04:59:06   siteinfo-timezone Europe/Berlin
     2019-09-26 04:59:33   sitemaster-connected_to_tesla 1
     2019-09-26 04:59:33   sitemaster-running 1
     2019-09-26 04:59:33   sitemaster-uptime 158360s,
     2019-09-27 17:10:45   state           403
     2019-09-27 04:59:06   status-git_hash 14f7c1769ec307bba2ea62355a09d01c8e58988c+
     2019-09-27 04:59:06   status-is_new   0
     2019-09-27 04:59:06   status-start_time 2019-09-23 23:59:36 +0800
     2019-09-27 04:59:06   status-up_time_seconds 67h59m29.712941458s
     2019-09-27 04:59:06   status-version  1.40.2
     2019-09-27 04:59:06   statussoe-percentage 4.94338784873825
   actionQueue:
Attributes:
   interval   60
   room       Tesla,Verbrauch
   sortby     2
   stateFormat {sprintf "PV: %.2f kWh - Verbrauch: %.2f kWh - Einspeisung: %.2f kWh - Batterie: %.2f kWh - BatterieLevel: %.2f - BatteriePower: %.2f kWh", ReadingsVal($name, "aggregates-solar-instant_power", 0)/1000, ReadingsVal($name,"aggregates-load-instant_power",0)/1000, ReadingsVal($name,"aggregates-site-instant_power",0)/1000, ReadingsVal($name,"aggregates-battery-instant_power",0)/1000, ReadingsVal($name,"batteryLevel",0), ReadingsVal($name,"batteryPower",0)}
   verbose    0


Gruß
Ralf
Raspberry Pi3B+ / Nano-Cul 868 - MAX!=Heizung, HM-Lan - Rollo+Licht, JeeLink-Clone 868 - LaCrosse, JeeLink-Clone 868 - PCA301, CUL 434 - IT-Steckdosen+Fernbedienung

CoolTux

OK die Version ist korrekt.
Und von dieser habe ich das Log per Mail bekommen?
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

pnewman

Ich habe dir keine Mail gesendet.

Das war Black7King.


Gruß

Ralf
Raspberry Pi3B+ / Nano-Cul 868 - MAX!=Heizung, HM-Lan - Rollo+Licht, JeeLink-Clone 868 - LaCrosse, JeeLink-Clone 868 - PCA301, CUL 434 - IT-Steckdosen+Fernbedienung

Black7king

#252
die mail hast du von mir bekommen oder hat pnewman auch noch eine geschickt?

edit:

habe aber die gleiche version:
Internals:
   DEF        192.168.178.157
   FUUID      5d1c3fb1-f33f-6183-a47a-7c9905193fe9349d
   FVERSION   46_TeslaPowerwall2AC.pm:v0.6.103/2019-09-27 UNDER DEVELOP
   HOST       192.168.178.157
   INTERVAL   60
   NAME       TeslaPowerwall
   NOTIFYDEV  global,TeslaPowerwall
   NR         39
   NTFY_ORDER 50-TeslaPowerwall
   STATE      3.5 %
   TYPE       TeslaPowerwall2AC
   VERSION    v0.6.103
   READINGS:

CoolTux

OK, sorry Jungs. Bin durcheinander gekommen. Ich melde mich wenn ich das ausgewertet habe.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

CoolTux

Ich habe noch mal eine neue Version hochgeladen.

Wer testen möchte bitte beachten:
1. Es muss Version 0.6.110 sein
2. kein verbose aktivieren
3. Log dann hier posten oder per Mail.
4. schauen ob und wenn ja welche Readings aktualisiert werden.


Grüße
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net