Feature requests 1 - Retrieve multiple states with one call

Posted on
Sun Mar 15, 2020 2:19 am
palantir offline
Posts: 73
Joined: Sep 24, 2014

Feature requests 1 - Retrieve multiple states with one call

Hi Howard,

I'm a very happy user of your plug-in and I have a few feature requests if I may... Here's the first one:

Retrieve multiple states with one call to the car
Would it be possible to make one call retrieving all multiple (e.g. charge) states in one go, for instance by making the device selection within the action a multiple-select dropdown?

Explanation:
Every 20 minutes, I pull "battery level", "battery range" and "minutes to full charge" from my Model3. All three are coming from the "charge state" call. I have set-up a 20 minute schedule with 3 similar actions "get charge state", which then set the values for the three devices I have created for this. The plugin is subsequently making the same call ("request charge state") three times to retrieve the three values I need.

Have I misconfigured things perhaps? If not, would it be possible to make one call retrieving all three charge states in one go, for instance by making the device selection within the action a multiple-select dropdown?

Right now, this is what I see in my logging. The logging is consistent with how I have configured things, yet this seems sub-optimal to me:

15 Mar 2020 at 08:49:04
Tesla EV Control Tesla request charge_state for vehicle 35097617598033342: Initialising
Tesla EV Control Tesla request charge_state for vehicle 35097617598033342: Data received
Tesla EV Control Tesla request charge_state for vehicle 35097617598033342: Completed
Tesla EV Control Tesla request charge_state for vehicle 35097617598033342: Initialising
Tesla EV Control Tesla request charge_state for vehicle 35097617598033342: Data received
Tesla EV Control Tesla request charge_state for vehicle 35097617598033342: Completed
Tesla EV Control Tesla request charge_state for vehicle 35097617598033342: Initialising
Tesla EV Control Tesla request charge_state for vehicle 35097617598033342: Data received
Tesla EV Control Tesla request charge_state for vehicle 35097617598033342: Completed

Many thanks,
Ronald

Posted on
Sun Mar 15, 2020 3:02 am
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Feature requests 1 - Retrieve multiple states with one c

Hi Ronald

Yes, it looks like you’re misunderstanding the plugin, possibly (as I don’t think I’ve seen you before) as you’re a new user and haven’t found one of Indigo’s features that are hidden in plain sight.

All the charge states are returned every time you call them and inserted into Tesla device in Indigo. If you scroll down on the devices window, under where you might click Turn On/Turn Off/Refresh etc, there’s a panel that shows all state info for any device (not just Tesla). New users often don’t find it.

Calling the state data three times will just return the same data three times.

Peter


Sent from my iPhone using Tapatalk Pro

Posted on
Thu Mar 19, 2020 1:45 pm
palantir offline
Posts: 73
Joined: Sep 24, 2014

Re: Feature requests 1 - Retrieve multiple states with one c

:oops: ... I've been using Indigo for years. That window under the devices was hidden, hah. Silly me.

Many thanks for the speedy response, Peter. All fine now; I have reduced my devices down to one only. That will then also take care of the other "feature requests", which are now no longer necessary!

Many thanks,
Ronald

Posted on
Thu Mar 19, 2020 3:23 pm
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Feature requests 1 - Retrieve multiple states with one c

We’ve all been there!

Glad to have helped.


Sent from my iPhone using Tapatalk Pro

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest