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.6.tar.gz (14.5 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.6-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pigsydust-0.1.6.tar.gz
  • Upload date:
  • Size: 14.5 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.6.tar.gz
Algorithm Hash digest
SHA256 a7470af1a84067b76c1231f4f0c227befa500e9a6d06c5541db776c1d6e35d32
MD5 353e49fe02ccd1c79f16d0513584dc72
BLAKE2b-256 1978e060da2a5b76e0ae18e0bc8ae160f41b45c1685ed3db2b59e65d2dfede23

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pigsydust-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 12.4 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 0448974746518a02f93de702948672cdd72e8135f3c7fb38740762065db779b8
MD5 375984fc5569c372b037bcdc2359e8f9
BLAKE2b-256 98c878dd04c8b1588e4e748d161c2465bbb0f596d1952efa863a41ba002c31db

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