-
Fototrend
Okos Otthon összefoglaló
Új hozzászólás Aktív témák
-
vampire17
addikt
Ezt (gondolom) olvastad, mert latom hogy ezt a python scriptet hasznalod, de azert beszurom, mert eleg reszletesen leirja, hogy kell B1-bol B0-at konvertalni.
# Interactive Process to learn Codes:
# -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
# 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 codesAkkor fix kodos, ha a data resz ismetlodik: hogy melyik a data, azt az itt levo tablazat alapjan ki tudod talalni (pici matek kell meg, biteket ide oda csusztatni...): [link]
A te kodod nem ugrokodos. Ha jol ertelmezem
A scriptel el tudsz allitani B0-at, amit ha elkuldesz az RF bridge-nek (pl mqtt-n, domobol) kene hogy mukodjon.
[ Szerkesztve ]
Új hozzászólás Aktív témák
Állásajánlatok
Cég: Ozeki Kft
Város: Debrecen
Cég: Ozeki Kft
Város: Debrecen