Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EV Battery status #67

Open
Roobbbiiiinnnnn opened this issue Oct 27, 2024 · 5 comments
Open

EV Battery status #67

Roobbbiiiinnnnn opened this issue Oct 27, 2024 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@Roobbbiiiinnnnn
Copy link

I have a Nissan Townstar and doesn't get the sensor for the EV battery charge status. Is it possible to get that implemented?

/Robin

@Roobbbiiiinnnnn Roobbbiiiinnnnn added the enhancement New feature or request label Oct 27, 2024
@dan-r
Copy link
Owner

dan-r commented Oct 29, 2024

Which sensors do you see for the Townstar?

@Roobbbiiiinnnnn
Copy link
Author

Which sensors do you see for the Townstar?

Daily distance
Daily trips
Monthly distance
Monthly trips
Odometer

@dan-r
Copy link
Owner

dan-r commented Oct 29, 2024

Could you please enable debug logging for the integration then either reload it or restart home assistant. You should see something like this appear in the logs. This is the list of 'features' the car supports, and this determines which sensors appear. It would be helpful if you could share this line with me.

Thanks,
Dan

2024-10-29 11:57:44.676 DEBUG (SyncWorker_6) [custom_components.nissan_connect.kamereon] Active features: [<Feature.MY_CAR_FINDER: '12'>, <Feature.MIL_ON_NOTIFICATION: '15'>, <Feature.VEHICLE_HEALTH_REPORT: '18'>, <Feature.APP_DOOR_LOCKING: '27'>, <Feature.FLEET_ASSET_INFORMATION: '29'>, <Feature.PAY_AS_YOU_DRIVE: '34'>, <Feature.APP_BASED_NAVIGATION: '35'>, <Feature.DESTINATION_SEND_TO_CAR: '37'>, <Feature.GOOGLE_PLACES_SEARCH: '40'>, <Feature.PREMIUM_TRAFFIC: '43'>, <Feature.MOBILE_INFORMATION: '74'>, <Feature.PERSONAL_DATA_SYNC: '80'>, <Feature.THEFT_BURGLAR_NOTIFICATION_APP: '87'>, <Feature.HORN_AND_LIGHTS: '97'>, <Feature.CURFEW_ALERT: '98'>, <Feature.VEHICLE_SOFTWARE_UPDATES: '107'>, <Feature.VEHICLE_STATUS_CHECK: '202'>, <Feature.NAVIGATION_FACTORY_RESET: '208'>, <Feature.VEHICLE_WIFI: '213'>, <Feature.NAVIGATION_MAP_UPDATES: '217'>, <Feature.LAST_MILE_NAVIGATION: '227'>, <Feature.GOOGLE_STREET_VIEW: '229'>, <Feature.GOOGLE_SATELITE_VIEW: '230'>, <Feature.DYNAMIC_EV_ICE_RANGE: '232'>, <Feature.ECO_ROUTE_CALCULATION: '233'>, <Feature.DRIVING_JOURNEY_HISTORY: '235'>, <Feature.ONLINE_PARKING_INFO: '243'>, <Feature.ONLINE_RESTAURANT_INFO: '244'>, <Feature.ONLINE_SPEED_RESTRICTION_INFO: '245'>, <Feature.WEATHER_INFO: '246'>, <Feature.VEHICLE_ACCESS_TO_MUSIC: '249'>, <Feature.VEHICLE_ACCESS_TO_CONTACTS: '262'>, <Feature.ZONE_ALERT: '281'>, <Feature.SPEEDING_ALERT: '282'>, <Feature.CHARGING_START: '299'>, <Feature.CLIMATE_ON_OFF_NOTIFICATION: '311'>, <Feature.CHARGING_SPOT_SEARCH: '312'>, <Feature.PLUG_IN_REMINDER: '314'>, <Feature.CHARGING_STOP_NOTIFICATION: '317'>, <Feature.BATTERY_STATUS: '319'>, <Feature.BATTERY_HEATING_NOTIFICATION: '320'>, <Feature.VEHICLE_STATE_OF_CHARGE_PERCENT: '322'>, <Feature.DRIVING_ANALYSIS: '340'>, <Feature.CO2_GAS_SAVINGS: '341'>, <Feature.ELECTRICITY_FEE_CALCULATION: '342'>, <Feature.CHARGING_CONSUMPTION_HISTORY: '344'>, <Feature.BATTERY_MONITORING: '345'>, <Feature.BATTERY_DATA: '347'>, <Feature.CHARGING_SPOT_UPDATES: '354'>, <Feature.RECHARGEABLE_AREA: '358'>, <Feature.NO_CHARGING_SPOT_INFO: '359'>, <Feature.EV_RANGE: '360'>, <Feature.CLIMATE_ON_OFF: '366'>, <Feature.LOCK_STATUS_CHECK: '2021'>, <Feature.TEMPERATURE: '2042'>, <Feature.VEHICLE_DATA: '2121'>, <Feature.VEHICLE_DATA_2: '2122'>]

@Roobbbiiiinnnnn
Copy link
Author

2024-10-29 14:47:54.599 INFO (MainThread) [custom_components.nissan_connect] Logging in to service
2024-10-29 14:47:55.379 DEBUG (MainThread) [custom_components.nissan_connect] Finding vehicles
2024-10-29 14:47:56.522 DEBUG (SyncWorker_6) [custom_components.nissan_connect.kamereon] Unknown feature 308
2024-10-29 14:47:56.522 DEBUG (SyncWorker_6) [custom_components.nissan_connect.kamereon] Unknown feature 362
2024-10-29 14:47:56.522 DEBUG (SyncWorker_6) [custom_components.nissan_connect.kamereon] Active features: [<Feature.BREAKDOWN_ASSISTANCE_CALL: '1'>, <Feature.MY_CAR_FINDER: '12'>, <Feature.VEHICLE_SOFTWARE_UPDATES: '107'>, <Feature.VEHICLE_STATUS_CHECK: '202'>, <Feature.DRIVING_JOURNEY_HISTORY: '235'>, <Feature.CHARGING_START: '299'>, <Feature.CLIMATE_ON_OFF: '366'>]

Not too many features there. I have more in the app itself, like battery percentage! :)

@Y4nnickB
Copy link

Same here with a Townstar EV:

2024-10-31 13:34:25.189 INFO (MainThread) [custom_components.nissan_connect] Logging in to service
2024-10-31 13:34:27.681 DEBUG (MainThread) [custom_components.nissan_connect] Finding vehicles
2024-10-31 13:34:32.812 DEBUG (SyncWorker_5) [custom_components.nissan_connect.kamereon] Unknown feature 58
2024-10-31 13:34:32.812 DEBUG (SyncWorker_5) [custom_components.nissan_connect.kamereon] Unknown feature 278
2024-10-31 13:34:32.813 DEBUG (SyncWorker_5) [custom_components.nissan_connect.kamereon] Unknown feature 279
2024-10-31 13:34:32.814 DEBUG (SyncWorker_5) [custom_components.nissan_connect.kamereon] Unknown feature 280
2024-10-31 13:34:32.814 DEBUG (SyncWorker_5) [custom_components.nissan_connect.kamereon] Unknown feature 308
2024-10-31 13:34:32.815 DEBUG (SyncWorker_5) [custom_components.nissan_connect.kamereon] Unknown feature 362
2024-10-31 13:34:32.815 DEBUG (SyncWorker_5) [custom_components.nissan_connect.kamereon] Active features: [<Feature.BREAKDOWN_ASSISTANCE_CALL: '1'>, <Feature.MY_CAR_FINDER: '12'>, <Feature.DESTINATION_SEND_TO_CAR: '37'>, <Feature.VEHICLE_SOFTWARE_UPDATES: '107'>, <Feature.VEHICLE_STATUS_CHECK: '202'>, <Feature.LAST_MILE_NAVIGATION: '227'>, <Feature.DRIVING_JOURNEY_HISTORY: '235'>, <Feature.WEATHER_INFO: '246'>, <Feature.CHARGING_SPOT_INFO: '288'>, <Feature.CHARGING_START: '299'>, <Feature.CLIMATE_ON_OFF: '366'>]

Can we help with debugging?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants