solight-dy08 1.0.0

Creator: bradpython12

Last updated:

0 purchases

TODO
Add to Cart

Description:

solightdy08 1.0.0

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

import time
import pigpio
from dy08 import DY08

pi = pigpio.pi()
dy08 = DY08(pi, 17)

while True:
dy08.send(42, 1)
time.sleep(1)
dy08.send(42, 0)
time.sleep(1)

...
Profit! :D
License
MITNFA

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.