7 ms·
Show HN: Control your Hyundai car with Python
- synchronizing 4y agoI build this for a cron script that queries my car's odometer and then queries CarFax to log my cars price over time on YNAB[1], but it has many uses. Been thinking - lately - to perhaps also use this package with Google Home, but haven't gotten around to it. Might come in handy fellow Hyundai owners. [1] https://www.youneedabudget.com https://www.youneedabudget.com
- captainkrtek 4y agoThis is cool (and terrifying)! :-)
- abdouls 4y agoAbsolutely haha! I remember being excited when I could remotely control the lights on my table from school (fun little arduino/rpie + led project). Now we remotely control cars with REST... Indeed cool and terrifying!
- steve_mcdougall 4y agoOoooooo what I really hate about this is that a remote API is called to do this. It would be considerably less terrifying if this was just canbus messages. BIG YIKES
- aaronbrethorst 4y agoAnyone happen to know if Kia UVO's is based on Hyundai's Bluelink? I'd love to build a more user-friendly iOS app for controlling my Niro EV than Kia Connect :P
- marsokod 4y agoIt is exactly the same. You have many modules for Home Assistant (through HACS, none is an official module yet) that will use a similar setup. I use it mostly to track and keep a record of my Niro status.
- aaronbrethorst 4y agoCool, thanks!
- minedwiz 4y agoSuddenly feeling glad that I park my car in a garage with no mobile reception.
- anshumankmr 4y agoThank god we have normal cars as I have never understood the appeal of a smart car since everything a smart car can do can be done with a halfway decent smartphone. * by smart car, I am not talking about self driving cars, I am talking about the gimmick of running some Android and iOS apps on one's car
- kyriakos 4y agoI use Android auto all the time. Having Google maps on cars dashboard is very useful.
- GenerocUsername 4y agoStill requires manufacturers to implement correctly which I found my 2022 Subaru Android auto is locked in landscape so it's essentially half-screen... No way to fix
- kyriakos 4y agoI think that's generally an issue with android auto corrected in the latest version. Essentially android auto has a fixed aspect ratio so only part of the screen real estate is used unless it fits exactly. Latest version is supposed to allow fluid layout.
- deleted 4y ago[deleted]
- aaronbrethorst 4y agoBuilt in navigation in cars is garbage. So is the built in music app. Letting me play what’s on my iPhone is leaps and bounds better than what a car manufacturer can give me.
- mdp2021 4y ago> Thank god we have normal cars A disconnected car is a requirement by any parameter of sanity given considerations of security including privacy, within a basic right of rejection of absurdity: but for how long will the "privilege" of avoiding lunacy will be granted? In Europe already one has to have law-mandated (in terms of shipment) hardware modules removed (the "e-call"). For how long non-connected cars will be available on the market? It is even possible that some rogue legislating body will decide that some connected feature should be mandated...
- srvmshr 4y agoIt reminds me of the slightly funny incident when my brother's boss got stuck midway on the road to his destination, because his Fiskar Karma was having a firmware update
- lostmsu 4y agoTo save you a click: this is not about being able to drive the car.
- deleted 4y ago[deleted]
- deleted 4y ago[deleted]
- icy 4y agoCan someone ELI5 how this works? I understand it's sending requests to some API on some server, but what I don't get is how the car receives these commands. What does the entire end-to-end network look like?
- jdmoreira 4y agoA lot of new cars are sold with a gsm module that you don't control
- Nextgrid 4y agoThe same way your typical shitty IoT device works. There’s an internet-connected module that receives messages from the cloud and then emits the equivalent messages onto the CAN bus or some other bus connected to the BCM or whatever you want to control remotely.
- jdmoreira 4y agoI worked for a modern car rental company where you just need to download an app to drive a car. The tech was super interesting, there are vendors that sell a box with both gsm and ble interfaces and the cars are fitted with these. You can send messages through ble or their cloud api / gsm. The app needed to first acquire a token to successfully establish a ble connection. I'm not saying you can't buffer overflow through ble messages but at least the authentication was solid.
- dubswithus 4y agoZipcar? Or do they use Bluetooth?
- grepfru_it 4y agoZipcar was hilariously easy to bypass/override with physical access. I had access to a local Volvo for almost 3 years until I stopped checking. I never drove the car because of gps and the proliferation of cameras, but I would store random things in the trunk when I was passing by the area
- dubswithus 4y agoThe fuck?
- jdmoreira 4y agoNo, not Zipcar
- klogvl 4y agoBlinkenlights with Python! I wonder when we'll see "Crash your Tesla with Python". So far, Musk seems to disallow the untyped language based on modifiable nested dictionaries and weird name spaces.
- throw457 4y agoHackernews: connected closed proprietary Tesla good. Also hackernews: connected open api Hyundai bad.
- blowski 4y agoHackernews: A community made up of many people with a wide variety of opinions.
- throw457 4y agoNah… if you are not lucky enough to be in a discussion early it’s just one side of the hivemind jerking it and the other side stfu because no one wants to get downvote abused :)
- blowski 4y agoTypically, when people get downvoted, the downvotes are for the tone of the comment - ad hominem attacks, extremist conspiracy theories with lack of supporting data, unwilling to see different perspectives. But the downvoted then blame this mystical "hivemind" as the cause of their downvotes, rather than try to improve their style of engagement.
- the_only_law 4y agoTbf, I agree with you that a lot downvote whining is a lazy attempt to save a bad argument, but regarding this: > Typically, when people get downvoted, the downvotes are for the tone of the comment - ad hominem attacks Downvote and their purpose has come up a few times and generally the seems to be a consensus seems to be that downvote=disagree is 100%, legitimate, citing some quote by PG. And if you go to certain a threads (highly political ones), it's not uncommon to see some of the more reasonable comments greyed out if they even remotely challenge the zeitgeist of the current thread inhabitants. This also works the other way around. You can be a complete dick and violate half the guidelines and end up highly upvoted if enough people agree with you. I know because it's happened to me.
- _8j50 4y agoIf you get phished or something, can attackers use this to turn off the car while driving? Or something lesd harmful like keep it on while you're at work and drain gas.
- V__ 4y agoMaybe. There was a vulnerability [1] with BlueLink and that could have been an attack vector, but the article mentions: > The attack can’t be done at scale, because the local network that the vehicle owner is using would have to be infiltrated by the attacker. Wikipedia says BlueLink uses Bluetooth [2]. So I'm not sure what connection is actually used, but if it's Bluetooth/local wifi and there are no further security bugs, then it would be unlikely that someone else could connect to the car in the first place. [1] https://www.tomshardware.com/news/hyundai-blue-link-vulnerability-thieves,34248.html https://www.tomshardware.com/news/hyundai-blue-link-vulnerab... [2] https://en.wikipedia.org/wiki/Hyundai_Blue_Link https://en.wikipedia.org/wiki/Hyundai_Blue_Link
- _8j50 4y agoMakes sense. I thought it was done over the internet when U saw login().
- synchronizing 4y agoI can't speak on older BlueLink cars (article is from 2017), but my 2021 Elantra has GSM built-in and the commands are sent/received through the web - no bluetooth at all.
- V__ 4y agoThat sucks. Do you know if there is an option to limit it to wifi?
- synchronizing 4y agoI've gone through every configuration menu the cars has and I've personally never seen the option to modify that.
- redeux 4y agoHaving looked into this myself recently, why would I use this project over bluelinky? https://github.com/Hacksore/bluelinky https://github.com/Hacksore/bluelinky
- mrweasel 4y agoBecause you really want a Python API?
- tyingq 4y agoI see some differences. The python one can enumerate all cars in the account, the node.js one doesn't have that....you have to specify a VIN. Python one has figured out how to enable specific seat heaters at start, node.js one says "Not sure?", etc.
- jmartin2683 4y agoBecause you’re using Python?
- dzhiurgis 4y agoI haven’t studied these much but If your car doesn’t have Bluelink there are things like autopi and probably some others.
- hodgesrm 4y agoIf you had to pick a single title to summarize the Hacker News ethos, this would be it.