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.0.tar.gz (13.9 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.0-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pigsydust-0.1.0.tar.gz
  • Upload date:
  • Size: 13.9 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.0.tar.gz
Algorithm Hash digest
SHA256 0fc895624a005d8f96e375bde49c6387c582aa6bdbd8905d80e5f0b51aaa15c2
MD5 bf6ce4a2ebbfdcaebbdb295e597750c7
BLAKE2b-256 bdc33f60112bf4efae092331133f97abe239b8224a87d531133bc684723f4da7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pigsydust-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.8 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5f3cf106e8caea8b5a472f4306a1ff09f6198c80efe916e3accdf8271403c01c
MD5 4ecee083735724108c253fd6b55bf5d5
BLAKE2b-256 2364def0926a5a267f6476e9bf5f4fdd9ff7bc09c82b00bbed9a0fa7b8597699

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