Integrating Logitech Harmony with Home Automation

Hey everyone, I wanted to share a project I’ve been working on to integrate my Logitech Harmony remote with my home automation setup. It’s been a fun challenge and I hope others might find it useful too!

I recently discovered a Node.js script that converts Harmony remote .conf files into JSON format. This has been super helpful for me since I’m using this JSON data to create a dropdown menu in the HA frontend. The process is pretty straightforward:

  1. Download the script: You can find it on GitHub here.
  2. Place the script: Put it in the same folder as your Harmony config files.
  3. Install dependencies: Run $ npm i -g lodash on a machine with Node.js v8+ installed.
  4. Run the script: Execute node harmony_config_parser.js [your_config_filename.conf].

This will generate a JSON file in the same directory, which I then use to populate the dropdown menu. It’s been a great way to streamline my remote control setup!

I’d love to hear if anyone else has tried something similar or has tips for improving this integration. Happy automating! :rocket: