Repository navigation
Add parked climate keeper, charge port, and official records - #26
Merged
Merged
Conversation
Phase 8 adds signed climate keeper, charge port, seat cooling, bioweapon defense, and software update commands, plus non-waking charging history, invoices, and release notes. Health checks show driver-seat presence, skip the unlocked alert when that seat is occupied, and repeat energy-mode alerts at most once an hour.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Phase 8 adds parked controls, official Tesla charging records, software status, and presence-aware health alerts. Reads for check, report, charging history, invoices, and software status do not wake a sleeping car. Schedule and cancel of an update, and the other car changes, still require Park and speed 0.
Commands
agentdrive climate-keeper offclimate-keeper off(set_climate_keeper_mode)agentdrive climate-keeper keep|dog|campclimate-keeperagentdrive charge-port opencharge-port-open(charge_port_door_open)agentdrive charge-port closecharge-port-close(charge_port_door_close)agentdrive seat-cool <seat> <level>seat-cooler(remote_seat_cooler_request)agentdrive seat-climate <seat> on|offauto-seat-and-climate(remote_auto_seat_climate_request)agentdrive bioweapon offbioweapon-mode off(set_bioweapon_mode)agentdrive bioweapon onbioweapon-mode onagentdrive softwarerelease_notesagentdrive software schedule <delay>software-update-start(schedule_software_update)agentdrive software cancelsoftware-update-cancel(cancel_software_update)agentdrive charging-historyGET /api/1/dx/charging/historyagentdrive charging-invoice <id> --saveGET /api/1/dx/charging/invoice/{id}--saveUpstream
tesla-controlalready has charge port open/close, automatic seat climate, and software schedule/cancel. The installer patches inclimate-keeper,seat-cooler, andbioweapon-modethe same way it adds max defrost. Climate keeper passes manual override false. Bioweapon defense passes manual override true.Seat cooling is
front-leftorfront-rightatoff,low,medium, orhigh. Automatic seat climate isfront-left,front-right, orboth. A software delay is2h,10m,30s, a whole number of seconds, ornow.Official charging history shows the date, site name, energy, and cost as Tesla returns them. Home charging is not included. Site coordinates and the VIN are not stored.
vehicle_charging_cmdsis now part of the owner scope list.With several cars, pass
--car <nickname>. A confirmation then names that car. Climate keeper keep/dog/camp, bioweapon on, charge port open/close, and software schedule/cancel are sensitive: a family member's request waits for the owner, and a schedule cannot run them.Confirmation sentences
I confirm climate keeper keepI confirm climate keeper dogI confirm climate keeper campI confirm open charge portI confirm close charge portI confirm turn bioweapon defense onI confirm schedule software updateI confirm cancel software updateWith a nickname, add the car:
I confirm climate keeper dog on daily.climate-keeper off,bioweapon off,seat-cool, andseat-climatedo not need a confirmation.Example output
Charge port close while a cable is plugged in:
Seat cooling and bioweapon defense when the car cannot do it:
Official charging history (sample data):
Software status when the car is already online, and when it is asleep:
Check and report include the driver seat. The reading is only the driver seat. It is not a guarantee nobody is inside: there is no rear-seat, passenger, child, or pet detection.
If someone appears to be in the driver seat, the parked-and-unlocked alert is not sent, and energy-mode alerts are not sent. Energy-mode alerts are climate left on, climate keeper keep/dog/camp, and bioweapon defense mode. While the driver seat is empty they repeat at most once an hour until that mode turns off. Every other alert still stays quiet until it clears. Alert memory stays per car.