Skip to content

Latest commit

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Python Solight DY08 library for Raspberry Pi

This library allows you to control Solight DY08 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-python
sudo pigpiod
importtimeimportpigpiofromdy08importDY08pi=pigpio.pi()
dy08=DY08(pi, 17)
whileTrue:
dy08.send(42, 1)
time.sleep(1)
dy08.send(42, 0)
time.sleep(1)

...

Profit! :D

License

MITNFA

About

Python library for controlling Solight DY08 sockets from Raspberry Pi

Resources

Stars

3 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages