   loaded: false
   vehiclesUrl: ( -> "#{Sensor.API_URL}/units?callback=?&oauth_token=#{Sensor.ACCESS_TOKEN}").property('date')
   messagesUrl: ( -> "#{Sensor.API_URL}/messages?date=#{@get('urlDateParam')}&callback=?&oauth_token=#{Sensor.ACCESS_TOKEN}").property('date')
+  notificationsUrl: ( -> "#{Sensor.API_URL}/notifications?date=#{@get('urlDateParam')}&callback=?&oauth_token=#{Sensor.ACCESS_TOKEN}").property('date')
   findById: (id) -> @findProperty('id',id)
   findByImei: (imei) -> @findProperty('imei',imei)
   findByNickname: (nickname) -> @findProperty('nickname',nickname)

      messages = data.messages
      console.log "#{messages.length} messages downloaded"
      @processMessages(messages)
  processMessages: (messages) ->
    console.time "processing messages"
    @get('content').forEach (vehicle) ->

      @loadVehicles(data.units)
      @set('loadedVehicles',true)
      @getMessages()
      @getNotifications()
  loadVehicles: (vehicles) ->
    vehicles.forEach (vehicleData) =>
      vehicle = Sensor.Vehicle.create(vehicleData)
