Skip to content
This repository has been archived by the owner on Sep 18, 2019. It is now read-only.
/ carspark Public archive

API for an existing remote car starter using the Spark Core. IOS client provided.

License

Notifications You must be signed in to change notification settings

natefanaro/carspark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

carspark

remote start -> Particle Electron -> internet <- iphone

about this project

I started this project to get remote start working on my car from my iPhone. Much like Viper SmartStart or CompuStar’s Drone Mobile.

current features

  • Simple API
    • All calls to the Particle Electron can be done through a REST call. This gives me the option to make anything that has an internet connection a remote.
  • iOS Client
  • Four buttons are supported on the remote
  • Status LED
  • Temperature sensor

feature wish list

  • detect when car is running
  • detect door lock/unlock state
  • gps
  • unlock door when phone is within a few feet of the car

hardware required

  • Compustar Remote Start
  • Compustar Remote 1WSHR
  • Particle Electron https://store.particle.io/#electron
  • Device running iOS 7+
  • Temperature Sensor TMP36
  • Optocoupler (I used a LTV-847)
  • Dual color LED (You can use separate LEDs if you like)

You can substitute most of these items for anything that is equivalent.

getting started

  • Assemble breadboard

    • Use hardware.fzz or png as a reference
    • Solder leads on switches from remote
    • Attach Particle Electron to breadboard
    • Pins and switches match up to code in arduino
  • Setup Particle Electron

  • iOS

    • Install Cocoapods
      • cd carspark/iOS
      • pod install
    • Open Carspark.xcworkspace
    • Build and install device on your iPhone or iPod Touch
    • Add Device ID and Access Token in Settings.app or the 'API Settings' button on the Info screen.

references

Things that will help you learn about how this all works

api

See remote-start.cpp for more info on what api calls can be used.

Events are sent for every api call that is made and if a connection to Particle Cloud is reestablished.

You can subscribe to events like this.

curl -H "Authorization: Bearer <access_token>" https://api.particle.io/v1/devices/<device_id>/events

warning

This is a project for myself. I am happy to share what I have done but make no guarantee that anyone else attempting this will enjoy the same success, or failures, that I have.

About

API for an existing remote car starter using the Spark Core. IOS client provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published