05-08-2020, 08:49 AM
Very cool.
Tesla Driver Driver
|
05-08-2020, 08:49 AM
Very cool.
06-14-2021, 03:17 AM
Extended the timeout to prevent driver reconnections.
//Just had to change the DoGET timeout a little longer.. from 4 seconds to 8 seconds. (8000 miliseconds)
_______________
Denon 3808ci, 2112ci ,Sonos, NoVo Grand Concerto, Z-Wave(Lights,Locks), Hue, SmartThings, iPads,Tivo,Hikvision,Elk-M1,TED5000,Somfy RTS blinds+ZRTSI, Amazon Echos+Dots, Polk XRT12, Honeywell Wi-Fi 9000, Caleo Wi-Fi Thermostats, Rainmachine
06-14-2021, 06:08 AM
Thanks for the effort.
06-16-2021, 05:43 AM
(This post was last modified: 06-16-2021, 05:45 AM by Dean Roddey.)
If the timeouts are that long, it might be worth thinking about using the async HTTP class so that the driver doesn't have to block for such long periods of time. It does make things a bit more complicated since you have to poll the async guy for the previous transaction to complete before starting another. And, if it supports outgoing writes, the write callback will have to block and wait before the outgoing can send. But it's not too difficult.
But that just makes it a lot quicker to shutdown. And, if the device can handle multiple operations, you could keep a couple going at a time, or one read and still allow the writes to occur.
Dean Roddey
Explorans limites defectum
02-21-2022, 10:11 AM
Driver version 1.5 released.
Fixed a few bugs with Preconditioning the car button. How lazy do I have to be to heat up the car and turn on seat heaters when the car is parked inside the garage ![]()
_______________
Denon 3808ci, 2112ci ,Sonos, NoVo Grand Concerto, Z-Wave(Lights,Locks), Hue, SmartThings, iPads,Tivo,Hikvision,Elk-M1,TED5000,Somfy RTS blinds+ZRTSI, Amazon Echos+Dots, Polk XRT12, Honeywell Wi-Fi 9000, Caleo Wi-Fi Thermostats, Rainmachine |
« Next Oldest | Next Newest »
|