Welcome to Tesla Motors Club
Discuss Tesla's Model S, Model 3, Model X, Model Y, Cybertruck, Roadster and More.
Register

Vendor Tesla Performance Tools - Track focused CANbus display for iOS

random155

Member
Mar 18, 2019
876
465
NJ
Hey, not sure if you were the one who submitted similar feedback via the site. This is a multi-faceted problem.

First, Auto-Lock - Easy fix, and already in the code base. This will let the app prevent the screen from sleeping while in the foreground.

Second is how strict iOS is with performing work in the background. You're not allowed to continuously stream data in the background. You can occasionally grab junks and perform work on that data, but not a stream. So in this use case, in order to use the app at all, it has to be in the foreground. For the MVP I made the choice to close the sockets whenever the app is put into the background. Trying to keep the connection alive poses a couple other issues. But I fully plan to circle back around to this.

Third and least possible to address is iOS's odd behavior with disconnected wireless devices. Part of this particular problem is the OBDLink itself, part of it is the system. I have a lot of background with Bluetooth, Bluetooth LE and WiFi on iOS. And have seen this many times in all protocols. Funny part is BLE is usually the easiest to deal with.

So here's the scenario I think you saw. You were connected and streaming from the device. Backgrounded the app or slept the phone. Reopened the app and it's not streaming anymore and the connection list is blank. You go to Settings, Bluetooth and Settings says you're still connected. If this is what you're referring to, it's an issue with either the way I am disconnecting from the device using available system calls or more likely yet another oddity with iOS. Problem is when I make the system call to close the socket connection, this actually puts the connected device into a limbo state were it's not connected but the system thinks it is. Only way to solve this is cycle power on the OBD or disconnect/reconnect from iOS Settings. I'm hoping addressing issue 2 will help alleviate this from being as prevalent. But you'll still see it in cases where the OBD module sleeps.
Thanks for the explanation. I did not post it on the feedback, only here. Is auto lock an option already? When I hit settings there are no options other than restore or something like that. Am I missing this or is it yet to come?
 

_tpt_

Former Vendor
Dec 23, 2019
17
5
App Store
Looking forward to a Model 3 release to try this out! Would be awesome if you’d support the Carista OBD adapter. Already have this one for TM-Spy on iOS. And I’d be happy to test as an international user!

Thanks, please DM me and I can get you setup with a TestFlight build.

Thanks for the explanation. I did not post it on the feedback, only here. Is auto lock an option already? When I hit settings there are no options other than restore or something like that. Am I missing this or is it yet to come?

Sorry, my bad on the wording. I meant on my end that issue is fixed, just going to wrap up the localization and a couple other small bugs and push the build. Goal is to have this build in review this weekend. Since it's a minor change, shouldn't be too bad.
 

_tpt_

Former Vendor
Dec 23, 2019
17
5
App Store
After a couple of drives, I have the following feedback and suggestions...

Issues:
  • the problem of speed display seems to be purely cosmetic as it was displaying the correct speed but just labeled "mph" it seems the car has already converted it to kph (just letting you know in case you didn't know and tried to convert it)

  • auto light/dark mode... you really should just make a toggle instead because I'm pretty sure it's not working as intended... every time I drive past a tree it would flash light/dark/light/dark and it was overcast today and I am guessing the light is very close to the auto toggle point and it just kept toggling non-stop... it's extremely annoying... (my suggestion would be to add a toggle and if you still want auto... update the logic so that it you have different values for going dark and light... so there is an overlap... as well as perhaps the light condition needs to maintain for a few seconds before toggling)

  • leaving the app instantly severs the bluetooth stream or the app suspends instantly... there is no way to get it working again unless I cycle the phone's bluetooth on/off or disconnect the dongle and reconnect... while you shouldn't use your phone while driving... this still isn't ideal... so it'd be great if this can be fixed

Feature Suggestions:
  • I know you may have a different vision for this app, as it seems performance oriented. However perhaps it's not really that much more trouble to having a page where you can see ALL data coming from the cambus akin to ScanMyTesla? Since there are currently no other iOS alternative, I am sure many would hope to see similar features as available on the Android app.

  • I would love to see customizable page so I can add/remove widgets that I would like to see and potentially removing that G-Sensor for when I am not interested in seeing it.

Hey Exiom, sorry, did not mean to miss your post. Issue 1, check. Issue 2, agreed, initially in testing the same values I was using for my other app worked fine. But then I was having the same issues you mention. I already had added a toggle, since I did the same in my other app. But agree the time sample and trigger values could use some tweaking. Issue 3 - please see previous discussion. I'm working on going a different route than I took to get the MVP version to the store.

Feature 1 & 2 - Roger that, and yes it does have a different intention. As discussed before, my goal isn't to compete with amund. Personally, I don't see the utility in logging ALL of the bus. I'd rather not reveal my roadmap at this point, but you'll be happy ;).
 
Last edited:

_tpt_

Former Vendor
Dec 23, 2019
17
5
App Store
Hey just a heads up, next version is in the App Store that should address most of the feedback so far. There is another quick fix currently in review to help with some disconnecting problems. Check out the main post for details. Looking forward to feedback.
 

_tpt_

Former Vendor
Dec 23, 2019
17
5
App Store
Wow, can't believe it's been a month already. Apologize for the long delay, work has been pretty hectic lately. Just wanted to update where I'm at right now. Stage 4 (drag) is mostly complete, just need to continue testing/verifying. Regarding Model 3 support, this has been the second reason for delay. I am able to decode the Model 3 bus at this point, but I do not have any test data to verify. So I went ahead and implemented a much later stage that gives full raw access to the CAN bus. Once I have that fully functional I'll be pushing a beta build soon for external testing. My hope is some of you beta testers can send me logs from your Model 3's so I can verify the other stages. Also if there are any more interested in beta testing shoot me a message.

Lastly, I asked the mods to move this thread to Driving Dynamics as I thought it was more appropriate for the target audience.
 

_tpt_

Former Vendor
Dec 23, 2019
17
5
App Store
Great news, version 1.10 is officially in the App Store. This has been a long time coming, and with everything going on, partly delayed. But very happy with the additions. Model 3 support is still in the works unfortunately. I don't have direct access to one, so I'm relying on beta testers to send logs. Everything is in place to turn it on, I just have a few more things to verify.

As before, I've updated the OP, but here's a rundown.

Update 1.10: - Published 3/29/20
  • Logging has been moved out and now available with purchase of the app.
  • Stage 3 - $0.99 IAP - a 1/4 mile readout with ET's and speed times.
  • Stage 4 - $1.99 IAP - a detailed battery monitoring screen for use during charging.
  • Added vehicle firmware selection - this will fix some display issues caused by 2020.12.5
  • Graphing - graph display has been added to Stage 1 and 2.
  • Fixed issue where switching Stages would not always update PID's
  • Fixed issue(s) with Auto Theming
  • Updated log naming
Note: If you had previously purchased Stage 3, you will still have access to the new version of Stage 3. And since logging is now included in the app, you will not lose any functionality.
 
Last edited:

_tpt_

Former Vendor
Dec 23, 2019
17
5
App Store
Why wouldnt you just make an Android version? more people are on that anyway... and easier to get to the platform

Are you saying this as an Android developer? Or end user?

Pretty simple answer from me, I'm not an Android user day to day. My Pixels and Razer phone are great, but the platform as a whole just doesn't hold much for me. Furthermore, some of the features I have planned aren't as performant on Android. Combine that with the huge array of devices (processing power) I would have to support, it just didn't make sense from a business standpoint.

I'll admit my Android chops aren't what they used to be and what I'm trying to do may be perfectly fine now. But it all goes back to time/money. This is a personal project, not a business venture and I've already invested much more on both fronts than I had planned. Lastly a cross platform project would absolutely not work for the level of performance and device access I need. So unfortunately not a use case for "write once, run anywhere".

As far as ease, I'm not sure what you're referring to. Both platforms require a review process for publication. I'm not into using private API's. And if we're talking development devices required, that metric falls largely to Apple. For basic apps it's not much of an issue, but as you dig into the lower level API's, you begin to need more of the physical devices you'll support. Pretty short list on Apple, not so much on Android. All depends on what the app does, but certainly not a clear cut case.
 
That is a great description and NOW I totally understand why you went about it the way you are doing! thanks for the detailed response!
much of that I didnt know as I dont develop apps.

I guess I 'm just jeallous we android people wont/ don't have that App to use. or one similar at least that I could find.
I also LOVE that you used paragraphs!! such a luxury to read in modern online times!

Still, thanks for your continued efforts even if it is for "the dark side" I personally have a couple mack books so it's not like I/m anti-apple, I guess I just kind have a small worm in mine:)
 

_tpt_

Former Vendor
Dec 23, 2019
17
5
App Store
:D Thanks! My hope is someone takes that mantel and builds out something similar. For now you can still use TM-Spy and ScanMyTesla on Android. They don't offer graphing or video overlay yet, but they also do some things I don't. This was just my take on what would be useful from the CAN bus.
 
Last edited:

_tpt_

Former Vendor
Dec 23, 2019
17
5
App Store
Hi all, know it's been sometime since last update. Tbh, I took a month off. Quick update went out today to fix issues running on 2020.36. Am very very close to releasing the feature I've been aiming at since day one of undertaking this project. Has been a very long road getting to a functional version, but soon....
 

Products we're discussing on TMC...

About Us

Formed in 2006, Tesla Motors Club (TMC) was the first independent online Tesla community. Today it remains the largest and most dynamic community of Tesla enthusiasts. Learn more.

Do you value your experience at TMC? Consider becoming a Supporting Member of Tesla Motors Club. As a thank you for your contribution, you'll get nearly no ads in the Community and Groups sections. Additional perks are available depending on the level of contribution. Please visit the Account Upgrades page for more details.


SUPPORT TMC
Top