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

Remote Start/Stop nor Window/trunk sensors Available #97

Open
naschenbrenner opened this issue Dec 3, 2024 · 13 comments
Open

Remote Start/Stop nor Window/trunk sensors Available #97

naschenbrenner opened this issue Dec 3, 2024 · 13 comments

Comments

@naschenbrenner
Copy link

I just set up HomeAssistant in a Docker Container and installed HACS and this plugin and my 2021 Toyota Tacoma is showing window and trunk sensors as unavailable and I only see an option to Lock or Unlock my truck from the Controls section, no option to Start or Stop the engine. I have an active RemoteConnect subscription that expires in February 2025, I've attached my diagnostics file below, let me know if you need any additional info or would like me to try anything, thanks for creating such an awesome plug-in!

config_entry-toyota_na-01JE6FSJV0E12ATDNDRCBB244B.json

@naschenbrenner naschenbrenner changed the title Remote Start/Stop nor Window/trunk sensors not Available Remote Start/Stop nor Window/trunk sensors Available Dec 3, 2024
@abnormalend
Copy link

I just set ha-toyota-na up on my HA install (2022 Tundra) and have similar issues. I do see trunk, but I do not have remote start/stop showing in HA, and I do not see windows in HA.

config_entry-toyota_na-01JEXM0Z835SSTCF1BYZRC44CP.json

@dvogelaar
Copy link

I also just set ha-toyota-na up on my HA OS install (2024 Tundra) I can see/do everything in HA as I can in the toyota app, except remotely starting and stopping. The only HA control I have is lock/unlock. but I can see if it is running/windows/doors etc via the sensors.

@Marty-McFly73
Copy link

Same as previous comment here. I can remote start in the Toyota app but only have door lock/unlock function in HA. No remote start control.

@AustinWisch
Copy link

AustinWisch commented Dec 29, 2024

I can remote start in the Toyota app but only have door lock/unlock function and hazards on/off action in HA. No remote start control, not sure if that is because on remote start I have to set the climate temperature and if I want the front or back windows to defrost.

@seang96
Copy link
Contributor

seang96 commented Jan 4, 2025

Engine start / stop are an action and not exposed as entities currently. you can manually run actions in developer tools or you cn run actions in automations.

@Marty-McFly73
Copy link

Engine start / stop are an action and not exposed as entities currently. you can manually run actions in developer tools or you cn run actions in automations.

This is amazing information. I had no idea. I do indeed see "toyota_na.engine_start" as an action in Developer Tools! Thank you very much

@seang96
Copy link
Contributor

seang96 commented Jan 4, 2025

Someone asked but I don't see their comment anymore. You can use this link to go to developer actions .

I have scripts you can use that use these with minor changes if you'd prefer. Add scripts here

Refresh status:

alias: Refresh Solterra
sequence:
  - variables:
      last_changed: "{{ states('sensor.last_update_timestamp_2023_solterra_touring') }}"
  - repeat:
      sequence:
        - action: toyota_na.refresh
          data:
            vehicle: xx
        - delay:
            hours: 0
            minutes: 0
            seconds: 20
            milliseconds: 0
        - action: system_log.write
          metadata: {}
          data:
            level: info
            logger: Solterra_Scripts
            message: >-
              Refreshed {{
              states('sensor.last_update_timestamp_2023_solterra_touring') }}
      until:
        - condition: template
          value_template: >-
            {{ last_changed !=
            states('sensor.last_update_timestamp_2023_solterra_touring') }}
description: ""
mode: queued
max: 10

Remote Start: (it retries if it fails and locks doors since that improves success rate, it also notifies when it starts or fails 3 times, and if it starts and the car is plugged in, it starts my charger to not use battery)

alias: Remote Start Solterra
sequence:
  - repeat:
      count: 3
      sequence:
        - action: toyota_na.engine_start
          data:
            vehicle: xx
        - action: script.refresh_solterra
          metadata: {}
          data: {}
        - if:
            - condition: state
              entity_id: binary_sensor.remote_start_2023_solterra_touring
              state: "on"
          then:
            - data:
                message: Solterra remote started
              action: notify.ntfy
            - if:
                - condition: state
                  entity_id: switch.charger_charge_control
                  state: "off"
                - condition: state
                  entity_id: switch.charger_availability
                  state: "off"
                - condition: numeric_state
                  entity_id: sensor.ev_battery_level_2023_solterra_touring
                  above: 70
              then:
                - action: number.set_value
                  metadata: {}
                  data:
                    value: "15"
                  target:
                    entity_id: number.charger_maximum_current
                - action: homeassistant.turn_on
                  target:
                    entity_id: switch.charger_charge_control
                  data: {}
            - stop: Car is Running
          else:
            - action: toyota_na.door_lock
              data:
                vehicle: xx
            - condition: template
              value_template: "{{ repeat.last }}"
            - data:
                message: Solterra remote start failed.
              action: notify.ntfy
description: ""

Remote Stop: (never really used this one so its basically just the action)

alias: Remote Stop Solterra
sequence:
  - action: toyota_na.engine_stop
    data:
      vehicle: xx
  - delay:
      hours: 0
      minutes: 1
      seconds: 0
      milliseconds: 0
  - action: toyota_na.refresh
    data:
      vehicle: xx
description: ""

Remote Start / Stop:

alias: Remote Start / Stop Solterra
sequence:
  - if:
      - condition: state
        entity_id: binary_sensor.remote_start_2023_solterra_touring
        state: "on"
    then:
      - action: script.turn_on
        target:
          entity_id: script.remote_stop_solterra
        data: {}
      - action: script.remote_stop_solterra
        metadata: {}
        data: {}
    else:
      - action: script.remote_start_solterra
        metadata: {}
        data: {}
description: ""


@Marty-McFly73
Copy link

Marty-McFly73 commented Jan 5, 2025

Someone asked but I don't see their comment anymore. You can use this link to go to developer actions .

Wow, thank you for this! I am trying to get it working in Developer Tools under 'Actions'.....
action: toyota_na.engine_start
data: {vehicle: '2023 RAV4'}
No luck so far. Where can I confirm the device name of the vehicle?

@seang96
Copy link
Contributor

seang96 commented Jan 5, 2025

@Marty-McFly73, if you do UI mode it should allow you to select a dropdown. Its an ID not actually the name.

@Marty-McFly73
Copy link

@Marty-McFly73, if you do UI mode it should allow you to select a dropdown. Its an ID not actually the name.

Can't thank you enough for the super quick reply. Hopefully you can see this image. This is what I get in UI mode. No dropdown...
Screenshot 2025-01-05 173435

@Marty-McFly73
Copy link

@Marty-McFly73, if you do UI mode it should allow you to select a dropdown. Its an ID not actually the name.

I got it! Thank you sir!!

@seang96
Copy link
Contributor

seang96 commented Jan 5, 2025

@Marty-McFly73, good to hear. I never saw that error before so it'd be good to share what you did for others if they encounter it.

@Marty-McFly73
Copy link

@Marty-McFly73, good to hear. I never saw that error before so it'd be good to share what you did for others if they encounter it.

Umm. it's a little embarrassing LOL. My ethernet cable fell out. After that, UI mode worked perfectly to select the car from the drop down. Then switched over to YAML mode to see the actual ID. Thank you again so much for your help!

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

No branches or pull requests

6 participants