Skip to content

Releases: hostcc/pyg90alarm

2.2.0

26 May 18:33
46f8a66
Compare
Choose a tag to compare

What's Changed

  • @hostcc in #57: Support for sensor and device registration
    • Added support for registering sensors and devices with the G90 alarm panel. Sensor registration utilizes notifications the panel sends when a new sensor is added and refreshes the list of sensors to reflect the change. Contrary, the device registration does not have an associated panel's notification, hence uses polling to check when new device is added.

    • Sensor and device definitions are now split into G90SensorDefinitions and G90DeviceDefinitions classes, to distinguish between those.

    • ❗ Breaking change: G90SensorTypes has been renamed to G90PeripheralTypes, since it is now used for both sensor and device definitions.

    • Two more callbacks have been added to G90Alarm - sensor_list_change_callback and device_list_change_callback, which are invoked when sensor or device list changes, respectively. Please notes those are generated by the package internally, and may not have associated panel's notifications

    • ❗ Breaking change: All user-visible callbacks of G90Alarm and G90Sensor classes are now
      instances of G90CallbackList class, which allows for multiple callbacks for the same event.

      For compatibility reasons the properties to set such callbacks add the value to the callback list internally. Alternatively, the return values from the properties could be used to access methods of underlying G90CallbackList class - for example, G90Alarm(...).sensor_callback.add(callback) or G90Alarm(...).sensor_callback.remove(callback) methods could be used to add or remove the callback, respectively

    • G90BaseCommand now handles failures and errors if reported by the panel

Full Changelog: 2.1.1...2.2.0

2.1.1

12 May 20:06
826a091
Compare
Choose a tag to compare

What's Changed

  • fix: Export G90AlertConfigFlags from pyg90alarm module by @hostcc in #56

Full Changelog: 2.1.0...2.1.1

2.1.0

11 May 12:56
9c168a0
Compare
Choose a tag to compare

What's Changed

  • feat: Improved handling of sensor user flags and panel alert modes by @hostcc in #55

Full Changelog: 2.0.1...2.1.0

2.0.1

28 Apr 16:58
574f6f2
Compare
Choose a tag to compare

What's Changed

  • fix: G90Alarm.use_cloud_notifications() type annotations by @hostcc in #54

Full Changelog: 2.0.0...2.0.1

2.0.0

19 Apr 21:29
1be3d2f
Compare
Choose a tag to compare

What's Changed

Added support for cloud protocol that allows to avoid 10.10.10.250 IP address requirement, as well as having notifications even if cloud service is down. @hostcc in #53

Full Changelog: 1.20.0...2.0.0

1.20.0

19 Jan 11:23
640c6ea
Compare
Choose a tag to compare

What's Changed

  • feat: Added support for updating sensor/device lists w/o reinstantiating G90Alarm by @hostcc in #52

Full Changelog: 1.19.0...1.20.0

1.19.0

29 Dec 22:00
16b5645
Compare
Choose a tag to compare

What's Changed

  • feat: Support setting user flags on sensors by @hostcc in #51

Full Changelog: 1.18.0...1.19.0

1.18.0

28 Dec 19:05
8aad8d3
Compare
Choose a tag to compare

What's Changed

  • feat: Add callbacks for tamper and door open when arming by @hostcc in #50

Full Changelog: 1.17.2...1.18.0

1.17.2

28 Dec 12:49
9047bbf
Compare
Choose a tag to compare

What's Changed

  • fix: Ensure consistent results when retrieving list of devices and sensors concurrently by @hostcc in #48
  • fix: Use trusted publishing for PyPi by @hostcc in #49

Full Changelog: 1.17.1...1.17.2

1.17.1

17 Dec 19:38
d2e1c30
Compare
Choose a tag to compare

What's Changed

  • fix: Disable device GUID verification when simulating alerts from history by @hostcc in #47

Full Changelog: 1.17.0...1.17.1