Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@unisonht/unisonht

joeferner2MIT0.0.4TypeScript support: included

UnisonHT - Unified Home Theatre

home, theatre, raspberry, pi

readme

Development

Raspberry Pi

  1. Write the latest "Raspberry Pi OS Lite" to an SD Card (enable SSH, SSH key authentication, and note the hostname)
  2. Start the Raspberry Pi, open a command prompt and ping <hostname>.local
  3. Open a terminal

    ssh <username>@<host>.local
    sudo apt -y install git
    # copy id_rsa from host computer
    chmod 600 ~/.ssh/id_rsa
    ssh-keygen -p -f ~/.ssh/id_rsa # remove password
    git clone git@github.com:joeferner/unisonht.git
    ./unisonht/scripts/raspberry-pi-setup.sh
  4. Install "Remote Development" extension pack for VSCode.

  5. Connect VSCode via ssh (Ctrl+Shift+P -> Remote-SSH: Connect to Host...) <username>@<host>.local

Development

RUST_BACKTRACE=1 RUST_LOG=debug cargo run

IR Remote Control

ir-keytable # find gpio_ir_recv and note the rcX and use it in the next command
ir-keytable -s rc1 -t -c -p all