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.5.tar.gz (14.4 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.5-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pigsydust-0.1.5.tar.gz
  • Upload date:
  • Size: 14.4 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.5.tar.gz
Algorithm Hash digest
SHA256 aeb72a35db8cc783f4799afbb10fe03739d4d9f5f885fa1490dca9500c6a0975
MD5 1cddbc7ab51f406d272797572614db71
BLAKE2b-256 a1027d2c3b1ffef8cc97a01fa2318b31fb8bb5d42ee50d91160a5e913c22c5d1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pigsydust-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 12.2 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 3171e419b1474c29f354d80cb73f30fd1d9ab2ee5c556377063090d9df533490
MD5 49029121821796f92a5b3b7bfaf38192
BLAKE2b-256 7994c3809161d315c2e48c91765bdebe95a83bcd2a2a4e0e6b70e92b43d6332c

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