Smart plug for Amazon Echo working with 433MHz plug working with ha-bridge
- Python
- Flask
- ha-bridge - bwssytems/ha-bridge
pulse 175 (between 175 and 180)
0:
on: 1054003
off: 1054012
1:
on: 1054147
off: 1054156
2:
on: 1054467
off: 1054476
cd /root/
apt-get install git
apt-get install python3-pip
apt-get install openjdk-8-jre-headless
# wiringPi
git clone git://git.drogon.net/wiringPi
cd wiringPi
./build
# 433Utils
git clone --recursive git://github.com/ninjablocks/433Utils.git
cd 433Utils/RPi_utils
make
# download ha-bridge
wget https://github.com/bwssytems/ha-bridge/releases/download/v5.2.1/ha-bridge-5.2.1.jar
# flask
pip3 install Flask
git clone https://github.com/LionelJouin/Alexa-Raspberry-Smart-Plug-433MHz.git
[Unit]
Description=HA Bridge
Wants=network.target
After=network.target
[Service]
Type=simple
WorkingDirectory=/root/ha-bridge
ExecStart=/usr/bin/java -jar -Dconfig.file=/root/ha-bridge/data/habridge.config /root/ha-bridge/ha-bridge-5.2.1.jar
[Install]
WantedBy=multi-user.target
[Unit]
Description=433MHz Flask
Wants=network.target
After=network.target
[Service]
Type=simple
WorkingDirectory=/root/
ExecStart=/usr/bin/python3 /root/Alexa-Raspberry-Smart-Plug-433MHz/server.py
[Install]
WantedBy=multi-user.target
# /etc/systemd/system
systemctl daemon-reload
systemctl start ha-bridge.service
systemctl enable ha-bridge.service
systemctl start server-433.service
systemctl enable server-433.service
- fauxmo - makermusings/fauxmo
- fauxmo (fork) - n8henrie/fauxmo
- fork fauxmo - n8henrie/fauxmo
- 433Utils - ninjablocks/433Utils
- rfoutlet - timleland/rfoutlet
- tutoriel ha-bridge (FR)
- Raspberry pins
- 433MHz
- 433MHz
- 433MHz
- Lionel Jouin - LionelJouin
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details