Class: Divera24

Divera24()

Class for interacting with DIVERA247 Cloud Service

Constructor

new Divera24()

Source:

Members

address :string

Type:
  • string
Source:

address :string

Type:
  • string
Source:

alarmAccessKey :string

Type:
  • string
Source:

alarmAccessKey :string

Type:
  • string
Source:

baseUrl :string

Type:
  • string
Source:

baseUrl :string

Type:
  • string
Source:

gaussKruegerX :string

Type:
  • string
Source:

gaussKruegerX :string

Type:
  • string
Source:

gaussKruegerY :string

Type:
  • string
Source:

gaussKruegerY :string

Type:
  • string
Source:

lat :float

Type:
  • float
Source:

lat :float

Type:
  • float
Source:

lng :float

Type:
  • float
Source:

lng :float

Type:
  • float
Source:

number :string

Type:
  • string
Source:

number :string

Type:
  • string
Source:

person :string

Type:
  • string
Source:

person :string

Type:
  • string
Source:

priority :integer

Type:
  • integer
Source:

priority :integer

Type:
  • integer
Source:

ric :string

Type:
  • string
Source:

ric :string

Type:
  • string
Source:

text :string

Type:
  • string
Source:

text :string

Type:
  • string
Source:

title :string

Type:
  • string
Source:

title :string

Type:
  • string
Source:

type :string

Type:
  • string
Source:

type :string

Type:
  • string
Source:

vehicle :string

Type:
  • string
Source:

vehicle :string

Type:
  • string
Source:

zveis

ZVEIs
Source:

Methods

cleanup()

Cleans up all set variables, so that a new alarm only sends content from the actual alarm and not left over information from alarm before
Source:

renderAlarmGetPath()

render Path for alarm
Source:

renderMessageGetPath()

render Path for Message
Source:

renderStateGetPath(status_id, vehicle_issi, vehicle_name, vehicle_id, vehicle_ric, status_note)

render Path for state change of gear with issi, opta, name or id to state "state"
Parameters:
Name Type Default Description
status_id integer 1-9, (individuelle Fahrzeug-Status können künftig ebenfalls inkl. Farbton angelegt werden)
vehicle_issi string null Identifizierung des Fahrzeugs anhand des Felds ISSI
vehicle_name string null Identifizierung des Fahrzeugs anhand des Felds Funkrufname
vehicle_id string null dentifizierung des Fahrzeugs anhand der ID
vehicle_ric string null Identifizierung des Fahrzeugs anhand des Felds Alarmierungs-RIC
status_note string von ALARMiator Freitext-Rückmeldung
Source:

sendAlarm(callback)

sends out a new alarm to Divera247 service
Parameters:
Name Type Description
callback function success (true/false)
Source:

sendMessage(callback)

sends out a new message to Divera247 service
Parameters:
Name Type Description
callback function success (true/false)
Source:

sendState(callback)

sends a state update to divera
Parameters:
Name Type Description
callback function success (true/false)
Source: