Hi, I still have the same problem. I am on OH 3.2.0 and with Powerwall2 firmware 21.20.07
The strange thing is that the binding is connecting with PW2, autenticate correctly, than getOperations than getBatterySOE , getGridStatus and getMeterAggregates and later I got a connection error.
Fews value are parsing correctly while the others are NULL …
Can be a Parsing error? here attach an example of the respose
021-11-01 16:36:15.911 [DEBUG] [rwall.internal.TeslaPowerwallHandler] - Polling for state
2021-11-01 16:36:15.911 [DEBUG] [ll.internal.TeslaPowerwallWebTargets] - logonjson = {"username":"customer","password":"xx","email":"xx@gmail.com","force_sm_off":false}
2021-11-01 16:36:15.912 [DEBUG] [ll.internal.TeslaPowerwallWebTargets] - Calling url: https://192.168.0.xx/api/login/Basic
2021-11-01 16:36:16.513 [DEBUG] [ll.internal.TeslaPowerwallWebTargets] - Token: ankD6i2pVSJbj_onHXfCLsLbKKMAgw8XkDsqr7us1WllYcI2bbQQ79z2nTBQXBTGmJY-x_-l1UBxWw4_xRKmYQ==
2021-11-01 16:36:16.524 [DEBUG] [ll.internal.TeslaPowerwallWebTargets] - getOperations response = {"real_mode":"autonomous","max_pv_export_power_kW":0,"backup_reserve_percent":24}
2021-11-01 16:36:16.536 [DEBUG] [ll.internal.TeslaPowerwallWebTargets] - getBatterySOE response = {"percentage":9.084856107124361}
2021-11-01 16:36:16.548 [DEBUG] [ll.internal.TeslaPowerwallWebTargets] - getGridStatus response = {"grid_status":"SystemGridConnected","grid_services_active":false}
2021-11-01 16:36:16.566 [DEBUG] [ll.internal.TeslaPowerwallWebTargets] - getMeterAggregates response = {"site":{"last_communication_time":"2021-11-01T17:36:16.490359311+02:00","instant_power":997,"instant_reactive_power":-415,"instant_apparent_power":1079.9231454135984,"frequency":0,"energy_exported":49.46347124934255,"energy_imported":375392.9554079209,"instant_average_voltage":392.2748668981993,"instant_total_current":5.045,"i_a_current":0,"i_b_current":0,"i_c_current":0,"last_phase_voltage_communication_time":"0001-01-01T00:00:00Z","last_phase_power_communication_time":"0001-01-01T00:00:00Z","timeout":1500000000,"num_meters_aggregated":1},"battery":{"last_communication_time":"2021-11-01T17:36:16.490589673+02:00","instant_power":-510,"instant_reactive_power":-20,"instant_apparent_power":510.3920062069938,"frequency":49.97,"energy_exported":880,"energy_imported":2020,"instant_average_voltage":226.60000000000002,"instant_total_current":11.200000000000001,"i_a_current":0,"i_b_current":0,"i_c_current":0,"last_phase_voltage_communication_time":"0001-01-01T00:00:00Z","last_phase_power_communication_time":"0001-01-01T00:00:00Z","timeout":1500000000,"num_meters_aggregated":1},"load":{"last_communication_time":"2021-11-01T17:36:16.490359311+02:00","instant_power":494.75,"instant_reactive_power":-418.5,"instant_apparent_power":648.012200888224,"frequency":0,"energy_exported":0,"energy_imported":374203.49193667155,"instant_average_voltage":392.2748668981993,"instant_total_current":1.2612329816388528,"i_a_current":0,"i_b_current":0,"i_c_current":0,"last_phase_voltage_communication_time":"0001-01-01T00:00:00Z","last_phase_power_communication_time":"0001-01-01T00:00:00Z","timeout":1500000000}}
2021-11-01 16:36:16.567 [WARN ] [rwall.internal.TeslaPowerwallHandler] - Unexpected error connecting to Tesla Powerwall
looking in the binding file it seems a RuntimeException Error … what does it means and how to solve?
Waiting some advice to solve the issue…
Regards
Lorenzo