[APP][Pro] Tesla Car & Energy - Zero emissions. Zero compromises

Well, perhaps I am getting it wrong. Currently I activate the A/C and set it to 21C. However, that doesn’t automatically also start the rear window heating. For that I have to push the “button” on the screen to start the rear window heating. It is included in “Defrost” which I can start from the app, but that means the temperature is set to 28C or 30C or whatever the maximum is.

Perhaps the work around is to activate “Defrost” and after that lower the temperature to 21C.

Yes, you are right. I mixed up defrost and preconditioning.

The API should cover all commands thet are available in Tesla app (so no window/mirror options :man_shrugging:).

Ah, that is a good rule of thumb. So if I see something new pop up in the app, I can ask you if it can be implemented in the Homey app as well?

I think it is not the first time that you’ve pointed this out. It does ring a bell…

Sure. Or just check the API docs :grin:

But there are some really complex commands (all about schedule) that are nor easy to add to Homey without a complex GUI.

Hi!

Can you tell and maybe help me why I don’t get the battery percent and things like that on my widget? I only get the buttons.

Br

You could simplify it by not exposing all properties. Just offer one schedule (fixed id) with an add, an update (=add but the schedule already exists so gets updated instead of created) and a remove. Lat/lon could be Homey coords and days_of_week could default to all. Then all you have in the cards is:

  • start_time (not optional, time)
  • end_time (not optional, time)
  • one_time (boolean), default true
  • enabled (boolean), default true

Card: Set charge window (enabled=true) with fields:

  • start_time
  • end_time
  • one_time

Optional card: Charge until (start_enabled=false, end_enabled=true, enabled=true) with fields:

  • end_time
  • one_time

Optional card: Charge from (start_enabled=true, end_enabled=false, enabled=true) with fields:

  • start_time
  • one_time

Card: Remove charge schedule (no fields)

And the same for preconditioning.

The current cards are either/or: if you use one, all the others get disabled. This messes up any existing schedule you had in the app. Quite inconvenient. Also, you can never have a charge plan with a start and a stop time. This doesn’t work for smart charging, where you want the car to charge during a specific window. There’s also no way to remove the schedule you created, which will quickly make a mess in the Tesla app because they keep accumulating, each time you use a different time… So the new cards are badly needed!

Hi, can you please refresh the widget (refresh button or reopen the dashboard). Then directly send a diagnostics report from app settings page. I think there is a data conversion error. Thanks.

c8b51f68-4b35-431f-bae5-11ee3abd3666

I think I’ve done the right thing now haha :slight_smile:

I don’t see an error. Did you select your car in widget settings?

Yes i did, strange..

Is the “online” time right? Do the buttons work?

Perhaps there is a capability with an invalid (unexcepted) value that’s causing an error in the HTML view. Can you please check the device data (especially battery device) if there is somewhere a null value (shown as - sign). Otherwise it’s hard to debug it because ir’s just a html frame in the Homey dashboard.

Yes, I have an old NewMotion charger (before Shell Recharge). I want to wait to replace it until there are chargers available with support for bidirectional charging and right now certification and rules aren’t clear. So it’ll have to serve me a few more years. Then I can replace the charger and switch to a better CPO. Until then I’m stuck with 50five.

If this has been answered before, I’m sorry, but I can’t seem to find anything about it..
My qestion is:
Is there any if cards, that can check if the doors on the car is closed (not locked, but closed)
I’d like to make a flow that goes like this:
WHEN “My button is pressed”
IF “Car doors are closed” <------ this is the one I’m wondering about
Then “Lock doors”

Edit: Nevermind. The whole idea waas to have a button that could also unlock the doors, and after 5min it’d check if the doors where closed and then relocking them.
But I see now that there aren’t any unlocking “THEN” cards so I guess its not possible then :slight_smile:

There is no condition for closed door I think, only for locked state (true/false). Only trunk/frunk has a capability that holds the state. I will check this tomorrow.

For doors lock/unlock commabd, use the “(…) doors” card from car device and select “lock” or “unlock” inside the card.

Perhaps you can use “user present” trigger cards. That triggers if a driver is present or leaving the car. I’m not really sure, but I think it’s based on car key presence.

Thank you for the reply
I have Homey in Norwegian so there must be something wrong with the translation on the door card.

This says
“Lock” (Lås)
“Open” (Åpne)
So I thought it was to open the door, not unlock (Lås opp) it ^^

Thanks, I will fix the translation.

FYI: open the door is also possible, but only via Bluetooth connection.

New test version 4.5.0:

  • Added dynamic Homey/domain registration.
    If the domain registration is not possible (e.g. 2nd hand Homey with already registeres domain), then a client id specific domain is used.

@Tariq FYI and test. The domain registration should work now :crossed_fingers:

Another test version 4.5.1:

  • Fixed translation (door lock state)
  • Added door open/closed state. Use device tags in logic cards to check the door state.

@Tommy88 FYI

Hi @Jesper2
I think I didn’t reply to your post. Can you take a look at this post? Thanks.

Hello!

I’m having issues activating telemetry. It gives me the error “Verify the veichles authentication: CONNAC returnCode=4”.

I tried to repair the device and re-authenticing to Fleet API, but without result…

Checking the logs, it doesn’t seem to have worked since 14th of July.

Do you have any suggestion on how to fix it?

Diagnostic ID: 099dc2aa-a6e0-418e-8ffd-87c212025e4a