Skip to content

Instantly share code, notes, and snippets.

@InBrewJ
Last active February 17, 2023 22:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save InBrewJ/69feb5e97ffcc354487ce38e1913f153 to your computer and use it in GitHub Desktop.
Save InBrewJ/69feb5e97ffcc354487ce38e1913f153 to your computer and use it in GitHub Desktop.
LushRooms Pi - how to pair two LRPis

How to pair two LushRooms Pis

  1. Apply the settings below
  2. Load up the LRPi tablet app on the 'master'
  3. Hit the 'pair' button at the top of the screen
  4. Wait until it says 'unpair'
  5. Load up the LRPi tablet app on the 'slave'
  6. It should say: 'Sorry, I'm being controlled by another LushRoom π'
  7. Use the LRPi tablet app on the 'master' as usual
  8. When done, hit 'unpair' on the 'master'

Sample settings.json for the 'master' Pi

Once paired, the LRPi tablet app will only work on this Pi!

Key settings:

"paired": "true",
"slave_ip": "192.168.1.110",
{
  "name": "Party Control",
  "hue_ip": "",
  "hue_bridge_id": "",
  "hue_name": "",
  "hue_brightness": "",
  "dmx_brightness": "",
  "paired": "true",
  "slave_ip": "192.168.1.110",
  "audio_output": "jack"
}

Sample settings.json for the 'slave' Pi

After hitting the 'pair' button on the 'master' tablet app, the LRPi tablet app will display something like:

Sorry, I'm being controlled by another LushRoom π

(its IP address is 192.168.1.103)

Key settings:

"paired": "true",
"master_ip": "192.168.1.103",
{
  "name": "Paired with Party Control",
  "hue_ip": "",
  "hue_bridge_id": "",
  "hue_name": "",
  "hue_brightness": "",
  "dmx_brightness": "",
  "paired": "true",
  "master_ip": "192.168.1.103",
  "audio_output": "jack"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment