Hi,
I'm looking at the python api but the examples available are very basic.
Is anywhere some example including sending messages (keypad numbers) and handling incoming messages?
#fake disarm
device.on_sending_received += handle_send
device.send(12341)
def handle_send(device, status, message):
print "Successful alarm panel send"
raw = None
The raw message text
timestamp = None
The timestamp of the message
ready = False
Indicates whether or not the panel is in a ready state.
armed_away = False
Indicates whether or not the panel is armed away.
armed_home = False
Indicates whether or not the panel is armed home.
backlight_on = False
Indicates whether or not the keypad backlight is on.
programming_mode = False
Indicates whether or not we’re in programming mode.
beeps = -1
Number of beeps associated with a message.
zone_bypassed = False
Indicates whether or not a zone is bypassed.
ac_power = False
Indicates whether or not the panel is on AC power.
chime_on = False
Indicates whether or not the chime is enabled.
alarm_event_occurred = False
Indicates whether or not an alarm event has occurred.
alarm_sounding = False
Indicates whether or not an alarm is sounding.
battery_low = False
Indicates whether or not there is a low battery.
entry_delay_off = False
Indicates whether or not the entry delay is enabled.
fire_alarm = False
Indicates whether or not a fire alarm is sounding.
check_zone = False
Indicates whether or not there are zones that require attention.
perimeter_only = False
Indicates whether or not the perimeter is armed.
system_fault = False
Indicates whether a system fault has occurred.
panel_type = 0
Indicates which panel type was the source of this message.
numeric_code = None
The numeric code associated with the message.
text = None
The human-readable text to be displayed on the panel LCD.
cursor_location = -1
Current cursor location on the keypad.
mask = 4294967295
Address mask this message is intended for.
bitfield = None
The bitfield associated with this message.
panel_data = None
The panel data field associated with this message.
Users browsing this forum: No registered users and 14 guests