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.3.tar.gz (31.7 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.3-py3-none-any.whl (46.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kallistoapi-2.0.3.tar.gz
  • Upload date:
  • Size: 31.7 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.3.tar.gz
Algorithm Hash digest
SHA256 3800f6dfa7d1f3b4c9ceeb10ae430c8bac897f75938204fc2b7b2590b3605f1e
MD5 d7ad84182449ba512d977fa9f9824e12
BLAKE2b-256 44046856f7a40f18edaf1372b83095d3d1293e5a44cc69d9f1c2d459fdc4a17c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kallistoapi-2.0.3-py3-none-any.whl
  • Upload date:
  • Size: 46.5 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8e58211ce584d7a62020ca9c10805ff80644cf1ee72b6a43cad8fc5c7ddfddad
MD5 16d62504a96deba751a51e6e117f8414
BLAKE2b-256 77242effae649a591cab3d22f55b3f92d2cbf61fb28f94950a3a14b42ca7c6da

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