Skip to main content

Python Solight DY05 library for Raspberry Pi

This library allows you to control Solight DY05 sockets from Raspberry Pi.

How to use it

Connect cheap 433 MHz transmitter to any GPIO pin (e.g. 17)

sudo apt-get install pigpio
sudo pip3 install solight-dy05
sudo pigpiod
import time
import pigpio
from dy05 import DY05

pi = pigpio.pi()
dy05 = DY05(pi, 17)
address = 42
socket = 1

while True:
	dy05.send(address, socket, 1)
	time.sleep(1)
	dy05.send(address, socket, 0)
	time.sleep(1)

After running this script, you should see the socket turning on and off every second.

License

MITNFA

Metadata

Release files for solight-dy05 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for solight-dy05 1.0.0
File Size Uploaded Provenance Actions
solight-dy05-1.0.0.tar.gz 3.0 kB Without provenance Details for solight-dy05-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for solight-dy05 1.0.0
File Interpreter ABI Platform Actions
solight_dy05-1.0.0-py3-none-any.whl Python 3 none any Details for solight_dy05-1.0.0-py3-none-any.whl

Total release size: 6.7 kB

Release files / solight-dy05-1.0.0.tar.gz

Download URL solight-dy05-1.0.0.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ba35fc3edf845cc621b9483cb3e1b1b2cc59640a970a5acfec970627c4671d3a
BLAKE2b-256 checksum
How to use checksums
7a6e89d89090a783bd882b2cc2854287128121fc44b463cfd42d4c303549258c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.3

Release files / solight_dy05-1.0.0-py3-none-any.whl

Download URL solight_dy05-1.0.0-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3a622000cac232da4d7121cf012d7d119408f03803513e89a137fcb729a98d79
BLAKE2b-256 checksum
How to use checksums
b49abcaa300b96609ccdb0e90d01649b7ea9d30e64a777640c9289e674ae76e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.3

Security for solight-dy05 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page