Skip to main content

Smockeo API crawler

Project description

# smockrawl

Basic Smockeo API crawler.

## Usage:

Initialisation: mySmockeo = Smockeo(username, password, detectorId, loop, session)

Where loop is an asyncio event loop and session an aiohttp session. Have a look at the code in __main__.py to see how this can work.

Authentication: mySmockeo.authenticate()

Poll the sensor: mySmockeo.poll()

Following this, properties such as the sensor state, battery level or the last alarm can be read from the object.

An info reading can be printed with: mySmockeo.print_status()

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

smockrawl-0.2.2.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

smockrawl-0.2.2-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file smockrawl-0.2.2.tar.gz.

File metadata

  • Download URL: smockrawl-0.2.2.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for smockrawl-0.2.2.tar.gz
Algorithm Hash digest
SHA256 11f90167242512194cd16b3679ce69b2de4ab47ce7bc821199a2a52987893f03
MD5 3094ab9f0661d41c2ef34b9b11326c45
BLAKE2b-256 3979bca286591fa48152468190a04d523a38cd3dc7af3a2092d39557612bb3c1

See more details on using hashes here.

File details

Details for the file smockrawl-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: smockrawl-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for smockrawl-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 34ae50238cb7ef3a5814507fa42beb1a491253ea0213727627290a194f95967f
MD5 9aca8ff3b0e2fc21b34ff0d85e87da30
BLAKE2b-256 7b36d37384a3f4602bdb7acb273e1dbf5943980a7eab8252a914acb6f95550ba

See more details on using hashes here.

Supported by

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