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
- Docs: edgeconductor.com/developers
- API Keys: Login → /org/settings → API Keys
- Support: edgeconductor@gmail.com
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98d510bd4aed9f03ec3e922acdb99416d73ac48eb20aeb8dfae6a65e895a114e
|
|
| MD5 |
f0faf0a9796e535a3808a8bf91390215
|
|
| BLAKE2b-256 |
c661906db2e8c3727d1bd8a4ceb6dc22a60ba7e69ccbb32afa00792be90037bd
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb20de3fe325f1601bbfb0813bb07e59378759877c941e9e95196499d4ad59bc
|
|
| MD5 |
f0962885fd0a857571c8f40207886a83
|
|
| BLAKE2b-256 |
0f3ae19ab50c78561c91276e9f455f96480fd0a9b5b6c0a732df9008fc4888c9
|