A clone of: https://github.com/nutechsoftware/alarmdecoder This is requires as they dropped support for older firmware releases w/o building in backward compatibility code, and they had previously hardcoded pyserial to a python2 only version.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
356 B

  1. """
  2. Representations of Panels and their templates.
  3. .. moduleauthor:: Scott Petersen <scott@nutech.com>
  4. """
  5. ADEMCO = 0
  6. DSC = 1
  7. PANEL_TYPES = {
  8. 'A': ADEMCO,
  9. 'D': DSC,
  10. }
  11. VISTA20 = 0
  12. TEMPLATES = {
  13. VISTA20: {
  14. 'name': 'Vista 20',
  15. # number of expanders, starting_address, number of channels
  16. 'expanders': (5, 7, 7)
  17. }
  18. }