←back to thread

122 points kcon | 2 comments | | HN request time: 0.425s | source

Nissan's official mobile app for their LEAF electric car doesn't have a widget for quickly checking the car's battery charge status on your phone's home screen, so for a fun side project I decided to make my own using free tools like GitHub Actions, Appium, Tailscale, and Apple Shortcuts.
Show context
STELLANOVA ◴[] No.43677779[source]
Great work! I love commitment to make it at no cost as @liamwire mentioned. Still not sure why on Earth car manufacturers would not just release APIs open to all owners (basically issue API key based on VIN) and let them use it. For developers to build apps that will only require API key to be entered would be win/win for everyone....
replies(3): >>43678448 #>>43678850 #>>43679025 #
xp84 ◴[] No.43678448[source]
> Still not sure why on Earth car manufacturers

Like all similar "why don't they have at least a self/community-supported open basic API" questions, the answer is usually the same: They're afraid someone else might create something of value, in part using their API, without them getting their own beaks wet in the process. If you want to integrate with a Nissan Leaf, even if all you wanted were the most harmless read-only access, they'd like you to request a biz dev meeting with them where they'll be happy to talk ruinous terms.

For a related story, see how Chamberlain (MyQ) torched the great, community-built Home Assistant integration it once had for no reason at all. They're afraid somehow they could stop getting the kickbacks from the likes of Walmart and Amazon delivery which they enjoy today, seeing themselves as co-owners of your garage door.

replies(3): >>43678540 #>>43678655 #>>43680090 #
smokel ◴[] No.43678540[source]
> They're afraid someone else might create something of value, in part using their API, without them getting their own beaks wet in the process.

In most cases it's not about profit, but about having to invest serious amounts of effort to please one or two hackers, who will then DoS your API as soon as you've made a mistake.

replies(2): >>43680909 #>>43687614 #
1. robertlagrant ◴[] No.43680909[source]
Indeed. The day to day compliance work will be very expensive, and in addition you would need to put a lot of money aside in case of a security flaw.
replies(1): >>43687584 #
2. xp84 ◴[] No.43687584[source]
This is the kind of thing that they frequently hand-wavingly claim, however, 'compliance'? I'm not aware of any US garage door regulatory body.

These same companies have you click through 1000 pages of legalese (that thoroughly covers their butts) in order to use their own apps, which are probably more likely to be compromised than a public API, so I don't know why that would come with more liability.