Skip to main content

Python client for sending alarm information via SOS Access v4

Project description

sos-access

Python client for sending alarm information via SOS Access v4

Installation

Python version supported: 3.6+

pip install sos-access

Example usage:

client = SOSAccessClient(
    transmitter_code='IK00001',
    transmitter_type='SV001',
    authentication='012345678912345',
    receiver_address=('alarm.example.com',1234),
    receiver_id='ALARM-OPER',
    use_single_receiver=True,
    use_tls=True
)

client.send_alarm(event_code='AL')

Documentation

See full documentation on https://sos-access.readthedocs.io

Changelog

The format is based on Keep a Changelog: https://keepachangelog.com/en/1.0.0/, and this project adheres to Semantic Versioning: https://semver.org/spec/v2.0.0.html

Unreleased

Added

Changed

Deprecated

Removed

Fixed

Security

0.0.8 (2021-08-26)

Fixed

  • Fixed #17. newauthentication should be optional since it is not in the data when a password change request was rejected due to wrong password

0.0.7 (2020-03-06)

Fixed

  • Fixed #11. Error in docstring.
  • Fixed #10. additional_info on AlarmRequest as dict did not convert to string.
  • Fixed #12. Encoding error when sending to some alarm receives.

0.0.6 (2020-02-06)

Fixed

  • Upgraded marshmallow to 3.4 and fixed version in installation. Fixes: #6

Changed

  • No exception logging in retry decorator since it creates noise in Sentry.

0.0.5 (2019-01-07)

First client implementation ready for production use. Previous version was development versions and had some bugs in it. It still doesn't support all features but can be used without things breaking. Verified against SOS Alarm's alarm system.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sos-access-0.0.8.tar.gz (13.5 kB view details)

Uploaded Source

Built Distribution

sos_access-0.0.8-py3-none-any.whl (19.7 kB view details)

Uploaded Python 3

File details

Details for the file sos-access-0.0.8.tar.gz.

File metadata

  • Download URL: sos-access-0.0.8.tar.gz
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.20.0 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.4

File hashes

Hashes for sos-access-0.0.8.tar.gz
Algorithm Hash digest
SHA256 8442b637bc76bf9df15ef862fbd8d67c8ae0691d4be3c06ae427849a56774500
MD5 05a8e6f167af204c9463d0314422fa73
BLAKE2b-256 7b42d8e137645034ca34e1d59f62cf0681d26f82112020631ed57040779e7c20

See more details on using hashes here.

File details

Details for the file sos_access-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: sos_access-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 19.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.20.0 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.4

File hashes

Hashes for sos_access-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 ef5959c2898ee817a71bb0ac03c42d5c16d7d31c117c5c14837d33eba0346a37
MD5 d3668af9bea0902b68ebf49f9ec78a4c
BLAKE2b-256 894e98bd84632051227fa3a58a136c4dfb9eb861a40dbdca9686bfaa36410ea5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page