Tesla Control plugin

Enterprise software by day, home automation by night
howartp
Posts: 4559
Joined: Thu Jan 09, 2014 4:43 pm
Location: West Yorkshire, UK

Re: Tesla Control plugin

Post by howartp »

Hi everyone.

In Gregg's absence, I've taken over this plugin.

Jay is making me a plugin forum under my plugins, and I'll add it to plugin store in due course but for now it's available at:

https://github.com/howartp84/TeslaControlBETA/releases
  • Added all available data states
  • Fixed the temperature and valet mode commands
  • Added distanceFromHome / distanceFromWork states so you can trigger on arriving home/work etc
  • Proper triggers/events will follow later, but you can use "device state changed" triggers for now
.

If anyone finds anything else they want fixing, let me know.

I'll

Peter
User avatar
Colorado4Wheeler
Posts: 2794
Joined: Mon Jul 20, 2009 10:48 am
Location: Colorado

Re: Tesla Control plugin

Post by Colorado4Wheeler »

While you are at it can you retrofit this to work with Mercedes? :D.
My Modest Contributions to Indigo:

HomeKit Bridge | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser | Homebridge Buddy

Check Them Out Here
howartp
Posts: 4559
Joined: Thu Jan 09, 2014 4:43 pm
Location: West Yorkshire, UK

Re: Tesla Control plugin

Post by howartp »

Hehe!

I’m intending retrofitting it to Nissan Leaf, in the form of an alternative plugin using the same format; I currently use Dusty’s but I’ve never liked how it’s written. (Personal preference)

Then I’ll look at the Volvo scripts I’ve already written for mortenkols, see if that suits the same plugin.

Does Mercedes have an API or are you being facetious?

Petrr


Sent from my iPhone using Tapatalk Pro
User avatar
Colorado4Wheeler
Posts: 2794
Joined: Mon Jul 20, 2009 10:48 am
Location: Colorado

Re: Tesla Control plugin

Post by Colorado4Wheeler »

Facetious, Mercedes doesn't have an API. I can do some things with all of mine via an app but no API - believe me, I looked.
My Modest Contributions to Indigo:

HomeKit Bridge | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser | Homebridge Buddy

Check Them Out Here
petematheson
Posts: 847
Joined: Sun Sep 14, 2014 9:51 am
Location: Southampton, UK

Re: Tesla Control plugin

Post by petematheson »

howartp wrote:Hi everyone.

In Gregg's absence, I've taken over this plugin.

Jay is making me a plugin forum under my plugins, and I'll add it to plugin store in due course but for now it's available at:

https://github.com/howartp84/TeslaControlBETA/releases
  • Added all available data states
  • Fixed the temperature and valet mode commands
  • Added distanceFromHome / distanceFromWork states so you can trigger on arriving home/work etc
  • Proper triggers/events will follow later, but you can use "device state changed" triggers for now
.

If anyone finds anything else they want fixing, let me know.

I'll

Peter
Amazing, thanks very much Peter!
Confirm this all seems to be working great so far, except for the Tesla app outage that's been happening for the last 5 hours or so :evil:
Tracking the distance from Home / Work adds loads of possibilities!
User avatar
durosity
Posts: 4392
Joined: Thu May 10, 2012 3:21 pm
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: Tesla Control plugin

Post by durosity »

howartp wrote:Then I’ll look at the Volvo scripts I’ve already written for mortenkols, see if that suits the same plugin.
Great documentation on the Renault Z.E. service here: :wink:

https://shkspr.mobi/blog/2016/10/revers ... t-zoe-api/

I’ve got a very basic script to activate the pre-conditioning remotely.. but a plugin that gives full battery state, etc would be epic!
Computer says no.
howartp
Posts: 4559
Joined: Thu Jan 09, 2014 4:43 pm
Location: West Yorkshire, UK

Re: Tesla Control plugin

Post by howartp »

durosity wrote:
howartp wrote:Then I’ll look at the Volvo scripts I’ve already written for mortenkols, see if that suits the same plugin.
Great documentation on the Renault Z.E. service here: :wink:

https://shkspr.mobi/blog/2016/10/revers ... t-zoe-api/

I’ve got a very basic script to activate the pre-conditioning remotely.. but a plugin that gives full battery state, etc would be epic!
Easy peasy.

It won't be till after next weekend, but certainly doable.

Peter
howartp
Posts: 4559
Joined: Thu Jan 09, 2014 4:43 pm
Location: West Yorkshire, UK

Re: Tesla Control plugin

Post by howartp »

User avatar
durosity
Posts: 4392
Joined: Thu May 10, 2012 3:21 pm
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: Tesla Control plugin

Post by durosity »

howartp wrote: Easy peasy.

It won't be till after next weekend, but certainly doable.

Peter
Awesome! I was only kidding too.. but I’m certainly not gonna complain! Next time I’m in your neck of the woods I must buy you a beer or something.


Sent from my iPhone using Tapatalk
Computer says no.
Post Reply

Return to “Greg Glockner's Plugins”