Using config file: /config/2024_02_evcc_modbus_tesla_proxy.yaml starting evcc: 'EVCC_DATABASE_DSN=/data/evcc.db evcc --config /config/2024_02_evcc_modbus_tesla_proxy.yaml' [main ] INFO 2024/02/27 20:18:46 evcc 0.124.4 [main ] INFO 2024/02/27 20:18:46 using config file: /config/2024_02_evcc_modbus_tesla_proxy.yaml [main ] INFO 2024/02/27 20:18:46 starting ui and api at :7070 [mqtt ] INFO 2024/02/27 20:18:47 connecting evcc at tcp://localhost:1883 [tesla ] TRACE 2024/02/27 20:18:47 GET https://fleet-api.prd.na.vn.cloud.tesla.com/api/1/users/region [tesla ] TRACE 2024/02/27 20:18:48 {"response":{"region":"eu","fleet_api_base_url":"https://fleet-api.prd.eu.vn.cloud.tesla.com"}} [tesla ] TRACE 2024/02/27 20:18:48 GET https://fleet-api.prd.eu.vn.cloud.tesla.com/api/1/vehicles [tesla ] TRACE 2024/02/27 20:18:50 {"response":[{"id":1493030778295922,"vehicle_id":237124832627,"vin":"***","color":null,"access_type":"OWNER","display_name":"Tessy","option_codes":null,"granular_access":{"hide_private":false},"tokens":["ba9965ef0e5b2f6a","1510ac34ff3e1589"],"state":"asleep","in_service":false,"id_s":"1493030778295922","calendar_enabled":true,"api_version":73,"backseat_token":null,"backseat_token_updated_at":null,"ble_autopair_enrolled":false}],"count":1} [tesla ] TRACE 2024/02/27 20:18:50 GET https://tesla.evcc.io/api/1/vehicles/***** [tesla ] TRACE 2024/02/27 20:18:50 {"response":{"id":1493030778295922,"vehicle_id":237124832627,"vin":"*****","color":null,"access_type":"OWNER","display_name":"Tessy","option_codes":null,"granular_access":{"hide_private":false},"tokens":["ba9965ef0e5b2f6a","1510ac34ff3e1589"],"state":"asleep","in_service":false,"id_s":"1493030778295922","calendar_enabled":true,"api_version":73,"backseat_token":null,"backseat_token_updated_at":null,"ble_autopair_enrolled":false}} [site ] INFO 2024/02/27 20:18:50 site config: [site ] INFO 2024/02/27 20:18:50 meters: grid ✓ pv ✓ battery ✓ [site ] INFO 2024/02/27 20:18:50 grid: power ✓ energy ✓ currents ✓ [site ] INFO 2024/02/27 20:18:50 pv 1: power ✓ energy ✓ currents ✗ [site ] INFO 2024/02/27 20:18:50 battery 1: power ✓ energy ✓ currents ✗ soc ✓ capacity ✗ [site ] INFO 2024/02/27 20:18:50 vehicles: [site ] INFO 2024/02/27 20:18:50 vehicle 1: range ✓ finish ✓ status ✓ climate ✗ wakeup ✓ [lp-1 ] INFO 2024/02/27 20:18:50 loadpoint 1: [lp-1 ] INFO 2024/02/27 20:18:50 mode: pv [lp-1 ] INFO 2024/02/27 20:18:50 charger: power ✓ energy ✗ currents ✓ phases ✗ wakeup ✗ [lp-1 ] INFO 2024/02/27 20:18:50 meters: charge ✓ [lp-1 ] INFO 2024/02/27 20:18:50 charge: power ✓ energy ✗ currents ✓ [lp-1 ] INFO 2024/02/27 20:18:51 car connected [tesla ] TRACE 2024/02/27 20:18:51 GET https://fleet-api.prd.eu.vn.cloud.tesla.com/api/1/vehicles/*****/vehicle_data [tesla ] TRACE 2024/02/27 20:18:51 {"response":null,"error":"vehicle unavailable: vehicle is offline or asleep","error_description":""} [main ] ERROR 2024/02/27 20:18:51 vehicle status: asleep [tesla ] TRACE 2024/02/27 20:19:21 GET https://fleet-api.prd.eu.vn.cloud.tesla.com/api/1/vehicles/*****/vehicle_data [tesla ] TRACE 2024/02/27 20:19:21 {"response":null,"error":"vehicle unavailable: vehicle is offline or asleep","error_description":""} [main ] ERROR 2024/02/27 20:19:21 vehicle status: asleep [tesla ] TRACE 2024/02/27 20:19:51 GET https://fleet-api.prd.eu.vn.cloud.tesla.com/api/1/vehicles/*****/vehicle_data [tesla ] TRACE 2024/02/27 20:19:51 {"response":null,"error":"vehicle unavailable: vehicle is offline or asleep","error_description":""} [main ] ERROR 2024/02/27 20:19:51 vehicle status: asleep [tesla ] TRACE 2024/02/27 20:20:21 GET https://fleet-api.prd.eu.vn.cloud.tesla.com/api/1/vehicles/*****/vehicle_data [tesla ] TRACE 2024/02/27 20:20:21 {"response":null,"error":"vehicle unavailable: vehicle is offline or asleep","error_description":""} [main ] ERROR 2024/02/27 20:20:21 vehicle status: asleep [tesla ] TRACE 2024/02/27 20:20:51 GET https://fleet-api.prd.eu.vn.cloud.tesla.com/api/1/vehicles/*****/vehicle_data [tesla ] TRACE 2024/02/27 20:20:51 {"response":null,"error":"vehicle unavailable: vehicle is offline or asleep","error_description":""} [main ] ERROR 2024/02/27 20:20:51 vehicle status: asleep [lp-1 ] INFO 2024/02/27 20:21:21 start charging -> [tesla ] TRACE 2024/02/27 20:21:21 GET https://fleet-api.prd.eu.vn.cloud.tesla.com/api/1/vehicles/*****/vehicle_data [tesla ] TRACE 2024/02/27 20:21:21 {"response":{"id":1493030778295922,"user_id":229020468069,"vehicle_id":237124832627,"vin":"*****","color":null,"access_type":"OWNER","granular_access":{"hide_private":false},"tokens":["ba9965ef0e5b2f6a","1510ac34ff3e1589"],"state":"online","in_service":false,"id_s":"1493030778295922","calendar_enabled":true,"api_version":73,"backseat_token":null,"backseat_token_updated_at":null,"ble_autopair_enrolled":false,"charge_state":{"battery_heater_on":false,"battery_level":65,"battery_range":198.6,"charge_amps":6,"charge_current_request":6,"charge_current_request_max":16,"charge_enable_request":true,"charge_energy_added":0.0,"charge_limit_soc":70,"charge_limit_soc_max":100,"charge_limit_soc_min":50,"charge_limit_soc_std":80,"charge_miles_added_ideal":0.0,"charge_miles_added_rated":0.0,"charge_port_cold_weather_mode":false,"charge_port_color":"\u003cinvalid\u003e","charge_port_door_open":true,"charge_port_latch":"Engaged","charge_rate":9.8,"charger_actual_current":6,"charger_phases":2,"charger_pilot_current":16,"charger_power":3,"charger_voltage":229,"charging_state":"Charging","conn_charge_cable":"IEC","est_battery_range":194.89,"fast_charger_brand":"\u003cinvalid\u003e","fast_charger_present":false,"fast_charger_type":"ACSingleWireCAN","ideal_battery_range":198.6,"max_range_charge_counter":0,"minutes_to_full_charge":60,"not_enough_power_to_heat":null,"off_peak_charging_enabled":false,"off_peak_charging_times":"all_week","off_peak_hours_end_time":360,"preconditioning_enabled":false,"preconditioning_times":"weekdays","scheduled_charging_mode":"Off","scheduled_charging_pending":false,"scheduled_charging_start_time":null,"scheduled_charging_start_time_app":330,"scheduled_departure_time":1685448900,"scheduled_departure_time_minutes":855,"supercharger_session_trip_planner":false,"time_to_full_charge":1.0,"timestamp":1709061681134,"trip_charging":false,"usable_battery_level":65,"user_charge_enable_request":null},"climate_state":{"allow_cabin_overheat_protection":false,"auto_seat_climate_left":false,"auto_seat_climate_right":true,"auto_steering_wheel_heat":false,"battery_heater":false,"battery_heater_no_power":null,"cabin_overheat_protection":"On","cabin_overheat_protection_actively_cooling":false,"climate_keeper_mode":"off","cop_activation_temperature":"High","defrost_mode":0,"driver_temp_setting":20.0,"fan_status":0,"hvac_auto_request":"On","inside_temp":9.8,"is_auto_conditioning_on":false,"is_climate_on":false,"is_front_defroster_on":false,"is_preconditioning":false,"is_rear_defroster_on":false,"left_temp_direction":0,"max_avail_temp":28.0,"min_avail_temp":15.0,"outside_temp":7.5,"passenger_temp_setting":20.0,"remote_heater_control_enabled":false,"right_temp_direction":0,"seat_heater_left":0,"seat_heater_rear_center":0,"seat_heater_rear_left":0,"seat_heater_rear_right":0,"seat_heater_right":0,"side_mirror_heaters":false,"steering_wheel_heat_level":0,"steering_wheel_heater":false,"supports_fan_only_cabin_overheat_protection":true,"timestamp":1709061681133,"wiper_blade_heater":false},"drive_state":{"active_route_latitude":48.282399,"active_route_longitude":11.586201,"active_route_traffic_minutes_delay":0.0,"power":-2,"shift_state":null,"speed":null,"timestamp":1709061681134},"gui_settings":{"gui_24_hour_time":true,"gui_charge_rate_units":"kW","gui_distance_units":"km/hr","gui_range_display":"Rated","gui_temperature_units":"C","gui_tirepressure_units":"Bar","show_range_units":false,"timestamp":1709061681134},"vehicle_config":{"aux_park_lamps":"Eu","badge_version":0,"can_accept_navigation_requests":true,"can_actuate_trunks":true,"car_special_type":"base","car_type":"model3","charge_port_type":"CCS","cop_user_set_temp_supported":false,"dashcam_clip_save_supported":true,"default_charge_to_max":false,"driver_assist":"TeslaAP3","ece_restrictions":true,"efficiency_package":"M32021","eu_vehicle":true,"exterior_color":"MidnightSilver","exterior_trim":"Black","exterior_trim_override":"","has_air_suspension":false,"has_ludicrous_mode":false,"has_seat_cooling":false,"headlamp_type":"Global","interior_trim_type":"Black2","key_version":2,"motorized_charge_port":true,"paint_color_override":"19,20,22,0.8,0.04","performance_package":"Performance","plg":true,"pws":true,"rear_drive_unit":"PM216MOSFET","rear_seat_heaters":1,"rear_seat_type":0,"rhd":false,"roof_color":"RoofColorGlass","seat_type":null,"spoiler_type":"Passive","sun_roof_installed":null,"supports_qr_pairing":false,"third_row_seats":"None","timestamp":1709061681134,"trim_badging":"p74d","use_range_badging":true,"utc_offset":3600,"webcam_selfie_supported":true,"webcam_supported":true,"wheel_type":"StilettoRefresh19"},"vehicle_state":{"api_version":73,"autopark_state_v2":"unavailable","calendar_supported":true,"car_version":"2024.2.7 d522c44937f7","center_display_state":0,"dashcam_clip_save_available":true,"dashcam_state":"Recording","df":0,"dr":0,"fd_window":0,"feature_bitmask":"fbdffbff,2b87f","fp_window":0,"ft":0,"is_user_present":false,"locked":true,"media_info":{"audio_volume":2.3333,"audio_volume_increment":0.333333,"audio_volume_max":10.333333,"media_playback_status":"Stopped","now_playing_album":"","now_playing_artist":"","now_playing_duration":0,"now_playing_elapsed":0,"now_playing_source":"Spotify","now_playing_station":"","now_playing_title":""},"media_state":{"remote_control_enabled":true},"notifications_supported":true,"odometer":13566.312757,"parsed_calendar_supported":true,"pf":0,"pr":0,"rd_window":0,"remote_start":false,"remote_start_enabled":true,"remote_start_supported":true,"rp_window":0,"rt":0,"santa_mode":0,"sentry_mode":false,"sentry_mode_available":true,"service_mode":false,"service_mode_plus":false,"software_update":{"download_perc":0,"expected_duration_sec":2700,"install_perc":1,"status":"","version":" "},"speed_limit_mode":{"active":false,"current_limit_mph":86.991967,"max_limit_mph":120,"min_limit_mph":50.0,"pin_code_set":false},"timestamp":1709061681133,"tpms_hard_warning_fl":false,"tpms_hard_warning_fr":false,"tpms_hard_warning_rl":false,"tpms_hard_warning_rr":false,"tpms_last_seen_pressure_time_fl":1709056072,"tpms_last_seen_pressure_time_fr":1709056072,"tpms_last_seen_pressure_time_rl":1709056072,"tpms_last_seen_pressure_time_rr":1709056102,"tpms_pressure_fl":2.875,"tpms_pressure_fr":2.9,"tpms_pressure_rl":2.9,"tpms_pressure_rr":2.85,"tpms_rcp_front_value":2.9,"tpms_rcp_rear_value":2.9,"tpms_soft_warning_fl":false,"tpms_soft_warning_fr":false,"tpms_soft_warning_rl":false,"tpms_soft_warning_rr":false,"valet_mode":false,"valet_pin_needed":true,"vehicle_name":"Tessy","vehicle_self_test_progress":0,"vehicle_self_test_requested":false,"webcam_available":true}}} [lp-1 ] INFO 2024/02/27 20:21:21 vehicle updated: unknown -> Tessi [lp-1 ] WARN 2024/02/27 20:21:21 charger out of sync: expected disabled, got enabled [tesla ] TRACE 2024/02/27 20:21:21 POST https://tesla.evcc.io/api/1/vehicles/*****/command/set_charging_amps [tesla ] TRACE 2024/02/27 20:21:21 {"charging_amps": 6} -- {"response":null,"error":"vehicle rejected request: your public key has not been paired with the vehicle","error_description":""} [lp-1 ] ERROR 2024/02/27 20:21:21 max charge current 6A: 500 Internal Server Error [tesla ] TRACE 2024/02/27 20:21:51 POST https://tesla.evcc.io/api/1/vehicles/*****/command/set_charging_amps [tesla ] TRACE 2024/02/27 20:21:51 {"charging_amps": 6} -- {"response":null,"error":"vehicle rejected request: your public key has not been paired with the vehicle","error_description":""} [lp-1 ] ERROR 2024/02/27 20:21:51 max charge current 6A: 500 Internal Server Error [tesla ] TRACE 2024/02/27 20:22:24 POST https://tesla.evcc.io/api/1/vehicles/*****/command/set_charging_amps [tesla ] TRACE 2024/02/27 20:22:24 {"charging_amps": 6} -- {"response":null,"error":"vehicle rejected request: your public key has not been paired with the vehicle","error_description":""} [lp-1 ] ERROR 2024/02/27 20:22:24 max charge current 6A: 500 Internal Server Error