-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added function to scan a file that contains the output of the Sonoff Console while reading commands with rfraw 177 command. Process: -Run rfraw 177 in your SonOff console -Push all your remote (each Button 2-3 times) -Save everything from the console that happened after rfraw 177 to a file, e.g. console.txt a) Run bitbuckedconverter.py -f console.txt b) Run bitbuckedconverter.py -f console.txt -e <IP of your Bridge> In case of a) each line of console.txt will be converted into a B0 string and displayed In case of b) each line of console.txt will be converted into a B0 string and send to the Bridge. Then: -if the device reacted as expeced, you can enter a name of the button (e.g. "light") -else enter nothing to try the next. -repeat this until all lines have been tried. -The tool will create a list of buttons -and their B0 codes- that have worked (i.e. for which you have specified a name) -In the end you can test all of these codes.
- Loading branch information
Showing
1 changed file
with
61 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters