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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pigsydust-0.1.4.tar.gz
  • Upload date:
  • Size: 14.3 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.4.tar.gz
Algorithm Hash digest
SHA256 efa3875c1f6861c4252655d88486391d05578275ed2ba731740bb90cd5805073
MD5 0d6d05af26fa668e1a3f9e5a57626d14
BLAKE2b-256 ad5be932af60576ad7a52808edce6a718b5472dd0cdf558577db491ee2dbc4b0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pigsydust-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 12.1 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7393eb3440277bffd272c66c6531d0627cfe49d9e5a6f599291b3451bd321923
MD5 98018afb7c0965c84470c892362b144e
BLAKE2b-256 4aef6ceaeb5a19441b965cc5c76e447d2fb755c04e666496af87e119e705a9e2

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