Jed Posted March 24, 2018 Report Share Posted March 24, 2018 I'm trying to use flirc_util to transmit IR commands to my TV. My long term goal is to talk to libreelec/kodi via json rpc, the have kodi call a script, and have that script call flirc_util to send commands to the tv. Anyways, I'm going one step at a time here... I am calling send_ir_raw from my macbook to just test controlling volume on my TV. How do I get the this CSV format of IR codes? I dont see any way to dump learned IR codes in this format using the API. I'm trying to replicate this screenshot format http://cl.flirc.io/lrs8/o TIA Quote Link to comment Share on other sites More sharing options...
jason Posted March 24, 2018 Report Share Posted March 24, 2018 Ah, that's not a CSV format. That's a list of times in ms. We are capturing the IR waveform with the GUI. Go to file->Device Log. Then click enable IR debugging. Any buttons pressed will then show up in the log window. Quote Link to comment Share on other sites More sharing options...
Jed Posted March 24, 2018 Author Report Share Posted March 24, 2018 Holy smokes, that's awesome. Thank you Jason. One more question, how do I get a build of flirc_util that can run on libreelec / rasp pi? Quote Link to comment Share on other sites More sharing options...
Jed Posted March 24, 2018 Author Report Share Posted March 24, 2018 Seems like there's no libreelec binary that I can find. I'm thinking about trying OSMC instead because it says here https://osmc.tv/wiki/general/installing-packages-via-apt/ that it's based on debian, so is it safef to assume that I can run flirc on it? Is there an pi distro running kodi that you can recommend? Thanks again Quote Link to comment Share on other sites More sharing options...
yawor Posted March 25, 2018 Report Share Posted March 25, 2018 It's not about specific distribution, but about the CPU architecture. You need version for ARM CPU. You can try to downloading and running this package http://apt.flirc.tv/arch/raspbian/binary/flirc-3.9.6.raspbian.tar.gz on libreelec. Unless it's missing some libraries there's a chance that it'll work. Quote Link to comment Share on other sites More sharing options...
Jed Posted March 25, 2018 Author Report Share Posted March 25, 2018 Yea it works fine on OSMC, but not libreelec because it's missing dependancies. I followed the linux generic install for arm as listed here https://flirc.tv/ubuntu-software-installation-guide Pretty sweet to be able to control volume/power from the web and other non IR devices Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.