Event Types
Posted: 09 February 2009 03:12 AM   [ Ignore ]
Newbie
Rank
Total Posts:  12
Joined  2009-01-24

What are valid event types, and could new types be added?

Bill Crum

Profile
 
 
Posted: 13 February 2009 06:38 AM   [ Ignore ]   [ # 1 ]
Administrator
RankRankRankRank
Total Posts:  249
Joined  2008-12-18

We support the following events:

- Ignition On
- Ignition Off
- Speeding
- Enter geofence
- Exit geofence
- Idling
- Stop

This is really more of a question of what the device supports. In the case of Xirgo we can get additional event data such as:

- Mileage thresholds
- RPM threshold
- Fast acceleration
- Fast braking

To answer your question you can most definitely add new event types. For starters, I would recommend having the gateway populate the “event_type” field in the readings table and this will at least be present in the readings report. You can then use this data to generate a meaningful report by possibly adding a different Rails view. There are a few ways to do this so if you can be more specific in what you’re doing we’ll gladly offer suggestions.

Profile
 
 
Posted: 13 February 2009 06:52 AM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  12
Joined  2009-01-24

Thats why the question. Now I know what exists, I can add the new events.

thanks for the help,
Bill Crum

Profile
 
 
Posted: 12 August 2009 10:38 AM   [ Ignore ]   [ # 3 ]
Newbie
Rank
Total Posts:  1
Joined  2009-08-12

Just curious, is the idling event you list above from the OBDII port or is it figured out / inferred on the server?
Thx,
Sean

Profile
 
 
Posted: 14 August 2009 07:20 AM   [ Ignore ]   [ # 4 ]
Newbie
Rank
Total Posts:  7
Joined  2009-05-27

How to add additional event? will each event has it’s own db model? Currently in our app, there are idel_event, stop_event, trip_event, and run_time event. Are there direct event for something like excessive RPM and rapid deceleration?

Thx

Profile
 
 
Posted: 14 August 2009 10:06 AM   [ Ignore ]   [ # 5 ]
Administrator
RankRankRankRank
Total Posts:  249
Joined  2008-12-18

@Sean - The idling events are currently triggered on the server, but we really on specific information from the device (ignition on and stopped) to begin/end idles.

@hflaherty - The purpose of the specific event tables is to optimize reports. You don’t necessarily need to create a new table for each event. It ultimately depends on what you’d like to do with the information. In some cases you may choose to report directly out of the readings table and just filter on the event_type field. We chose the “break out” approach because in some applications we have millions of readings and reporting out of this table becomes incredibly slow. The Xirgo device does support RPM and deceleration events and you should see these populate in the readings.event_type field.

Profile
 
 
Posted: 14 August 2009 12:03 PM   [ Ignore ]   [ # 6 ]
Newbie
Rank
Total Posts:  7
Joined  2009-05-27

Thanks for the reply. What even type will be for the RPM and deceleration in the reading? Is there a low battery event?

Profile
 
 
Posted: 20 August 2009 11:44 AM   [ Ignore ]   [ # 7 ]
Newbie
Rank
Total Posts:  7
Joined  2009-05-27

Can you point out which controller insert the reading data? We found 2 controllers WsController and SimulatorController. either of them don’t seem right. Thx

Profile
 
 
   
 
 
‹‹ Map data      Polling devices ››