Skip to content

Jablotron Alarm Binding ​

This is the binding for Jablotron alarms. https://www.jablotron.com/en/jablotron-products/alarms/

Supported Things ​

Thingnote
bridgethe bridge to your Jablonet cloud account
JA-80the OASIS alarm
JA-100with the thermometer support
JA-100Fwithout the thermometer support

Discovery ​

This binding supports auto discovery. First, manually add a bridge Thing and supply the username and password to your Jablonet account.

Binding Configuration ​

The binding itself doesn't require any specific configuration.

Thing Configuration ​

Thingconfig parameter namedescriptiontype
bridgeloginthe login to your Jablonet accountmandatory
bridgepasswordthe password to your Jablonet accountmandatory
bridgerefreshthe refresh time for all alarm warnings (ALARM, TAMPER triggers and SERVICE state)optional, default=30s
bridgelangthe language of the alarm textsoptional, default=en
JA-80/JA-100/JA-100Frefreshthe channels refresh period in secondsoptional, default=60s
JA-80/JA-100/JA-100FserviceIdthe service ID which identifies the alarmmandatory
JA-100/JA-100Fcodethe master code for controlling sectionsoptional

Channels ​

Thingchannel nameitem typedescription
bridgeN/AN/Athe bridge does not expose any channels
JA-80statusASwitchthe status of the A section
JA-80statusBSwitchthe status of the AB/B section
JA-80statusABCSwitchthe status of the ABC section
JA-80statusPGXSwitchthe status of PGX
JA-80statusPGYSwitchthe status of PGY
JA-80commandStringthe channel for sending keyboard codes to the OASIS alarm
JA-80/JA-100/JA-100FlastEventStringthe description of the last event
JA-80/JA-100/JA-100FlastEventClassStringthe class of the last event - e.g. arm, disarm, ...
JA-80/JA-100/JA-100FlastEventInvokerStringthe invoker of the last event
JA-80/JA-100/JA-100FlastEventTimeDateTimethe time of the last event
JA-80/JA-100/JA-100FlastCheckTimeDateTimethe time of the last checking
JA-80/JA-100/JA-100FalarmN/Athe alarm trigger, might fire ALARM or TAMPER events
JA-80/JA-100/JA-100FlastEventSectionStringthe section of the last event
JA-100state_%nr%Stringthe section %nr% status/control
JA-100pgm_%nr%Switchthe PG switch %nr% status/control
JA-100thermometer_%nr%Number:Temperaturethe thermometer %nr% value
JA-100thermostat_%nr%Number:Temperaturethe thermostat %nr% value
JA-100Fsec-%nr%Stringthe section %nr% status/control
JA-100Fpg-%nr%Switchthe PG switch %nr% status/control
JA-100Fthm-%nr%Number:Temperaturethe thermometer %nr% value

The state, pgm, thermometer, thermostat, sec and pg channels for the JA-100/JA-100F alarms are dynamically created according to your configuration.

  • The sections are represented by String channels (with possible values "set", "unset", and "partialSet" for JA-100 and possible values "ARM", "PARTIAL_ARM", and "DISARM" for JA-100F)

Full Example ​

Items file for JA-80 ​

java
String  HouseAlarm "Alarm [%s]" <alarm>
String JablotronCode { channel="jablotron:oasis:8c93a5ed:50139:command", autoupdate="false" }
Switch ArmSectionA "Garage arming" <jablotron> (Alarm) { channel="jablotron:oasis:8c93a5ed:50139:statusA" }
Switch ArmSectionAB "1st floor arming" <jablotron> (Alarm) { channel="jablotron:oasis:8c93a5ed:50139:statusB" }
Switch ArmSectionABC "2nd floor arming" <jablotron> (Alarm) { channel="jablotron:oasis:8c93a5ed:50139:statusABC" }
String LastEvent "Last event code [%s]" <jablotron> { channel="jablotron:oasis:8c93a5ed:50139:lastEvent" }
String LastEventClass "Last event class [%s]" <jablotron> { channel="jablotron:oasis:8c93a5ed:50139:lastEventClass" }
String LastEventInvoker "Last event invoker [%s]" <jablotron> { channel="jablotron:oasis:8c93a5ed:50139:lastEventInvoker" }
DateTime LastEventTime "Last event [%1$td.%1$tm.%1$tY %1$tR]" <clock> { channel="jablotron:oasis:8c93a5ed:50139:lastEventTime" }
DateTime LastCheckTime "Last check [%1$td.%1$tm.%1$tY %1$tR]" <clock> { channel="jablotron:oasis:8c93a5ed:50139:lastCheckTime" }
Switch ArmControlPGX "PGX" <jablotron> (Alarm) { channel="jablotron:oasis:8c93a5ed:50139:statusPGX" }
Switch ArmControlPGY "PGY" <jablotron> (Alarm) { channel="jablotron:oasis:8c93a5ed:50139:statusPGY" }

Sitemap example for JA-80 ​

dsl
Text item=HouseAlarm icon="alarm" {
          Switch item=ArmSectionA
          Switch item=ArmSectionAB
          Switch item=ArmSectionABC
          Text item=LastEvent
          Text item=LastEventInvoker
          Text item=LastEventClass
          Text item=LastEventTime
          Text item=LastCheckTime
          Switch item=ArmControlPGX
          Switch item=ArmControlPGY
          Switch item=JablotronCode label="Arm" mappings=[1234=" A ", 2345=" B ", 3456="ABC"]
          Switch item=JablotronCode label="Disarm" mappings=[9876="Disarm"]
      }

Rule example for JA-80 ​

rules
rule "Alarm"
when
  Item ArmSectionA changed or Item ArmSectionAB changed or Item ArmSectionABC changed or
  System started
then
   if( ArmSectionA.state == ON || ArmSectionAB.state == ON || ArmSectionABC.state == ON)
   {   postUpdate(HouseAlarm, "partial")  }
   if( ArmSectionA.state == OFF && ArmSectionAB.state == OFF && ArmSectionABC.state == OFF)
   {   postUpdate(HouseAlarm, "disarmed") }
   if( ArmSectionA.state == ON && ArmSectionAB.state == ON && ArmSectionABC.state == ON)
   {   postUpdate(HouseAlarm, "armed")    }
end

rule "Jablotron alarm trigger"
when
    Channel "jablotron:oasis:8c93a5ed:50139:alarm" triggered
then
    logInfo("default.rules", "Jablotron triggered " + receivedEvent.getEvent())
end