Save 37% off PRO during our Black Friday Sale! »

20210918 iOSDC 2021 Hacking the Tesla API

20210918 iOSDC 2021 Hacking the Tesla API

20210918 iOSDC 2021 Hacking the Tesla API
LT #iosdc #a

A6b341ce8c629d15aebbaa6692e7767b?s=128

Yusuke Kuroiwa

September 18, 2021
Tweet

Transcript

  1. 2021.09.18 Yusuke KUROIWA Hacking the Tesla API iOSDC JAPAN 2021

  2. None
  3. None
  4. None
  5. ඃͬͯ͠·͏ TeslaDC JAPAN 2021

  6. WHO YOU ARE

  7. YUSUKE KUROIWA @wa_kinchan ͖ΜͪΌΜɻ SOFTWARE ENGINEER ϋϯζϥϘɺϝϧΧϦΛܦͯɺ೥݄ʹ/05")05&-ʹࢀըɻܦྺ্ɺ ϋʔυ΢ΣΞ࿈ܞ͕ଟ͍ϓϩμΫτʹैࣄ͓ͯ͠Γɺιϑτ΢ΣΞͱϋʔυ΢ΣΞ ͕ަΘΔෳ߹తͳαʔϏεͮ͘Γʹڵຯؔ৺͕ڧ͍ɻ࠷ۙ͸(Pɺ5ZQF4DSJQUΛॻ ͘͜ͱ͕ଟ͘ɺ4XJGUΛٱ͠ͿΓʹॻָ͍͍ͯ͠ɻ.%.ɺ"#.पΓʹৄ͍͠ɻ

  8. WHO WE ARE

  9. None
  10. ੈքதʹ͋ͳͨͷՈΛ ॅΉڌ఺ɺಇ͘৔ॴɺധ·Δཱྀઌɻᐆດʹ༹͚Δڥքઢɻ /05")05&-͸ͦΕΒΛ͓͓Β͔ʹލ͍Ͱܨ͙৽͍͠฻Β͠ ͷબ୒Ͱ͢ɻՈͷΑ͏ʹͭ͘Ζ͛ͯɺϗςϧͷΑ͏ʹշదͳ ڌ఺͕ੈքதʹزͭ΋޿͕ΔɻҰͭͱͯ͠ಉ͡σβΠϯͷ෦ ԰͸ͳ͍͕ɺͲ͜ʹߦͬͯ΋҆৺Ͱ͖Δ͔֬ͳΫΦϦςΟͰ ͭ͘Ζ͛ΔɻͲ͜Ͱա͔͢͝Λࣗ༝ʹબ୒Ͱ͖Δ͍·ɺ͜Ε ·Ͱͷ౰ͨΓલ͔ΒҰา౿Έग़ͤ͹ੈք͸΋ͬͱָࣗ͘͠༝ ʹͳΔɻա͢͝৔Λࣗ༝ʹબ΂Δ࣌୅ΛՃ଎͢Δ৽͍͠฻Β ͠ͷબ୒ࢶɻ

  11. ݸਓ·ͨ͸๏ਓʹ/05")05&-֤෦԰ͱιϑτ΢ΣΞΛΦϯϥΠϯͰൢച͠ɺ ະ࢖༻࣌ʹϗςϧͱͯ͠׆༻͢ΔϏδωεϞσϧͰ͢

  12. None
  13. ৽͍͠฻Β͠ ങ͑·͢ɻ ཱྀߦ΍ग़ு࣌ɺ ࠓ·Ͱཹकʹ͍͚ͯͨͩ͠ͷՈɻ /05")05&-Ͱߪೖͨ͠Ո͸ཹकͷؒʹϗςϧͱͳΓɺ ऩӹΛ΋ͨΒ͠·͢ɻ ΋ͪΖΜ໘౗ͳΦϖϨʔγϣϯ͸ෆཁɻ ΞϓϦͷૢ࡞͚ͩͰͦΜͳੈք͕࣮ݱ͠·͢ɻ

  14. Ոʹۙͮ͘ͱɺ͍ͭ΋ͷԹ౓΍໌Δ͞ʹɻ෦԰ʹೖΕ͹ɺ޷͖ͳԻָ͕ྲྀΕͩ͢ɻ ੈքதͲ͜Λཱྀͯ͠΋ͦΜͳ͓ؾʹೖΓͷঢ়ଶͰՈ͕͋ͳͨΛग़ܴ͑·͢ɻ฻Β͠ΛΑΓ๛͔ʹ͢ΔςΫϊϩδʔɻ

  15. NOT A HOTEL Apps Currently under development. - Swift UI

    - The Composable Architecture
  16. WHY TESLA?

  17. MAIN PART

  18. TESLA

  19. TESLA

  20. BMW

  21. None
  22. My BMW App - Get Vehicle Information - Lock/Unlock Vehicle

    - Flash Lights - Horn - Ventilation
  23. BMW Official API The API for information acquisition is o

    ff i cially public. https://aos.bmwgroup.com/basic/ui/#/detail/vehicle-identi fi cation
  24. BMW Digital Key Apple Car Key - Automatically unlock the

    car - Sharing key using iMessage (Apple ID)
  25. TESLA

  26. None
  27. Tesla App - Get Vehicle Information - Lock/Unlock Vehicle -

    Flash Lights - Horn - Ventilation and more
  28. Tesla Unofficial API The API for information acquisition is private.

    https://tesla-api.timdorr.com/ https://www.teslaapi.io/
  29. None
  30. None
  31. Flutter App Demo Implemented in NOT A HOTEL app -

    BLoC Architecture - Tesla API v1 - OpenAPI / Swagger
  32. SwiftUI App Demo Implemented in NOT A HOTEL app -

    The Composable Architecture - Tesla API v2 - jonasman/TeslaSwift
  33. None
  34. None
  35. None
  36. None
  37. None
  38. None
  39. END IUUQTOPUBIPUFMDPN 8&"3&)*3*/(