SylvainGa / Tesla-Link

ConnectIQ widget for Tesla vehicle control
10 stars 0 forks source link

Teslafi #7

Open josbmw opened 8 months ago

josbmw commented 8 months ago

Hi,

I use your app quite some time now and miss the control functions.

Can you also provide a connection with the teslafi.com API for controleling the car? I think there are more Teslafi users then Tessie users. I tried both and chose Teslafi. Is does not have an app, but there is much more info available.

Best

Jos

SylvainGa commented 3 months ago

Teslafi has its own API that lacks many features that this app uses. I added Teslemetry as an API, which is pretty cheap compared to Tessie. If all you need is an API and not the added features that Tessie brings, then that's a good option.

zibizz1 commented 3 months ago

I know that it may be complicated to support different APIs especialy if it has completlly diferent structure, I do not see the command that I would miss in the list in TeslaFi. I still want to use TeslaFi so Teslemetry is still be extra thing just for token, it is not expensive but I would like to avoid using it. If you decide to add it, just call me with a tip link

Resume Polling (Set idle timer to 0 and polling to true) | command=wake
-- | --
  | Wake Vehicle | command=wake_up
  | Start a sleep attempt | command=sleep&time=X can be added to specify the number of minutes for the sleep attempt duration.If not specified, the default TeslaFi Sleep Mode 'Time To Try Sleeping' time will be used.
  | Enable Logging | command=enableLogging
  | Disable Logging | command=disableLogging
  | Honk The Horn | command=honk
  | Flash The Lights | command=flash_lights
  | Start HVAC | command=auto_conditioning_start
  | Stop HVAC | command=auto_conditioning_stop
  | Set HVAC Temperature | command=set_temps&temp=XX(temp is entered in your default TeslaFi measurement Celcius and can include one decimal point)
  | Seat Heaters | command=seat_heater&heater=X&level=XHeater: 0-Driver, 1-Passenger, 2-Rear Left, 4-Rear Center, 5-Rear RightLevel: 0-3 (0 is off)Conditioning must be on before sending.
  | Steering Wheel Heater | command=steering_wheel_heater&statement=(true or false)Conditioning must be on before sending.
  | Conditioning Presets | command=preset&number=(Preset ID)&statement=true can be added to send an email confirmation of the result to your email1 address.Controls used in the climate preset must also be enabled such as Start HVAC, Seat Heaters, etc...
  | Start Charging | command=charge_start
  | Stop Charging | command=charge_stop
  | Set Charge Limit | command=set_charge_limit&charge_limit_soc=XX
  | Set Charging Amps | command=set_charging_amps&charging_amps=XX
  | Unlock Doors | command=door_unlock
  | Lock Doors | command=door_lock
  | Sentry Mode | command=set_sentry_mode&sentryMode=(true or false)
  | Max Defrost (When turned off conditioning remains on) | command=set_preconditioning_max&statement=(true or false)
  | Open Charge Port | command=charge_port_door_open
  | Close Charge Port | command=charge_port_door_close
SylvainGa commented 3 months ago

You still can't open/close the trunk, open frunk, vent/close the windows, control the media, set dog/camp mode, adjust departure time. They also follow a different format than all the others API. The only reason I was able to have the Tesla, Tessie and Teslemetry API all included is they all follow the Tesla Fleet API command structure. With the limited memory some watches have, I'm limited to what I can do. So unless Teslafi decides to follow what others have done regarding the API command structure, I will not be able to include them as an option unfortunately. I however left them a message asking if and when they plan on supporting the same proxy structure as Tessie and Teslemetry and I'm awaiting their response.

Le ven. 2 août 2024, à 10 h 56, zibizz1 @.***> a écrit :

I know that it may be complicated to support different APIs especialy if it has completlly diferent structure, I do not see the command that I would miss in the list in TeslaFi. I still want to use TeslaFi so Teslemetry is still be extra thing just for token, it is not expensive but I would like to avoid using it. If you decide to add it, just call me with a tip link

Resume Polling (Set idle timer to 0 and polling to true) command=wake
Wake Vehicle command=wake_up
Start a sleep attempt command=sleep&time=X can be added to specify the number of minutes for the sleep attempt duration.If not specified, the default TeslaFi Sleep Mode 'Time To Try Sleeping' time will be used.
Enable Logging command=enableLogging
Disable Logging command=disableLogging
Honk The Horn command=honk
Flash The Lights command=flash_lights
Start HVAC command=auto_conditioning_start
Stop HVAC command=auto_conditioning_stop
Set HVAC Temperature command=set_temps&temp=XX(temp is entered in your default TeslaFi measurement Celcius and can include one decimal point)
Seat Heaters command=seat_heater&heater=X&level=XHeater: 0-Driver, 1-Passenger, 2-Rear Left, 4-Rear Center, 5-Rear RightLevel: 0-3 (0 is off)Conditioning must be on before sending.
Steering Wheel Heater command=steering_wheel_heater&statement=(true or false)Conditioning must be on before sending.
Conditioning Presets command=preset&number=(Preset ID)&statement=true can be added to send an email confirmation of the result to your email1 address.Controls used in the climate preset must also be enabled such as Start HVAC, Seat Heaters, etc...
Start Charging command=charge_start
Stop Charging command=charge_stop
Set Charge Limit command=set_charge_limit&charge_limit_soc=XX
Set Charging Amps command=set_charging_amps&charging_amps=XX
Unlock Doors command=door_unlock
Lock Doors command=door_lock
Sentry Mode command=set_sentry_mode&sentryMode=(true or false)
Max Defrost (When turned off conditioning remains on) command=set_preconditioning_max&statement=(true or false)
Open Charge Port command=charge_port_door_open
Close Charge Port command=charge_port_door_close

— Reply to this email directly, view it on GitHub https://github.com/SylvainGa/Tesla-Link/issues/7#issuecomment-2265588156, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALYXESWNH5POIUQUGOJCJBLZPOMZNAVCNFSM6AAAAABL4TEGLSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRVGU4DQMJVGY . You are receiving this because you commented.Message ID: @.***>