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

Nissan Ariya 2024 no data for autonomy sensor #81

Open
redice2k opened this issue Nov 29, 2024 · 1 comment
Open

Nissan Ariya 2024 no data for autonomy sensor #81

redice2k opened this issue Nov 29, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@redice2k
Copy link

What happened?
The sensors autonomy AC activated and AC deactivated reports no value

To Reproduce
I followed the instructions to install the HA integration, but some sensors do not report any values, for example:
autonomy AC activated
autonomy AC deactivated
latest update
Charging time (3kW)
Charging time (6kW)

Expected behavior
All sensors have a values

Home Assistant Version
2024.11

Integration Version
0.7.0

Additional context
The integration has been installed since August of this year, and the indicated sensors have never returned any value, he recently purchased a Nissan Leaf and added it to the Nissan Connect application and all the sensors report the values

@redice2k redice2k added the bug Something isn't working label Nov 29, 2024
@jcallaghan
Copy link

jcallaghan commented Jan 26, 2025

I'm not sure if this is useful here or in a new issue, but I also have a number of entities that report Unknown. I can move to a new issue if you prefer.

  • Nissan Ariya 2024 (63kWh)
  • Hardware: FE0-24
  • Integration version: 0.7.2 via HACS but 1.0.0 via the integration page.
  • HA (Container): 2025.1.4

Controls:

  • Climate
  • Flash Lights
  • Honk Horn
  • Start Charge
  • Update Data

Sensors

  • Battery Level
  • Charge Time (3kW) *
  • Charge Time (6kW) *
  • Charging
  • Daily Distance
  • Daily Efficiency
  • Daily Trips
  • Doors Locked
  • Doors Unlocked
  • Internal Temperature
  • Last Updated *
  • Monthly Distance
  • Monthly Efficiency
  • Monthly Trips
  • Odometer
  • Plugged In
  • Range (AC Off) *
  • Range (AC On) *
  • Range Estimate **
  • Device tracker

FYI: * report unknown, ** a template sensor I made to give me an approximate range (1%=2 miles).

I enabled debug logging for a period. Does this give you any useful data?

2025-01-26 20:58:31.193 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration nissan_connect which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2025-01-26 20:58:34.495 INFO (MainThread) [custom_components.nissan_connect] Logging in to service
2025-01-26 20:58:35.505 DEBUG (SyncWorker_10) [custom_components.nissan_connect.kamereon.kamereon] Unknown feature 308
2025-01-26 20:58:35.505 DEBUG (SyncWorker_10) [custom_components.nissan_connect.kamereon.kamereon] Unknown feature 420
2025-01-26 20:58:35.505 DEBUG (SyncWorker_10) [custom_components.nissan_connect.kamereon.kamereon] Active features: [<Feature.BREAKDOWN_ASSISTANCE_CALL: '1'>, <Feature.MY_CAR_FINDER: '12'>, <Feature.MIL_ON_NOTIFICATION: '15'>, <Feature.VEHICLE_HEALTH_REPORT: '18'>, <Feature.APP_DOOR_LOCKING: '27'>, <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.HORN_AND_LIGHTS: '97'>, <Feature.CURFEW_ALERT: '98'>, <Feature.MAINTENANCE_ALERT: '101'>, <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_EMAIL: '248'>, <Feature.VEHICLE_ACCESS_TO_MUSIC: '249'>, <Feature.VEHICLE_ACCESS_TO_CONTACTS: '262'>, <Feature.ZONE_ALERT: '281'>, <Feature.SPEEDING_ALERT: '282'>, <Feature.CHARGING_SPOT_INFO: '288'>, <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.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.VIRTUAL_PERSONAL_ASSISTANT: '734'>, <Feature.ALEXA_ONBOARD_ASSISTANT: '736'>, <Feature.SCHEDULED_ROUTE_CLIMATE_CONTROL: '747'>, <Feature.OWNER_MANUAL: '827'>, <Feature.LOCK_STATUS_CHECK: '2021'>, <Feature.TEMPERATURE: '2042'>, <Feature.VEHICLE_DATA: '2121'>, <Feature.VEHICLE_DATA_2: '2122'>]
2025-01-26 20:58:37.518 DEBUG (MainThread) [custom_components.nissan_connect] Initialising entities
2025-01-26 20:58:44.590 DEBUG (MainThread) [custom_components.nissan_connect.coordinator] Changing #389 update interval to 30 minutes
2025-01-26 20:58:44.590 DEBUG (MainThread) [custom_components.nissan_connect.coordinator] Changing coordinator update interval to 30 minutes
2025-01-26 20:58:44.590 DEBUG (MainThread) [custom_components.nissan_connect.coordinator] Finished fetching Update Coordinator data in 2.039 seconds (success: True)
2025-01-26 20:58:57.264 DEBUG (MainThread) [custom_components.nissan_connect.coordinator] Finished fetching Statistics Coordinator data in 12.673 seconds (success: True)
2025-01-26 20:58:57.265 DEBUG (MainThread) [custom_components.nissan_connect.coordinator] Polling #389 as 28965419 mins have elapsed (interval 30)
2025-01-26 20:58:57.633 DEBUG (MainThread) [custom_components.nissan_connect.coordinator] Finished fetching Poll Coordinator data in 0.369 seconds (success: True)
2025-01-26 20:58:59.276 DEBUG (MainThread) [custom_components.nissan_connect.coordinator] Finished fetching Update Coordinator data in 1.643 seconds (success: True)
2025-01-26 21:09:00.748 DEBUG (MainThread) [custom_components.nissan_connect.coordinator] Finished fetching Update Coordinator data in 1.521 seconds (success: True)
2025-01-26 21:19:00.258 DEBUG (SyncWorker_12) [custom_components.nissan_connect.kamereon.kamereon] Request failed on attempt 1 of 3: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
2025-01-26 21:19:02.808 DEBUG (MainThread) [custom_components.nissan_connect.coordinator] Finished fetching Update Coordinator data in 2.581 seconds (success: True)
2025-01-26 21:28:57.367 DEBUG (MainThread) [custom_components.nissan_connect.coordinator] Polling #389 as 30 mins have elapsed (interval 30)
2025-01-26 21:28:57.400 DEBUG (SyncWorker_3) [custom_components.nissan_connect.kamereon.kamereon] Request failed on attempt 1 of 3: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
2025-01-26 21:28:58.740 DEBUG (MainThread) [custom_components.nissan_connect.coordinator] Finished fetching Poll Coordinator data in 1.373 seconds (success: True)
2025-01-26 21:29:00.083 DEBUG (MainThread) [custom_components.nissan_connect.coordinator] Finished fetching Update Coordinator data in 1.344 seconds (success: True)
2025-01-26 21:39:01.326 DEBUG (MainThread) [custom_components.nissan_connect.coordinator] Finished fetching Update Coordinator data in 1.099 seconds (success: True)

Thanks for all you do in providing and maintaining this integration!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants