add alarm type

Luthfi Haqiqia year ago

Hi Sir

i have 3 digital input using to trucking ..
example
din 1 using Door Left
din 2 using Door Right
din 3 using Back Door

i want to know event data to open & close from each of din ..
but i see from alarm type just only "lock , unloock & door" ..

to the question for me , can i custom alarm type ?
example i add alarm type =

  1. Door Right Open
  2. Door Right Close
  3. Door Left Open
  4. Door Left Close
  5. Back Door Open
  6. Back Door Close

and if event into database from table tc_event in column attributes the data is {"alarm : Door Right Open"} ?

thanks for suggestions sir ..

Track-tracea year ago

I do not know it.

But logicly anyone who could help will need to know the Model tracker you use, the protocol and HEX examples from the log.

Anton Tananaeva year ago

You can have custom alarms, but you would have to use the API to enable them or modify the web app code to add them to the list.

Luthfi Haqiqia year ago

ok sir ,

i had check the api , i add type or attributes to add alarm type ?

Luthfi Haqiqia year ago

how to modify web app code ? if i using install package traccar