bitbuckedconverter's People
Forkers
anazh quinnhosler keteflips sannnuser gigiame ptrooms andreteixeira1998 davidrcwalker rpavlik paule1120 glynhudson harzt s0mm3rb juergen56 marksmanazbitbuckedconverter's Issues
License?
I realized there's no license in this repo. I have a fixed version that works with new Tasmota, uses requests instead of pycurl for easier use on Windows, etc, but I can't distribute it without a license.
Tasmota (8.3.1) log line is not valid
8.3.1 (maybe some older version too) logs rfcodes with time like this:
00:11:23 MQT: tasmota_434A6E/tele/RESULT = {"Time":"1970-01-01T00:11:23","RfRaw":{"Data":"AA B1 03 02EE 00E6 1D7E 01101001100110011010101010010101010110010110100112 55"}}
Entering this line to STDIN works fine but when reading such line from a file doesn't. This line of code doesn't recognize it as a valid line:
bitbuckedconverter/BitBucketConverter
Line 271 in 4b67f94
Simple fix for that is just remove leading {
from the string:
- if '"{RfRaw":{"Data":"AA B1' in line:
+ if '"RfRaw":{"Data":"AA B1' in line:
Because filterInputStr()
function is looking AA B1
and doesn't care about that, this is the only thing that needs to be changed.
sendCommand url fix for Tasmota 12.1.1
current code:
url = str("http://{}/ax?c2=191&c1=RfRaw%20".format(mydevice))
working for me:
url = str("http://{}/cm?cmnd=RfRaw%20".format(mydevice))
how do i install / execute this ?
hi
i am newbie and would liek to underatsn how i can use the python file
thanks in advance for the help
Error with -e Flag
When using the -e flag, I receive the following error. This is with a Sonoff RF Bridge v2 1.0 with tasmota 6.1.1 and the latest Portisch firmware on the RF chip.
What am I missing?
`c:\Python27>python.exe BitBucketConverter.py -f console.txt -e 192.168.0.111
Processing line 02:15:16 MQT: tele/sonoff/RF_Bridge/RESULT = {"RfRaw":{"Data":"AA B1 03 0136 0294 262A 00101011001011001010101010110010101011010102 55"}}
Filtered 0xB1 data: AAB10301360294262A0010101100101100101010101011001010101101010255
Decoded value: 0x24087
http://192.168.0.111/ax?c2=191&c1=RfRaw%20AA%20B0%201E%2003%2004%200136%200294%20262A%2020010101100101100101010101011001010101101010%2055
Sending command to bridge
Traceback (most recent call last):
File "BitBucketConverter.py", line 329, in
parse_file(options.file)
File "BitBucketConverter.py", line 274, in parse_file
, options.repeat)
File "BitBucketConverter.py", line 262, in main
sendCommand(szOutAux, options.device)
File "BitBucketConverter.py", line 67, in sendCommand
c.setopt(c.WRITEDATA, buffer)
TypeError: invalid arguments to setopt`
No successful commands
Hi
i just tried some power plugs from etekcity. In tasmota i used the rfkey 177 command to get all commands but the converter just outputs
Filtered 0xB1 data: AAB10400D201FE009616C6B8181818181928192818181928192819281818181818181855
Failed to decode buckets...
Or:
Filtered 0xB1 data: AAB10300BE020816082818181818190819081819090819081908181818181819090855
Decoded value: 0x0
And sending those commands to tasmota does nothing.
Am i doing something wrong or is it just not possible to use those atm?
Question about sendcommand function
Just trying to figure out what the ax? command within webrequests is for tasmota:
url = str("http://{}/ax?c2=191&c1=RfRaw%20".format(mydevice))
i cant seem to find any documentation about it anywhere.
Thanks
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.