I'm testing out the ir
folder from the repo on my Flipper and encountered an issue where many do not load anything in the UI for the Flipper, and generate an error in debug logging (see below).
These files (any many more) cause this issue, on at least the NEC/Panasonic protocols:
https://github.com/Spexivus/csv2ir/blob/main/ir/2wire/Unknown_2wire.ir
https://github.com/Spexivus/csv2ir/blob/main/ir/Panasonic/TV1.ir
After troubleshooting a bit with one of the Flipper maintainers on the discord, the address on the first 2wire example was determined to likely be NEC Extended (NECext), not regular NEC. There appears to be 4 different NEC protocols that are supported by the flipper, but this isn't being specified in the converted IR files. (See: https://github.com/flipperdevices/flipperzero-firmware/blob/dev/lib/infrared/encoder_decoder/nec/infrared_nec_spec.c
Here is an output for the first IR file that was tested:
36931 [E][InfraredParser]: Address is out of range (mask 0x000000FF): 0x2020
However, could the following item be related? I noticed in the python script that the Device and Sub-device are checked but then Device is used twice (row1 row1) in the output? https://github.com/Spexivus/csv2ir/blob/6d701c0873003a865740a77fbce1ccd621cfb565/csv2ir.py#L67