Skip to main content

Python library for controlling SAL Pixie BLE mesh wall switches

Project description

pigsydust

Python library for controlling SAL Pixie BLE mesh wall switches.

Installation

pip install pigsydust

Quick Start

import asyncio
from pigsydust import PixieClient

async def main():
    client = PixieClient("AA:BB:CC:DD:EE:FF")
    await client.connect()
    await client.login("Smart Light", "12345678")

    await client.turn_on(0x0001)

    status = await client.query_status()
    for addr, ds in status.items():
        print(f"Device {addr}: {'ON' if ds.is_on else 'OFF'}")

    await client.disconnect()

asyncio.run(main())

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

pigsydust-0.1.7.tar.gz (14.6 kB view details)

Uploaded Source

Built Distribution

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

pigsydust-0.1.7-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file pigsydust-0.1.7.tar.gz.

File metadata

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

File hashes

Hashes for pigsydust-0.1.7.tar.gz
Algorithm Hash digest
SHA256 eb641d90bd029d248a338573390f54d595cb4d5022617bf48faa5f3d4c085af0
MD5 211883cf44a84029d5057729028f949e
BLAKE2b-256 eb9b670bfcfdc2e7b894d874ea6ad838e401c039469500a10a7ec1b385870f9e

See more details on using hashes here.

File details

Details for the file pigsydust-0.1.7-py3-none-any.whl.

File metadata

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

File hashes

Hashes for pigsydust-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 89c6d3b1ec9d40bddded9891c7da0e9164266cd065ac72e2688721c79c0c617b
MD5 6b173541422f3218583c698e58752ae4
BLAKE2b-256 338bf0cdc6075dfc3d02b0f1629e7bfe87bf5c1c74b701752b6f15e97ba20066

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