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.4.tar.gz (29.6 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.4-py3-none-any.whl (44.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kallistoapi-2.0.4.tar.gz
  • Upload date:
  • Size: 29.6 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.4.tar.gz
Algorithm Hash digest
SHA256 d8290aa3f7bb857b59282d0da21173ebec3bb4e0f40fc37d4532367b73335ec3
MD5 a7864698ac2524660b6af66d9a1dca9e
BLAKE2b-256 9a243baa341ce95f6890195d1ac7feb29c5fcbaa7b904cd0b6f7622efe5c1687

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kallistoapi-2.0.4-py3-none-any.whl
  • Upload date:
  • Size: 44.7 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3c376d819b6622b636b5f1ecd9a02afa505ecf82d1b9da6473ff366aa4947793
MD5 ac0f1b17a1dd563d583ceb7e569c8e9f
BLAKE2b-256 b4d3032f6983d649599299e1943381b66e2a16acf5322dd0872c5796a9173e48

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