Skip to main content

Sensry Kallisto API package

Project description

KallistoAPI Python Library

KallistoAPI is a Python library for interacting with Kallisto sensor nodes over BLE (Bluetooth Low Energy). It provides easy access to device information, time synchronization, and readings from a wide range of environmental and motion sensors.

This library is designed for developers and researchers who want to integrate Kallisto sensor data into Python applications with minimal setup.

Features

  • Connect to Kallisto sensor nodes via BLE
  • Read and update device time
  • Access a variety of sensor modules including temperature, humidity, accelerometer, gyrometer, light, pressure, gas sensors, and more

Installation

pip install kallistoapi

Quick Start

Here’s a simple example showing how to connect to a Kallisto device, and get the accelerometer values:

from time import sleep
from kallistoapi.kallisto_manager import KallistoManager
  
def handle_accel(sender, value_list):
    print("handle_accel value_list {}".format(value_list))
    
mac_address = "11:22:33:44:55:66"
kallisto = KallistoManager()

if not kallisto.connect(mac_address):
    print("Failed to connect to Kallisto")
    exit(1)

accelerometer0 = kallisto.get_module("accelerometer", 0)
accelerometer0.configure("enable", True)
accelerometer0.configure("sample_rate", "200Hz")
accelerometer0.configure("sensitivity", "8g")
accelerometer0.apply_config()

accelerometer0.start_notify(handle_accel)
sleep(20)
accelerometer0.stop_notify()

kallisto.disconnect()

Available Sensor Modules

Kallisto currently supports the following sensor modules:

Motion & Orientation (IMU)

  • vibration
  • magnetometer
  • accelerometer
  • gyrometer

Environmental / Air Quality

  • temperature
  • light
  • pressure
  • humidity
  • eco2
  • bvoc
  • iaq

ADC Sensors

  • pt100

Device & Power

  • fuel_gauge
  • tx_power
  • device_info

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

kallistoapi-2.0.5.tar.gz (30.5 kB view details)

Uploaded Source

Built Distribution

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

kallistoapi-2.0.5-py3-none-any.whl (46.2 kB view details)

Uploaded Python 3

File details

Details for the file kallistoapi-2.0.5.tar.gz.

File metadata

  • Download URL: kallistoapi-2.0.5.tar.gz
  • Upload date:
  • Size: 30.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for kallistoapi-2.0.5.tar.gz
Algorithm Hash digest
SHA256 50ea8bacba0271776cf9629fca496b86864f2c7aa6eb8bf590434f087d753bca
MD5 4d58a2a08449933ce9052bccb3081075
BLAKE2b-256 09c74d809d7064be4124d27a20c4d50401bd916600ccd5d0c523e15252305488

See more details on using hashes here.

File details

Details for the file kallistoapi-2.0.5-py3-none-any.whl.

File metadata

  • Download URL: kallistoapi-2.0.5-py3-none-any.whl
  • Upload date:
  • Size: 46.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for kallistoapi-2.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 4de3b091cb3f43f1b118308e97cebd1097c28a46592a5e7a0459918dbb2d29aa
MD5 384c89daef4c7c8c943de00c30798906
BLAKE2b-256 37906c9741ace3d1782d897394a1c5d963b472489a7b1e323bfbca8e28e56fcb

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