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.1.tar.gz (14.2 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.1-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pigsydust-0.1.1.tar.gz
  • Upload date:
  • Size: 14.2 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.1.tar.gz
Algorithm Hash digest
SHA256 ec75c8903eb3f959a5c427a05b2a99dd1db5828528c9cabf588cee32dc65ed8f
MD5 6f886af739f6a48787fe615b3da1f8eb
BLAKE2b-256 07a952b8c300c64d26d22ff0dd5bcbfd3a230d8504e1635a95bb8fb74196bf36

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pigsydust-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 12.0 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7af44cad69ccf5406f6683ade7439f190d3ab3d71308a9dd3791d88e81568f0d
MD5 98621628755dbc5c61251bbe34dcc4ff
BLAKE2b-256 326216d578228c866d260e33526d19c1e3b15d45cb425efac60ececce4fa1f9b

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