BigThunderSR / onstar2mqtt

OnStarJS wrapper for MQTT
MIT License
17 stars 4 forks source link

Main function error - Help :( #134

Closed stamanf closed 8 months ago

stamanf commented 8 months ago

Long time user. Lately I have been having issues connecting to onstar. Re-installed docker and this add-on and still having the main function error. It connects, downloads the data and publishes to my mqtt, then produces the error. I attached the log below.

Any help or pointers please help.

docker run --env ONSTAR_DEVICEID=xxxxxx --env ONSTAR_VIN=VIN#--env ONSTAR_USERNAME=my@email --env ONSTAR_PASSWORD=#### --env ONSTAR_PIN=XXXX --env ONSTAR_URL=https://api.gm.com/ --env MQTT_HOST=X.X.X.X --env MQTT_USERNAME=XYZ --env MQTT_PASSWORD=ZZZ bigthundersr/onstar2mqtt:latest Unable to find image 'bigthundersr/onstar2mqtt:latest' locally latest: Pulling from bigthundersr/onstar2mqtt 4abcf2066143: Already exists e7ced292c644: Already exists b32c0114bba5: Already exists f3748d9674b0: Already exists 71639daa96f8: Pull complete 4f4fb700ef54: Pull complete 3f16b17b9a85: Pull complete 4e71b3a8cb53: Pull complete da329c616d64: Pull complete 38b345e8fbb9: Pull complete Digest: sha256:1d1770bbd8b01f9512f04b1655b64525949f7931364a05e462ce569d40cfe88a Status: Downloaded newer image for bigthundersr/onstar2mqtt:latest

onstar2mqtt@1.8.0 start node src/index.js

info: OnStar Config {"onstarConfig":{"allowCommands":true,"checkRequestStatus":true,"deviceId":"xxxxxxx","onStarPin":"xxxx","password":"xxxxx","refreshInterval":1800000,"requestPollingIntervalSeconds":6,"requestPollingTimeoutSeconds":90,"username":"xxxxx","vin":"xxxxxx"},"timestamp":"2024-03-04 22:06:47"} info: MQTT Config {"mqttConfig":{"host":"xxxxx","namePrefix":"","password":"xxxxxx","port":1883,"prefix":"homeassistant","tls":false,"username":"xxxxx"},"timestamp":"2024-03-04 22:06:47"} info: Requesting vehicles {"timestamp":"2024-03-04 22:06:47"} info: Vehicle request status {"status":"success","timestamp":"2024-03-04 22:06:50"} info: Connecting to MQTT {"config":{"username":"xxxxx","will":{"payload":"false","retain":true,"topic":"homeassistant/xxxxx/available"}},"timestamp":"2024-03-04 22:06:50","url":"mqtt://xxxxxx:1883"} info: Connected to MQTT {"timestamp":"2024-03-04 22:06:50"} info: Subscribed to command topic {"timestamp":"2024-03-04 22:06:50","topic":"homeassistant/xxxxxxx/command"} info: Requesting diagnostics {"timestamp":"2024-03-04 22:06:50"} info: Diagnostic request status {"status":"success","timestamp":"2024-03-04 22:07:11"} info: Publishing message {"payload":{"availability_topic":"homeassistant/xxxxxxx/available","device":{"identifiers":["xxxxxx"],"manufacturer":"Chevrolet","model":"2022","name":"2022 Chevrolet Bolt EV"},"device_class":"temperature","name":"Ambient Air Temperature","payload_available":"true","payload_not_available":"false","state_class":"measurement","state_topic":"homeassistant/sensor/xxxxxxx/ambient_air_temperature/state","unique_id":"xxxx-ambient-air-temperature","unit_of_measurement":"°C","value_template":"{{ value_json.ambient_air_temperature }}"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxxx{"payload":{"availability_topic":"homeassistant/xxxxxxx/available","device":{"identifiers":["xxxx"],"manufacturer":"Chevrolet","model":"2022","name":"2022 Chevrolet Bolt EV"},"device_class":"temperature","name":"Ambient Air Temperature F","payload_available":"true","payload_not_available":"false","state_class":"measurement","state_topic":"homeassistant/sensor/xxxxxx/ambient_air_temperature/state","unique_id":"xxxxxxx}}"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxx/ambient_air_temperature_f/config"} info: Publishing message {"payload":{"availability_topic":"homeassistant/xxxxxx/available","device":{"identifiers":["xxxxxx"],"manufacturer":"Chevrolet","model":"2022","name":"2022 Chevrolet Bolt EV"},"name":"Charger Power Level","payload_available":"true","payload_not_available":"false","state_class":"measurement","state_topic":"homeassistant/sensor/xxxxxx/charger_power_level/state","unique_id":"xxxxxx-charger-power-level","value_template":"{{ value_json.charger_power_level }}"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/charger_power_level/config"} info: Publishing message {"payload":{"availability_topic":"homeassistant/xxxxxx/available","device":{"identifiers":["xxxxxx"],"manufacturer":"Chevrolet","model":"2022","name":"2022 Chevrolet Bolt EV"},"device_class":"energy","name":"Electric Economy","payload_available":"true","payload_not_available":"false","state_class":"measurement","state_topic":"homeassistant/sensor/xxxxxx/energy_efficiency/state","unique_id":"xxxxxx-electric-economy","unit_of_measurement":"kWh","value_template":"{{ value_json.electric_economy }}"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/electric_economy/config"} info: Publishing message {"payload":{"availability_topic":"homeassistant/xxxxx/available","device":{"identifiers":["xxxxxx"],"manufacturer":"Chevrolet","model":"2022","name":"2022 Chevrolet Bolt EV"},"device_class":"energy","name":"Lifetime Efficiency","payload_available":"true","payload_not_available":"false","state_class":"measurement","state_topic":"homeassistant/sensor/xxxxxx/energy_efficiency/state","unique_id":"xxxxxx-lifetime-efficiency","unit_of_measurement":"kWh","value_template":"{{ value_json.lifetime_efficiency }}"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/lifetime_efficiency/config"} info: Publishing message {"payload":{"availability_topic":"homeassistant/xxxxxx/available","device":{"identifiers":["xxxxxx"],"manufacturer":"Chevrolet","model":"2022","name":"2022 Chevrolet Bolt EV"},"name":"Lifetime Mpge","payload_available":"true","payload_not_available":"false","state_class":"measurement","state_topic":"homeassistant/sensor/xxxxxx/energy_efficiency/state","unique_id":"xxxxxx-lifetime-mpge","unit_of_measurement":"km/L(e)","value_template":"{{ value_json.lifetime_mpge }}"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/lifetime_mpge/config"} info: Publishing message {"payload":{"availability_topic":"homeassistant/xxxxxx/available","device":{"identifiers":["xxxxxx"],"manufacturer":"Chevrolet","model":"2022","name":"2022 Chevrolet Bolt EV"},"device_class":"distance","name":"Odometer","payload_available":"true","payload_not_available":"false","state_class":"measurement","state_topic":"homeassistant/sensor/xxxxxx/odometer/state","unique_id":"xxxxxx-odometer","unit_of_measurement":"km","value_template":"{{ value_json.odometer }}"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/odometer/config"} info: Publishing message {"payload":{"availability_topic":"homeassistant/xxxxxx/available","device":{"identifiers":["xxxxxx"],"manufacturer":"Chevrolet","model":"2022","name":"2022 Chevrolet Bolt EV"},"name":"Lifetime Mpge Mpge","payload_available":"true","payload_not_available":"false","state_class":"measurement","state_topic":"homeassistant/sensor/xxxxxx/energy_efficiency/state","unique_id":"xxxxxx-lifetime-mpge-mpge","unit_of_measurement":"mpg(e)","value_template":"{{ value_json.lifetime_mpge_mpge }}"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/lifetime_mpge_mpge/config"} info: Publishing message {"payload":{"availability_topic":"homeassistant/xxxxxx/available","device":{"identifiers":["xxxxxx"],"manufacturer":"Chevrolet","model":"2022","name":"2022 Chevrolet Bolt EV"},"device_class":"distance","name":"Odometer Mi","payload_available":"true","payload_not_available":"false","state_class":"measurement","state_topic":"homeassistant/sensor/xxxxxx/odometer/state","unique_id":"xxxxxx-odometer-mi","unit_of_measurement":"mi","value_template":"{{ value_json.odometer_mi }}"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/odometer_mi/config"} info: Publishing message {"payload":{"availability_topic":"homeassistant/xxxxxx/available","device":{"identifiers":["xxxxxx"],"manufacturer":"Chevrolet","model":"2022","name":"2022 Chevrolet Bolt EV"},"device_class":"battery","name":"Ev Battery Level","payload_available":"true","payload_not_available":"false","state_class":"measurement","state_topic":"homeassistant/sensor/xxxxxx/ev_battery_level/state","unique_id":"xxxxxx-ev-battery-level","unit_of_measurement":"%","value_template":"{{ value_json.ev_battery_level }}"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/ev_battery_level/config"} info: Publishing message {"payload":{"availability_topic":"homeassistant/xxxxxx/available","device":{"identifiers":["xxxxxx"],"manufacturer":"Chevrolet","model":"2022","name":"2022 Chevrolet Bolt EV"},"device_class":"battery_charging","name":"Ev Charge State","payload_available":"true","payload_not_available":"false","payload_off":false,"payload_on":true,"state_topic":"homeassistant/binary_sensor/xxxxxx/ev_charge_state/state","unique_id":"xxxxxx-ev-charge-state","value_template":"{{ value_json.ev_charge_state }}"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/binary_sensor/xxxxxx/ev_charge_state/config"} info: Publishing message {"payload":{"availability_topic":"homeassistant/xxxxxx/available","device":{"identifiers":["xxxxxx"],"manufacturer":"Chevrolet","model":"2022","name":"2022 Chevrolet Bolt EV"},"name":"Priority Charge Indicator","payload_available":"true","payload_not_available":"false","payload_off":false,"payload_on":true,"state_topic":"homeassistant/binary_sensor/xxxxxx/ev_charge_state/state","unique_id":"xxxxxx-priority-charge-indicator","value_template":"{{ value_json.priority_charge_indicator }}"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/binary_sensor/xxxxxx/priority_charge_indicator/config"} info: Publishing message {"payload":{"availability_topic":"homeassistant/xxxxxx/available","device":{"identifiers":["xxxxxx"],"manufacturer":"Chevrolet","model":"2022","name":"2022 Chevrolet Bolt EV"},"name":"Priority Charge Status","payload_available":"true","payload_not_available":"false","payload_off":false,"payload_on":true,"state_topic":"homeassistant/binary_sensor/xxxxxx/ev_charge_state/state","unique_id":"xxxxxx-priority-charge-status","value_template":"{{ value_json.priority_charge_status }}"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/binary_sensor/xxxxxx/priority_charge_status/config"} info: Publishing message {"payload":{"availability_topic":"homeassistant/xxxxxx/available","device":{"identifiers":["xxxxxx"],"manufacturer":"Chevrolet","model":"2022","name":"2022 Chevrolet Bolt EV"},"device_class":"plug","name":"Ev Plug State","payload_available":"true","payload_not_available":"false","payload_off":false,"payload_on":true,"state_topic":"homeassistant/binary_sensor/xxxxxx/ev_plug_state/state","unique_id":"xxxxxx-ev-plug-state","value_template":"{{ value_json.ev_plug_state }}"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/binary_sensor/xxxxxx/ev_plug_state/config"} info: Publishing message {"payload":{"availability_topic":"homeassistant/xxxxxx/available","device":{"identifiers":["xxxxxx"],"manufacturer":"Chevrolet","model":"2022","name":"2022 Chevrolet Bolt EV"},"device_class":"voltage","name":"Ev Plug Voltage","payload_available":"true","payload_not_available":"false","state_class":"measurement","state_topic":"homeassistant/sensor/xxxxxx/ev_plug_voltage/state","unique_id":"xxxxxx-ev-plug-voltage","unit_of_measurement":"V","value_template":"{{ value_json.ev_plug_voltage }}"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/ev_plug_voltage/config"} info: Publishing message {"payload":{"availability_topic":"homeassistant/xxxxxx/available","device":{"identifiers":["xxxxxx"],"manufacturer":"Chevrolet","model":"2022","name":"2022 Chevrolet Bolt EV"},"device_class":"temperature","name":"Hybrid Battery Minimum Temperature","payload_available":"true","payload_not_available":"false","state_class":"measurement","state_topic":"homeassistant/sensor/xxxxxx/hybrid_battery_minimum_temperature/state","unique_id":"xxxxxx-hybrid-battery-minimum-temperature","unit_of_measurement":"°C","value_template":"{{ value_json.hybrid_battery_minimum_temperature }}"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/hybrid_battery_minimum_temperature/config"} info: Publishing message {"payload":{"availability_topic":"homeassistant/xxxxxx/available","device":{"identifiers":["xxxxxx"],"manufacturer":"Chevrolet","model":"2022","name":"2022 Chevrolet Bolt EV"},"name":"Hybrid Battery Minimum Temperature F","payload_available":"true","payload_not_available":"false","state_class":"measurement","state_topic":"homeassistant/sensor/xxxxxx/hybrid_battery_minimum_temperature/state","unique_id":"xxxxxx-hybrid-battery-minimum-temperature-f","unit_of_measurement":"°F","value_template":"{{ value_json.hybrid_battery_minimum_temperature_f }}"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/hybrid_battery_minimum_temperature_f/config"} info: Publishing message {"payload":{"availability_topic":"homeassistant/xxxxxx/available","device":{"identifiers":["xxxxxx"],"manufacturer":"Chevrolet","model":"2022","name":"2022 Chevrolet Bolt EV"},"device_class":"voltage","name":"Interm Volt Batt Volt","payload_available":"true","payload_not_available":"false","state_class":"measurement","state_topic":"homeassistant/sensor/xxxxxx/interm_volt_batt_volt/state","unique_id":"xxxxxx-interm-volt-batt-volt","unit_of_measurement":"V","value_template":"{{ value_json.interm_volt_batt_volt }}"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/interm_volt_batt_volt/config"} info: Publishing message {"payload":{"availability_topic":"homeassistant/xxxxxx/available","device":{"identifiers":["xxxxxx"],"manufacturer":"Chevrolet","model":"2022","name":"2022 Chevrolet Bolt EV"},"device_class":"distance","name":"Last Trip Total Distance","payload_available":"true","payload_not_available":"false","state_class":"measurement","state_topic":"homeassistant/sensor/xxxxxx/last_trip_distance/state","unique_id":"xxxxxx-last-trip-total-distance","unit_of_measurement":"km","value_template":"{{ value_json.last_trip_total_distance }}"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/last_trip_total_distance/config"} info: Publishing message {"payload":{"availability_topic":"homeassistant/xxxxxx/available","device":{"identifiers":["xxxxxx"],"manufacturer":"Chevrolet","model":"2022","name":"2022 Chevrolet Bolt EV"},"device_class":"distance","name":"Last Trip Total Distance Mi","payload_available":"true","payload_not_available":"false","state_class":"measurement","state_topic":"homeassistant/sensor/xxxxxx/last_trip_distance/state","unique_id":"xxxxxx-last-trip-total-distance-mi","unit_of_measurement":"mi","value_template":"{{ value_json.last_trip_total_distance_mi }}"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/last_trip_total_distance_mi/config"} info: Publishing message {"payload":{"availability_topic":"homeassistant/xxxxxx/available","device":{"identifiers":["xxxxxx"],"manufacturer":"Chevrolet","model":"2022","name":"2022 Chevrolet Bolt EV"},"name":"Last Trip Electric Econ","payload_available":"true","payload_not_available":"false","state_class":"measurement","state_topic":"homeassistant/sensor/xxxxxx/last_trip_fuel_economy/state","unique_id":"xxxxxx-last-trip-electric-econ","unit_of_measurement":"km/L(e)","value_template":"{{ value_json.last_trip_electric_econ }}"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/last_trip_electric_econ/config"} info: Publishing message {"payload":{"availability_topic":"homeassistant/xxxxxx/available","device":{"identifiers":["xxxxxx"],"manufacturer":"Chevrolet","model":"2022","name":"2022 Chevrolet Bolt EV"},"name":"Last Trip Electric Econ Mpge","payload_available":"true","payload_not_available":"false","state_class":"measurement","state_topic":"homeassistant/sensor/xxxxxx/last_trip_fuel_economy/state","unique_id":"xxxxxx-last-trip-electric-econ-mpge","unit_of_measurement":"mpg(e)","value_template":"{{ value_json.last_trip_electric_econ_mpge }}"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/last_trip_electric_econ_mpge/config"} info: Publishing message {"payload":{"availability_topic":"homeassistant/xxxxxx/available","device":{"identifiers":["xxxxxx"],"manufacturer":"Chevrolet","model":"2022","name":"2022 Chevrolet Bolt EV"},"device_class":"energy","name":"Lifetime Energy Used","payload_available":"true","payload_not_available":"false","state_class":"measurement","state_topic":"homeassistant/sensor/xxxxxx/lifetime_energy_used/state","unique_id":"xxxxxx-lifetime-energy-used","unit_of_measurement":"kWh","value_template":"{{ value_json.lifetime_energy_used }}"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/lifetime_energy_used/config"} info: Publishing message {"payload":{"availability_topic":"homeassistant/xxxxxx/available","device":{"identifiers":["xxxxxx"],"manufacturer":"Chevrolet","model":"2022","name":"2022 Chevrolet Bolt EV"},"device_class":"pressure","json_attributes_template":"{{ {'recommendation': value_json.tire_pressure_placard_front, 'message': value_json.tire_pressure_lf_message} | tojson }}","json_attributes_topic":"homeassistant/sensor/xxxxxx/tire_pressure/state","name":"Tire Pressure: Left Front","payload_available":"true","payload_not_available":"false","state_class":"measurement","state_topic":"homeassistant/sensor/xxxxxx/tire_pressure/state","unique_id":"xxxxxx-tire-pressure-lf","unit_of_measurement":"kPa","value_template":"{{ value_json.tire_pressure_lf }}"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/tire_pressure_lf/config"} info: Publishing message {"payload":{"availability_topic":"homeassistant/xxxxxx/available","device":{"identifiers":["xxxxxx"],"manufacturer":"Chevrolet","model":"2022","name":"2022 Chevrolet Bolt EV"},"device_class":"pressure","json_attributes_template":"{{ {'recommendation': value_json.tire_pressure_placard_rear, 'message': value_json.tire_pressure_lr_message} | tojson }}","json_attributes_topic":"homeassistant/sensor/xxxxxx/tire_pressure/state","name":"Tire Pressure: Left Rear","payload_available":"true","payload_not_available":"false","state_class":"measurement","state_topic":"homeassistant/sensor/xxxxxx/tire_pressure/state","unique_id":"xxxxxx-tire-pressure-lr","unit_of_measurement":"kPa","value_template":"{{ value_json.tire_pressure_lr }}"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/tire_pressure_lr/config"} info: Publishing message {"payload":{"availability_topic":"homeassistant/xxxxxx/available","device":{"identifiers":["xxxxxx"],"manufacturer":"Chevrolet","model":"2022","name":"2022 Chevrolet Bolt EV"},"name":"Tire Pressure Placard Front","payload_available":"true","payload_not_available":"false","state_class":"measurement","state_topic":"homeassistant/sensor/xxxxxx/tire_pressure/state","unique_id":"xxxxxx-tire-pressure-placard-front","unit_of_measurement":"kPa","value_template":"{{ value_json.tire_pressure_placard_front }}"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/tire_pressure_placard_front/config"} info: Publishing message {"payload":{"availability_topic":"homeassistant/xxxxxx/available","device":{"identifiers":["xxxxxx"],"manufacturer":"Chevrolet","model":"2022","name":"2022 Chevrolet Bolt EV"},"name":"Tire Pressure Placard Rear","payload_available":"true","payload_not_available":"false","state_class":"measurement","state_topic":"homeassistant/sensor/xxxxxx/tire_pressure/state","unique_id":"xxxxxx-tire-pressure-placard-rear","unit_of_measurement":"kPa","value_template":"{{ value_json.tire_pressure_placard_rear }}"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/tire_pressure_placard_rear/config"} info: Publishing message {"payload":{"availability_topic":"homeassistant/xxxxxx/available","device":{"identifiers":["xxxxxx"],"manufacturer":"Chevrolet","model":"2022","name":"2022 Chevrolet Bolt EV"},"device_class":"pressure","json_attributes_template":"{{ {'recommendation': value_json.tire_pressure_placard_front, 'message': value_json.tire_pressure_rf_message} | tojson }}","json_attributes_topic":"homeassistant/sensor/xxxxxx/tire_pressure/state","name":"Tire Pressure: Right Front","payload_available":"true","payload_not_available":"false","state_class":"measurement","state_topic":"homeassistant/sensor/xxxxxx/tire_pressure/state","unique_id":"xxxxxx-tire-pressure-rf","unit_of_measurement":"kPa","value_template":"{{ value_json.tire_pressure_rf }}"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/tire_pressure_rf/config"} info: Publishing message {"payload":{"availability_topic":"homeassistant/xxxxxx/available","device":{"identifiers":["xxxxxx"],"manufacturer":"Chevrolet","model":"2022","name":"2022 Chevrolet Bolt EV"},"device_class":"pressure","json_attributes_template":"{{ {'recommendation': value_json.tire_pressure_placard_rear, 'message': value_json.tire_pressure_rr_message} | tojson }}","json_attributes_topic":"homeassistant/sensor/xxxxxx/tire_pressure/state","name":"Tire Pressure: Right Rear","payload_available":"true","payload_not_available":"false","state_class":"measurement","state_topic":"homeassistant/sensor/xxxxxx/tire_pressure/state","unique_id":"xxxxxx-tire-pressure-rr","unit_of_measurement":"kPa","value_template":"{{ value_json.tire_pressure_rr }}"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/tire_pressure_rr/config"} info: Publishing message {"payload":{"availability_topic":"homeassistant/xxxxxx/available","device":{"identifiers":["xxxxxx"],"manufacturer":"Chevrolet","model":"2022","name":"2022 Chevrolet Bolt EV"},"device_class":"pressure","json_attributes_template":"{{ {'recommendation': value_json.tire_pressure_placard_front_psi, 'message': value_json.tire_pressure_lf_psi_message} | tojson }}","json_attributes_topic":"homeassistant/sensor/xxxxxx/tire_pressure/state","name":"Tire Pressure: Left Front PSI","payload_available":"true","payload_not_available":"false","state_class":"measurement","state_topic":"homeassistant/sensor/xxxxxx/tire_pressure/state","unique_id":"xxxxxx-tire-pressure-lf-psi","unit_of_measurement":"psi","value_template":"{{ value_json.tire_pressure_lf_psi }}"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/tire_pressure_lf_psi/config"} info: Publishing message {"payload":{"availability_topic":"homeassistant/xxxxxx/available","device":{"identifiers":["xxxxxx"],"manufacturer":"Chevrolet","model":"2022","name":"2022 Chevrolet Bolt EV"},"device_class":"pressure","json_attributes_template":"{{ {'recommendation': value_json.tire_pressure_placard_rear_psi, 'message': value_json.tire_pressure_lr_psi_message} | tojson }}","json_attributes_topic":"homeassistant/sensor/xxxxxx/tire_pressure/state","name":"Tire Pressure: Left Rear PSI","payload_available":"true","payload_not_available":"false","state_class":"measurement","state_topic":"homeassistant/sensor/xxxxxx/tire_pressure/state","unique_id":"xxxxxx-tire-pressure-lr-psi","unit_of_measurement":"psi","value_template":"{{ value_json.tire_pressure_lr_psi }}"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/tire_pressure_lr_psi/config"} info: Publishing message {"payload":{"availability_topic":"homeassistant/xxxxxx/available","device":{"identifiers":["xxxxxx"],"manufacturer":"Chevrolet","model":"2022","name":"2022 Chevrolet Bolt EV"},"name":"Tire Pressure Placard Front Psi","payload_available":"true","payload_not_available":"false","state_class":"measurement","state_topic":"homeassistant/sensor/xxxxxx/tire_pressure/state","unique_id":"xxxxxx-tire-pressure-placard-front-psi","unit_of_measurement":"psi","value_template":"{{ value_json.tire_pressure_placard_front_psi }}"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/tire_pressure_placard_front_psi/config"} info: Publishing message {"payload":{"availability_topic":"homeassistant/xxxxxx/available","device":{"identifiers":["xxxxxx"],"manufacturer":"Chevrolet","model":"2022","name":"2022 Chevrolet Bolt EV"},"name":"Tire Pressure Placard Rear Psi","payload_available":"true","payload_not_available":"false","state_class":"measurement","state_topic":"homeassistant/sensor/xxxxxx/tire_pressure/state","unique_id":"xxxxxx-tire-pressure-placard-rear-psi","unit_of_measurement":"psi","value_template":"{{ value_json.tire_pressure_placard_rear_psi }}"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/tire_pressure_placard_rear_psi/config"} info: Publishing message {"payload":{"availability_topic":"homeassistant/xxxxxx/available","device":{"identifiers":["xxxxxx"],"manufacturer":"Chevrolet","model":"2022","name":"2022 Chevrolet Bolt EV"},"device_class":"pressure","json_attributes_template":"{{ {'recommendation': value_json.tire_pressure_placard_front_psi, 'message': value_json.tire_pressure_rf_psi_message} | tojson }}","json_attributes_topic":"homeassistant/sensor/xxxxxx/tire_pressure/state","name":"Tire Pressure: Right Front PSI","payload_available":"true","payload_not_available":"false","state_class":"measurement","state_topic":"homeassistant/sensor/xxxxxx/tire_pressure/state","unique_id":"xxxxxx-tire-pressure-rf-psi","unit_of_measurement":"psi","value_template":"{{ value_json.tire_pressure_rf_psi }}"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/tire_pressure_rf_psi/config"} info: Publishing message {"payload":{"availability_topic":"homeassistant/xxxxxx/available","device":{"identifiers":["xxxxxx"],"manufacturer":"Chevrolet","model":"2022","name":"2022 Chevrolet Bolt EV"},"device_class":"pressure","json_attributes_template":"{{ {'recommendation': value_json.tire_pressure_placard_rear_psi, 'message': value_json.tire_pressure_rr_psi_message} | tojson }}","json_attributes_topic":"homeassistant/sensor/xxxxxx/tire_pressure/state","name":"Tire Pressure: Right Rear PSI","payload_available":"true","payload_not_available":"false","state_class":"measurement","state_topic":"homeassistant/sensor/xxxxxx/tire_pressure/state","unique_id":"xxxxxx-tire-pressure-rr-psi","unit_of_measurement":"psi","value_template":"{{ value_json.tire_pressure_rr_psi }}"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/tire_pressure_rr_psi/config"} info: Publishing message {"payload":{"availability_topic":"homeassistant/xxxxxx/available","device":{"identifiers":["xxxxxx"],"manufacturer":"Chevrolet","model":"2022","name":"2022 Chevrolet Bolt EV"},"device_class":"distance","name":"Ev Range","payload_available":"true","payload_not_available":"false","state_class":"measurement","state_topic":"homeassistant/sensor/xxxxxx/vehicle_range/state","unique_id":"xxxxxx-ev-range","unit_of_measurement":"km","value_template":"{{ value_json.ev_range }}"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/ev_range/config"} info: Publishing message {"payload":{"availability_topic":"homeassistant/xxxxxx/available","device":{"identifiers":["xxxxxx"],"manufacturer":"Chevrolet","model":"2022","name":"2022 Chevrolet Bolt EV"},"device_class":"distance","name":"Ev Range Mi","payload_available":"true","payload_not_available":"false","state_class":"measurement","state_topic":"homeassistant/sensor/xxxxxx/vehicle_range/state","unique_id":"xxxxxx-ev-range-mi","unit_of_measurement":"mi","value_template":"{{ value_json.ev_range_mi }}"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/ev_range_mi/config"} info: Publishing message {"state":{"ambient_air_temperature":7,"ambient_air_temperature_f":45,"ambient_air_temperature_f_message":"na","ambient_air_temperature_message":"na"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/ambient_air_temperature/state"} info: Publishing message {"state":{"charger_power_level":"REDUCTION_CHARGE_LEVEL_1","charger_power_level_message":"na"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/charger_power_level/state"} info: Publishing message {"state":{"electric_economy":22.75,"electric_economy_message":"na","lifetime_efficiency":22.75,"lifetime_efficiency_message":"na","lifetime_mpge":39.12,"lifetime_mpge_message":"na","lifetime_mpge_mpge":92,"lifetime_mpge_mpge_message":"na","odometer":999999,"odometer_message":"na","odometer_mi":10650.9,"odometer_mi_message":"na"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/energy_efficiency/state"} info: Publishing message {"state":{"ev_battery_level":72.5,"ev_battery_level_message":"na"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/ev_battery_level/state"} info: Publishing message {"state":{"ev_charge_state":false,"ev_charge_state_message":"Default","priority_charge_indicator":false,"priority_charge_indicator_message":"na","priority_charge_status":false,"priority_charge_status_message":"na"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/binary_sensor/xxxxxx/ev_charge_state/state"} info: Publishing message {"state":{"ev_plug_state":false,"ev_plug_state_message":"unplugged"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/binary_sensor/xxxxxx/ev_plug_state/state"} info: Publishing message {"state":{"ev_plug_voltage":0,"ev_plug_voltage_message":"0"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/ev_plug_voltage/state"} info: Publishing message {"state":{"hybrid_battery_minimum_temperature":5,"hybrid_battery_minimum_temperature_f":41,"hybrid_battery_minimum_temperature_f_message":"na","hybrid_battery_minimum_temperature_message":"na"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/hybrid_battery_minimum_temperature/state"} info: Publishing message {"state":{"interm_volt_batt_volt":12.73629552,"interm_volt_batt_volt_message":"na"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/interm_volt_batt_volt/state"} info: Publishing message {"state":{"last_trip_total_distance":6.328125,"last_trip_total_distance_message":"na","last_trip_total_distance_mi":3.9,"last_trip_total_distance_mi_message":"na"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/last_trip_distance/state"} info: Publishing message {"state":{"last_trip_electric_econ":40.23,"last_trip_electric_econ_message":"na","last_trip_electric_econ_mpge":94.6,"last_trip_electric_econ_mpge_message":"na"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/last_trip_fuel_economy/state"} info: Publishing message {"state":{"lifetime_energy_used":3900.1,"lifetime_energy_used_message":"na"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/lifetime_energy_used/state"} info: Publishing message {"state":{"odometer":99999999,"odometer_message":"na","odometer_mi":10650.9,"odometer_mi_message":"na"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/odometer/state"} info: Publishing message {"state":{"tire_pressure_lf":288,"tire_pressure_lf_message":"GREEN","tire_pressure_lf_psi":41.8,"tire_pressure_lf_psi_message":"GREEN","tire_pressure_lr":272,"tire_pressure_lr_message":"GREEN","tire_pressure_lr_psi":39.5,"tire_pressure_lr_psi_message":"GREEN","tire_pressure_placard_front":262,"tire_pressure_placard_front_message":"na","tire_pressure_placard_front_psi":38,"tire_pressure_placard_front_psi_message":"na","tire_pressure_placard_rear":262,"tire_pressure_placard_rear_message":"na","tire_pressure_placard_rear_psi":38,"tire_pressure_placard_rear_psi_message":"na","tire_pressure_rf":288,"tire_pressure_rf_message":"GREEN","tire_pressure_rf_psi":41.8,"tire_pressure_rf_psi_message":"GREEN","tire_pressure_rr":304,"tire_pressure_rr_message":"GREEN","tire_pressure_rr_psi":44.1,"tire_pressure_rr_psi_message":"GREEN"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/tire_pressure/state"} info: Publishing message {"state":{"ev_range":241,"ev_range_message":"na","ev_range_mi":149.8,"ev_range_mi_message":"na"},"timestamp":"2024-03-04 22:07:11","topic":"homeassistant/sensor/xxxxxx/vehicle_range/state"} error: Main function error. {"error":{},"timestamp":"2024-03-04 22:07:11"}

(also noticed the timestamp is 5hours in the future.)

BigThunderSR commented 8 months ago

At which version did you start encountering issues and what is the last version that worked without issues?

stamanf commented 8 months ago

Unfortunately I didn't keep track of the versions.
However I think I found my issue, the new "--env MQTT_ONSTAR_POLLING_STATUS_TOPIC=" was missing in my run statement. My bad. Works as it should now!

Thanks for your reply.