It’s been about a month since we took delivery of a new, second-generation Tesla lovingly referred to as an HW2 vehicle.1 During that time, Tesla has provided an over-the-air map update and four firmware updates. The latest one this past weekend enabled Traffic-Aware Cruise Control (TACC) and limited AutoSteer capabilities for the entire fleet of next-generation HW2 Tesla vehicles. This includes all cars manufactured since October 19, 2016 that feature a new state-of-the-art supercomputer (pictured below) capable of 8 trillion deep learning operations per second plus eight cameras, radar, and loads of sonar sensors.




The latest software update follows last week’s vindication of Tesla in the fatal crash of a Tesla vehicle with an 18-wheeler and a fluff piece published two weeks ago by The Verge extolling the virtues of a yet-to-be-seen Mercedes S-Class. It was hailed as a better self-driving vehicle when compared with Tesla’s 3-year-old first generation model. As one infamous commenter observed:


The fact is that every car manufacturer is working on autonomous vehicles now. The difference is that nobody except Tesla delivers over-the-air software updates to their vehicles and nobody comes close to Tesla’s billion+ miles of real-world autonomous driving data. So ask yourself this simple question. If your life and that of your family depended upon the reliability of self-driving software, where would you prefer to ride and how would you prefer to see mission-critical vehicle updates distributed? Make no mistake. This isn’t just about self-driving software. It’s also about propping up an automobile dealer network that sees Tesla threatening its entire business model including both sales and service. It’s also about companies like Uber that see Tesla encroaching quickly on its turf and its autonomous vehicle future. But we digress. Here’s what really matters:



So back to our story. Yesterday at 5 a.m. a message arrived on the Tesla dashboard indicating that the long-awaited self-driving update was ready for installation. By 6 a.m. we were on the road in a torrential thunderstorm (yes, it’s January in Charleston) headed to the closest interstate, I-526, a circumferential freeway that goes about halfway around the Charleston metropolitan area and includes one of only two bridges in and out of Charleston County. Why an Interstate? Because this first release of AutoPilot requires a freeway which, on the east coast of the United States, means an interstate highway.



The only additional wrinkle with this first software iteration is that self-driving speed is limited to 45 miles per hour, a 10 MPH improvement from the original version released only to California vehicles. Whooda thunk we’d be wishing for rush hour traffic just so we could try out AutoPilot. As it turned out, with the heavy rainstorm, 45 MPH was just about right. And we wanted to test AutoSteer in bad weather and darkness anyway. The good news is we’re still among the living. The great news is the software performed almost flawlessly. The only wrinkle was approaching exits in the right lane. Tesla currently gives precedence to the solid line on the right side of your vehicle rather than the dotted line marker on the left. If you’re driving in the right lane, it means your car tries to take every exit rather than continuing straight. Disabling and reenabling AutoSteer at every exit would become tedious quickly in a busy metropolitan area. This version also requires that you keep your hands on the wheel and too little pressure prompted alarms and flashing lights within 15 seconds alerting the driver to grab the steering wheel immediately or face banishment from AutoPilot until the car is restarted. This is in sharp contrast to the 4+ minute interval shown in the HW1 AutoPilot demo below. We grabbed harder and soon learned the correct pressure that our Tesla overlords expected. Like all terrific first dates, it had us wishing for more, and Elon promises that the speed and freeway limitations will be relaxed gradually. Having had a taste of the Kool-Aid®, we’re believers now and are looking forward to the next release. Stay tuned!



Feb. 24 Update:


To celebrate our maiden voyage, we are pleased to introduce for fellow Tesla owners our first of several new products using the Tesla API. This one offers a command-line interface to the entire Tesla API using PHP on any LAMP (Linux+Apache+MySQL+PHP) server. If you don’t have a LAMP server, our previous tutorial will walk you through setting one up in the cloud for a one-time cost of less than $20. Once your LAMP server is in place, log into the server as root and issue the following commands to install the Tesla Management Portal:

cd /root
git clone https://github.com/wardmundy/php-api-tesla.git
chmod 775 /root
cd php-api-tesla
chmod +x *.php
nano -w config.php
# set install directory, Tesla credentials and desired valet and web PINs
# plus the desired temperature settings for your Tesla
# save your changes: Ctrl-X, y, then press ENTER key
./token.php
./vehicle.php

Now you’re ready to explore the Tesla API by running the various scripts for three months. After that, you’ll need to refresh the OAuth tokens by running the token.php and vehicle.php scripts again. Six of the remaining scripts extract all the various settings in your vehicle:

charge_state.php
climate_state.php
drive_state.php
gui_settings.php
vehicle.php
vehicle_state.php

The remaining “set” scripts allow you to make changes to various settings in your Tesla. These include locking and unlocking car doors, setting and controlling the HVAC in your vehicle, setting and configuring valet mode, setting the charge limit for your vehicle, and waking your car from sleep mode.

Coming Soon: The Tesla Management Portal web interface…



Published: Monday, January 23, 2017



 

Special Thanks to Our Generous Sponsors

Awesome Vitelity Special. Vitelity has generously offered a terrific discount for Nerd Vittles readers. You now can get an almost half-price DID from our special Vitelity sign-up link. If you’re seeking the best flexibility in choosing an area code and phone number plus the lowest entry level pricing plus high quality calls, then Vitelity is the hands-down winner. Vitelity provides Tier A DID inbound service in over 3,000 rate centers throughout the US and Canada. When you use our special link to sign up, Nerd Vittles gets a few shekels down the road to support our open source development efforts while you get an incredible signup deal as well. The going rate for Vitelity’s DID service is $7.95 a month which includes up to 4,000 incoming minutes on two simultaneous channels with terminations priced at 1.45¢ per minute. Not any more! For our users, here’s a deal you can’t (and shouldn’t) refuse! Sign up now, and you can purchase a Tier A DID with unlimited incoming calls and four simultaneous channels for just $3.99 a month. To check availability of local numbers and tiers of service from Vitelity, click here. NOTE: You can only use the Nerd Vittles sign-up link to order your DIDs, or you won’t get the special pricing! Vitelity’s rate is just 1.44¢ per minute for outbound calls in the U.S. There is a $35 prepay when you sign up. This covers future usage. Any balance is refundable if you decide to discontinue service with Vitelity.


​​3CX is a software PBX that’s easy to install & manage. It includes integrated softphones, WebRTC conferencing and essential add-ons out of the box, at no additional cost. Try the free edition at www.3cx.com. Better yet, download the PIAF5 ISO powered by 3CX. Free version includes support for 8 simultaneous calls with a SIP trunk.

  • Run on Premise or in the Cloud, on Windows and now on Linux
  • Softphones for iOS, Android, Win & Mac
  • Easy install, backup & restore, version upgrades
  • Automatically configures IP Phones, SIP Trunks & Gateways

  • Some Recent Nerd Vittles Articles of Interest…

    Be Sociable, Share!

    1. In Tesla lingo, a P90D Model S signifies a Performance model with a 90kWh battery and all-wheel Drive. According to Wikipedia, the P90D has dual motors with a front axle power of 259 horsepower (193 kW) and rear axle power of 503 horsepower (375 kW) for a total of 762 horsepower (568 kW) and a 0–60 MPH time of 2.8 sec. The acceleration of the P90D can reach 1.1g, described by Tesla as “faster than falling”. []

    This article has 4 comments

    1. We just sent the following note to Tesla, but wanted to alert others to some of the problems we have experienced with AP2…

      We have 17.3.2 and have used AutoSteer extensively on a number of interstate highways since its initial release. Primitive would be an understatement. Here’s what we have encountered. On a straight road with no cars, AP2 appears to work satisfactorily at 45 MPH. On a road which curves leaving the vehicle driving into the sun even with human-readable lane markings that remain easy to decipher with the naked eye, the car is worse than dangerous. The car immediately zig zags from lane to lane with no realization that vehicles may be in the other lanes, even beside the car. On highways with exit ramps, AP2 always follows the exit ramp if you are in the right lane even without a right turn signal and even with clearly marked dotted lines on left side of the lane and even if following a vehicle proceeding straight ahead. AP2 still slams on the brakes when approaching almost any (stationary) overhead sign on an interstate.

      We appreciate that AP1 code needed tweaking for the new hardware, but AP2 really leaves the impression that the developers started over… and have not progressed even to the level of what most would consider safe driving. There really should be more warnings and alerts regarding documented problems for those that are expecting a safer driving experience. A traffic fatality would be a huge setback for Tesla, not to mention the poor driver.

    2. Sounds like you are beta testing it for tesla risking your life while doing that….. What you have described sounds outright dangerous. I think I’ll pass on self-driving car for a couple of years at least after reading this.

    3. Dangerous is probably the right word, and our note to Tesla made that clear. Funny story… Driving home from dinner Saturday night, I found a new road where AutoPilot supposedly worked. When I enabled it, the car zigged and zagged all over the place without any regard for vehicles in adjacent lanes. My wife was screaming that I had better turn it off before the cops saw what was going on and pulled me over for drunk driving. I wasn’t, by the way. Not so sure about the Tesla, but I didn’t want to have to explain all of that to a police officer.

    4. While the software will improve over time, no one ever thinks about the roads. There are millions of traffic engineering problems on the roads today, and no amount of software is going to compensate for the problems on the ground. Just think about those traffic lights… you know the ones, you’re driving along and the light turns yellow. Now what? Do you floor it and try to beat the light, or slam on the brakes and skid to a halt in the middle of the intersection? Software can’t make that decision any better than you, because the light (and the traffic engineering behind it) is the problem, not the driver (human or otherwise).

      [WM: Very good points, James. Have to say that yesterday’s 17.7.2 firmware from Tesla was a dramatic improvement on secondary roads. Still far from perfect, but we’re making progress.]

    Leave a comment

    Your email address will not be published. Required fields are marked *

    *