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:
|
if '{"RfRaw":{"Data":"AA B1' in line: |
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.
8.3.1 (maybe some older version too) logs rfcodes with time like this:
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:Because
filterInputStr()function is lookingAA B1and doesn't care about that, this is the only thing that needs to be changed.