Awesome! Any chance seconds could be added? For my current use case, I am polling/refreshing every 10 sec for a couple of minutes…. Want to catch the driver while still in the garage if possible…
Thanks! If you do, I’ll give it a try and see if it will provide the notification in time. I’ll test it for a few days afterwards to see if it allows the notification to be given quickly enough.
I’ve been wondering how the app is so quick to update - do they somehow have access to push notifications, or do they poll very often?
v 3.52 add temp refresh times of 30-Seconds, 20-Seconds, 10-Seconds (must be exactly input like this)
this will add a wake call and then temporarily add an extra refresh every xx seconds for 3 minutes then shut off.
Does not change normally schedule refresh (that is left in place). This is just extra calls.
*/
tested this with 20 and 30 secs.. if car is not awake doesnt really do anything so added a wake up call first.. In test below with longest time (30 secs) car does appear to stay awake.
It won’t run if the car is flagged as arrived before the person or door. I will be looking to see if that occurs often or at all… but didn’t want it to be triggered every time we closed the door or we arrived, and thought that might do it. The experiment begins! I used the vehicle once since and it worked! Though the rule gets triggered by both the door and the arrival, so I will need to add another restriction (boolean variable).
I would assume that the car is awake since it is being driven, but maybe the connection to the server needs to be awaken?
No it should be awake but i added an awake anyway when u set the reduced time as it cannot hurt and if you do it while vehicle is asleep it does nothing except consume resources on.the hub.
If you have the ability to run Teslamate locally, it's probably easier to pull current status from that (and the community Hubitat app that works with it) than to mess with variable polling rates.
Alternatively, if @kahn-hubitat has the time and desire to rework this app so it uses the streaming API, it would work a lot better for automations that need real-time updates.
Is there a way to use the zzziFrame attribue in a SharpTools dashboard to embed as an iFrame for display in a tile? Also... WebCoRE dosen't seem to see this attribute.
you will have to ask them.. it is declared and does show as an attribute in a normal dashboard... see below... As for webcore same issue ask them , maybe it doesnt support an attribute type of text. as i said it is visible in rule machine and regular dashboard. Does webcore support any custom attributes? Maybe there is a special way to do it.. Again, I don;t use it so you will have to post in that thread asking them.
you have harped on this before.. if you want to rewrite it be my guest but i will not.. It would be a great deal of work.
And..
it will not provide much benfit.. there really is very few times you need it to refresh every second (only to sense arrival etc), not even that case really needs to be every second, and with the number of attributes that would be pulled in, it would put quite a draw on the hub if it did, whether it is a push or pull does not matter.
Thanks Josh. I'll take a look and see if the attribute shows up in SharpTools. In the end if it doesn't work it's not really important, it's just nice to have on the dashboard from a fun point of view.
Sorry, I didn't mean to "harp" on it. I just saw you making changes to this app to accommodate use cases that do require near real-time updates and was trying to point people to a resource that might address those uses more easily.
I'm very appreciative of the effort you've put into creating and maintaining this app. The Teslamate developer has said he has no intention to ever add capabilities to control the car to his app, so your app provides a vital piece of my Tesla automation puzzle (along with Teslamate and the community Hubitat-Powerwall app).
wonder why teslamate wont add control fxs.. teslafi has them i believe.. i still have an acct. there..
i do have some integrations that use websockets such as kasa and automower and i see them very high on the hub resource page.. and if it was easy to rewrite everything i may have tken a look.