Skip to content

Latest commit

 

History

History
82 lines (50 loc) · 3.54 KB

README.md

File metadata and controls

82 lines (50 loc) · 3.54 KB

Rocket League Assistant

BakkesMod Plugin to integrate Rocket League events with Home Assistant

These automations can be designed to control more things than just lights

RLHAtransparent

⭐Special thanks to those in the Discord and notably Branky and JerryTheBee

And some other person named Josh

Home Assistant Configuration

The plugin utilizes Home Assistant's built in Webhook automation trigger. Currently, the plugin is only designed to be used with HTTP. The skeleton for HTTPS and its token are already in place.

There are a few automations to create:

HA Scenes Configuration:

  1. Create a new scene corresponding to the scenario (Home Team, Away Team, Demos, etc)
  2. Give it a name (and icon/area if you'd like)
  3. Add entities/devices to the scene and adjust the colors accordingly
  4. Save the scene
  5. Create a new, or duplicate the scene.
  6. Adjust entities/devices colors respectively.
  7. Save the scene

More on scene creation here

HA Webhooks Configuration:

  1. Create a new automation
  2. Give it a name (I suggest not adding a name in the title until after the Webhook ID generation) and set the trigger type to Webhook:

image

image

  1. Adjust conditions as needed (Time of day, geolocation, etc, etc)
  2. Change action type to Activate Scene, then select the corresponding scene you've created.

image

  1. Save the automation. I like to duplicate the automation and simply append the corresponding function to the Webhook ID, like so:

image image

  1. Change the scene to be activated by the automation.
  2. Repeat for each color change you'd like to have (Demos, Freeplay, Main Menu, etc)

More on automation here

Plugin Configuration:

  1. After plugin is installed, launch Rocket League and press F2
  2. Under the plugin tab, select RocketLeagueAssistant:

image

  1. From Home Assistant, copy the Webhook ID from the corresponding automation and paste it into the setting's correct setting's text box.

    a.

    image

    b.

    image

That should do it!

Notes

If you manually reload the plugin (through the F6 BakkesMod Console) while in the game, the URL will have to be reentered.

To Do

  • Find a better Function to hook to for running the automation. Currently, the function is called when you switch teams, and when a goal is scored.
  • Finalize RGB support to push to HA bulbs (This may vary on manufacturer, so may a duanting task)
  • Probably code clean up and Nullchecks