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.3.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.3-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pigsydust-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 b9ede215453472acf01cdd716674b80f93eff4aa8d0c6f8da68993979c5a2902
MD5 2090c1632a13820d574877717c29e504
BLAKE2b-256 21b1027cba7a9f1f95e2c5622e0171edd276e9dac6ccf58bbfeac08389a55282

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pigsydust-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 272f97232ff16cd05756bc28d7cfc31455bd9358d4ccf7df893fa7227c3d6202
MD5 3315e8289487ff8ce919f616649177ed
BLAKE2b-256 f0121ea2630e7183208c1565293258b08a17eb1ebade413b5f8777a2358629a3

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