Shared about my first hardware project at Hackware 3.0
https://hackernoon.com/diy-home-automation-fan-control-with-raspberry-pi-3-rf-transmitter-and-homebridge-59ad24845770
2. SG NextBus Action on Google
Ask Google Home for bus arrival time in Singapore
https://hackernoon.com/a-smart-home-with-sg-nextbus-using-google-home-amazon-echo-704342089727
https://www.youtube.com/watch?v=mKIMRMXpZeY
7. Steps
• Set up Raspberry Pi 3
• LED tutorial
• Learn the remote RF signal
• Broadcast RF signal to test
• HomeKit integration
• API to broadcast the signal
• Homebridge plugin
11. Steps
• Set up Raspberry Pi 3
• LED tutorial
• Learn the remote RF signal
• Broadcast RF signal to test
• HomeKit integration
• API to broadcast the signal
• Homebridge plugin
12. Learning the remote RF
signals
• Install pilight
• Configure config.json to set the sender &
receiver value
Based on tutorial from http://stevenhickson.blogspot.sg/2015/02/control-anything-
electrical-with.html
16. Learning the remote RF
signals
• Install pilight
• Configure config.json to set the sender &
receiver value
Based on tutorial from http://stevenhickson.blogspot.sg/2015/02/control-anything-
electrical-with.html
17. Learning the remote RF
signals
• Install pilight
• Configure config.json to set the sender &
receiver value
• Use pilight-debug to read RF signals from
remote
Based on tutorial from http://stevenhickson.blogspot.sg/2015/02/control-anything-
electrical-with.html
19. Steps
• Set up Raspberry Pi 3
• LED tutorial
• Learn the remote RF signal
• Broadcast RF signal to test
• HomeKit integration
• API to broadcast the signal
• Homebridge plugin
20. Broadcasting RF signals
• Use pilight-send to broadcast the RF signal
Based on tutorial from http://stevenhickson.blogspot.sg/2015/02/control-anything-
electrical-with.html
21. Broadcasting RF signals
• Use pilight-send to broadcast the RF signal
Based on tutorial from http://stevenhickson.blogspot.sg/2015/02/control-anything-
electrical-with.html
23. Broadcasting RF signals
• Use pilight-send to broadcast the RF signal
• Repeat for all buttons on the RF remote
Based on tutorial from http://stevenhickson.blogspot.sg/2015/02/control-anything-
electrical-with.html
24. Steps
• Set up Raspberry Pi 3
• LED tutorial
• Learn the remote RF signal
• Broadcast RF signal to test
• HomeKit integration
• API to broadcast the signal
• Homebridge plugin
25. HomeKit integration
• Homebridge: open-sourced
NodeJS server to emulate iOS
HomeKit API
https://github.com/nfarina/
homebridge
• Runs on Raspberry Pi
• Add new accessory support
with Homebridge plugin
27. API to broadcast signals
• REST APIs with Python/Flask to execute pilight-
send with command line.
https://github.com/honcheng/rfremote-fan-api
28.
29. Homebridge plugin
• Modified an existing Homebridge plugin:
homebridge-tosrox-fan that controls a 3-speed
TOSRox fan.
• Calls the new API to control my fan.
https://github.com/honcheng/homebridge-rfremote-fan
30. Homebridge plugin
• Modified an existing Homebridge plugin:
homebridge-tosrox-fan that controls a 3-speed
TOSRox fan.
• Calls the new API to control my fan.
https://github.com/honcheng/homebridge-rfremote-fan
• Configure Homebridge to add the fans
32. Homebridge plugin
• Modified an existing Homebridge plugin:
homebridge-tosrox-fan that controls a 3-speed
TOSRox fan.
• Calls the new API to control my fan.
https://github.com/honcheng/homebridge-rfremote-fan
• Configure Homebridge to add the fans
33. Homebridge plugin
• Modified an existing Homebridge plugin:
homebridge-tosrox-fan that controls a 3-speed
TOSRox fan.
• Calls the new API to control my fan.
https://github.com/honcheng/homebridge-rfremote-fan
• Configure Homebridge to add the fans
• Restart Homebridge
41. How I automated My Home Fan with Raspberry Pi 3, RF
Transmitter and Homebridge
https://hackernoon.com/diy-home-automation-fan-
control-with-raspberry-pi-3-rf-transmitter-and-
homebridge-59ad24845770
A Smart Home with SG NextBus using Google Home
and Amazon Echo
https://hackernoon.com/a-smart-home-with-sg-nextbus-
using-google-home-amazon-echo-704342089727
Twitter @honcheng