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`
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`