Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed .DS_Store
Binary file not shown.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*.DS_Store
*.o
status.json
configuration.inc.php
5 changes: 5 additions & 0 deletions README.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ Have you ever wanted to wirelessly control power outlets from your phone using a

**Blog Post:** [TimLeland.com/wireless-power-outlets](https://timleland.com/wireless-power-outlets/)

Homebridge
* A sample configuration file for the [Homebridge HTTP plugin](https://github.com/rudders/homebridge-http) is included at `homebridge-http.config.json.sample`
* You may want to set a longer polling interval following the instructions [here](https://github.com/rudders/homebridge-http/issues/76)
* Please note that the status tracking for Homebridge does not yet support receiving RF signals from the remote

Voice Control Outlets (Follow up Guides)
* [Siri using HomeBridge](https://timleland.com/use-siri-to-control-wireless-power-outlets-homebridge/)
* [Google Home](https://timleland.com/use-google-home-to-control-wireless-power-outlets/)
Expand Down
Binary file removed RFSniffer
Binary file not shown.
Binary file removed RFSource/.DS_Store
Binary file not shown.
22 changes: 10 additions & 12 deletions RFSource/Makefile
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
all: send codesend RFSniffer

send: RCSwitch.o send.o
$(CXX) $(CXXFLAGS) $(LDFLAGS) $+ -o $@ -lwiringPi

codesend: RCSwitch.o codesend.o
$(CXX) $(CXXFLAGS) $(LDFLAGS) $+ -o $@ -lwiringPi

RFSniffer: RCSwitch.o RFSniffer.o
CXXFLAGS = -D RPI
all: codesend sniffer

codesend: RCSwitch.o shared_mutex.c RFOutlet.c codesend.o
$(CXX) $(CXXFLAGS) $(LDFLAGS) $+ -o $@ -lwiringPi -pthread -lrt

sniffer: RCSwitch.o RFOutlet.c sniffer.o
$(CXX) $(CXXFLAGS) $(LDFLAGS) $+ -o $@ -lwiringPi



clean:
$(RM) *.o send codesend servo RFSniffer
$(RM) *.o codesend sniffer

Loading