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

    @set('loaded', true)
    if @get('liveDataset')
      @subscribeToWebsockets()
  subscribeToWebsockets: ->
    juggernaut = new Juggernaut
      host: Sensor.WEBSOCKET_IP

  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)
