Skip to main content

Official Python SDK for the EdgeConductor IoT Platform

Project description

edgeconductor

Official Python SDK for the EdgeConductor IoT Platform.

Installation

pip install edgeconductor

Quick Start

from edgeconductor import Client

ec = Client(
    api_key  = "ec_live_xxxxxxxxxxxx",   # from /org/settings → API Keys
    base_url = "https://ec-registry.onrender.com",
)

# Register device
ec.devices.register(serial_no="MY-001", product_type="EC-CLIMATE-V1")

# Push telemetry
ec.telemetry.push("MY-001", temp=24.5, hum=60, co2=850, bat=4.05)

# Get current state
shadow = ec.devices.get_shadow("MY-001")
print(shadow)  # {"temp": 24.5, "hum": 60, ...}

# Create automation rule
ec.rules.threshold(
    org_id, name="CO₂ Alert",
    field="co2", op=">", value=1000,
    action={"key": "relay", "value": True},
)

Links

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

edgeconductor-0.1.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

edgeconductor-0.1.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file edgeconductor-0.1.0.tar.gz.

File metadata

  • Download URL: edgeconductor-0.1.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for edgeconductor-0.1.0.tar.gz
Algorithm Hash digest
SHA256 98d510bd4aed9f03ec3e922acdb99416d73ac48eb20aeb8dfae6a65e895a114e
MD5 f0faf0a9796e535a3808a8bf91390215
BLAKE2b-256 c661906db2e8c3727d1bd8a4ceb6dc22a60ba7e69ccbb32afa00792be90037bd

See more details on using hashes here.

File details

Details for the file edgeconductor-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: edgeconductor-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for edgeconductor-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fb20de3fe325f1601bbfb0813bb07e59378759877c941e9e95196499d4ad59bc
MD5 f0962885fd0a857571c8f40207886a83
BLAKE2b-256 0f3ae19ab50c78561c91276e9f455f96480fd0a9b5b6c0a732df9008fc4888c9

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