Gravity API - testmycode.cc

illopp00

Active Member

Verified Owner
Joined
Jun 22, 2024
Messages
1,566
Reaction score
1,311
Location
Naperville, IL
Cars
14 CR-V EXL, 26GravityGT
Referral Code
W772ZCOT
Just out of curiosity I have been using this with my Air and it seems to work with the Gravity too. Is there anything that would be a restriction or change in the function noted to not use this with the Gravity?
 
Just out of curiosity I have been using this with my Air and it seems to work with the Gravity too. Is there anything that would be a restriction or change in the function noted to not use this with the Gravity?
Nope. Same API. Not everything is there yet (meaning not all the values returned are correct) but those will be fairly obvious if they exist.
 
I am the type of geek who likes to look at the battery temps before I do a road trip to see how dialed in it is....
 
Any way to understand the whole pre conditioning game? How much time does it need and where is it going? It’s a guessing game to get to ideal place.
 
Any way to understand the whole pre conditioning game? How much time does it need and where is it going? It’s a guessing game to get to ideal place.
You can track the battery temps while preconditioning and graph them, using Home Assistant. How long it needs depends on the battery and ambient temp, but plan on 45 minutes to be safe. The batteries like to get to about 100ish maybe a bit higher, before plugging in.

Next time I DCFC I can pull a graph
 
You can track the battery temps while preconditioning and graph them, using Home Assistant. How long it needs depends on the battery and ambient temp, but plan on 45 minutes to be safe. The batteries like to get to about 100ish maybe a bit higher, before plugging in.

Next time I DCFC I can pull a graph
Is there a step by step of how this goes from vehicle into my phone?
 
I also have had a general rule of thumb that I have seen about 3% of SOC burned to heat the battery. But you can see the temps, the request status, active pre-conditioning field and 'time remaining/timer' status (I haven't tracked this one closely but lots of experiments can be had...)
 
Is there a step by step of how this goes from vehicle into my phone?
Start by installing home assistant and the lucid integration via HACS. There’s a thread in this forum - I’m on my phone but you can search for it.
 
Start by installing home assistant and the lucid integration via HACS. There’s a thread in this forum - I’m on my phone but you can search for it.
Sounds like a hardware setup and not just an app. As someone who supports people for a living I feel like 5 or 6 steps have been skipped from the setup.

Was just wondering about the basic setup, the details I can search if it does not require home charging setup as I live in an apartment with no charging.
 
Sounds like a hardware setup and not just an app. As someone who supports people for a living I feel like 5 or 6 steps have been skipped from the setup.

Was just wondering about the basic setup, the details I can search if it does not require home charging setup as I live in an apartment with no charging.
As I said: https://lucidowners.com/threads/home-assistant-automations.7897/

You can buy a Home Assistant Green and plug it in so it’s self-contained, or if you have a home server of some kind you can run it there, or on a NAS or raspberry pi.

Home Assistant is software. What computer you run it on is up to you.

Once you have Home Assistant installed and running: https://github.com/borski/ha-lucidmotors?tab=readme-ov-file#hacs-installation-easiest
 
Is this a culprit for any crazy HVAC behavior? "powerState": "WINK",<br> "cabinState": {<br> "interiorTemp": 329.4000061005354,<br> "exteriorTemp": 1.800000622868538

It looks like exterior is deg C, but interior temp is a crazy number?
 
Is this a culprit for any crazy HVAC behavior? "powerState": "WINK",<br> "cabinState": {<br> "interiorTemp": 329.4000061005354,<br> "exteriorTemp": 1.800000622868538

It looks like exterior is deg C, but interior temp is a crazy number?
It's more impressive to me they can measure temperature to the 14th decimal position! :rolleyes:
 
It's more impressive to me they can measure temperature to the 14th decimal position! :rolleyes:
That’s actually an artifact of how Python stores floating numbers; that has nothing to do with Lucid.

The computer stores numbers in binary (base 2), while we typically use decimal (base 10). Many decimal fractions (like 0.1, 0.2, or 0.3) cannot be represented exactly as a finite binary fraction.

Math is hard sometimes.
 
Back
Top