Logitech Harmony Config Parser

Hi!

I made a node script (sorry python people) to convert your logitech harmony remote .conf files into JSON. I’m personally going to use this JSON to feed a dropdown on the HA frontend. Figured I’d share it here in case anyone else would like to do the same!

Usage:

  1. Download the harmony_config_parser.js file from this link: https://github.com/crimsonsunset/Home-Automation-Utils/blob/master/other_scripts/harmony_config_parser.js
  2. Put file in the same directory as your harmony config files
  3. From a machine with node v8+ installed—
  4. $ npm i -g lodash
  5. Run the script:
    node harmony_config_parser.js [your_config_filename.conf]

for me that looks like:
node harmony_config_parser.js harmony_joehubz.conf

This will output a json file to the same directory.

Happy automating!

1 Like