Sense app controlling Tesla charging with excess solar

OK, it’s very preliminary, but it runs for 24 hours and I THINK I got all the bugs out today, but then the sun went down, so I’ll test more tomorrow.

In the mean time, you can check it out and any bugs that I find I’ll update the code at my GitHub archive:

Just download the code, edit it and change the usernames and the Sense password to your own and launch it at the command line with python3, I am sure there are some packages that will need to be installed on your system and I’ll update the ReadMe as I figure it all out.

I would love any feedback or issues you have trying to get it to work.