Skip to content

Instantly share code, notes, and snippets.

@cbpowell
Last active March 18, 2022 20:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cbpowell/cb9cf9c34f68530374eb2cfa777b597f to your computer and use it in GitHub Desktop.
Save cbpowell/cb9cf9c34f68530374eb2cfa777b597f to your computer and use it in GitHub Desktop.
sources:
- mutable:
plugs:
- TesSense:
alias: "Tesla Charger"
mac: 50:c7:bf:f6:4f:39 # matches value in TesSenseLink.py line 245
power: 0 # will be updated with live values
@cbpowell
Copy link
Author

Yeah sure thing! It's definitely helped me make some improvements to SenseLink.

As for it waking up the car, there is a way to query the Tesla API in such a way that it doesn't wake up the car, but I think it might have to be via the streaming API. Unfortunately it seems like the Teslapy docs on streaming are a little light/nonexistent. I gather that if you use the streaming API it doesn't wake the car up, but you can tell if it is awake you can then query it like normal. I have telsamate set up for myself, which I can verify doesn't wake the car up.

@israndy
Copy link

israndy commented Mar 18, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment