> For the complete documentation index, see [llms.txt](https://play.robobattles.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://play.robobattles.com/craft/hub-setup.md).

# Hub Setup

## Powering On/Off

To power on, press the green button.

To power off, press and hold the green button until the light turns off.

## Updating Firmware

The first time you use a brand new hub, you'll need to update its firmware with the [LEGO® Powered Up app](https://www.lego.com/en-us/service/device-guide/powered-up/?locale=en-us).

If your hub ever has issues, you can repeat these steps to reinstall the firmware.

<details>

<summary>Firmware Update Instructions</summary>

1. Remove and reinstall your hub's batteries.
2. Download the [LEGO® Powered Up app](https://www.lego.com/en-us/service/device-guide/powered-up/?locale=en-us).
3. Make sure your smart device has Bluetooth enabled.
4. Open the app.
5. Tap "Create".

<img src="https://1320923231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lMcmYNZwepJ8VBzSDr1%2Fuploads%2F22bII5po0spPBNtEmFdr%2FSetupFirmwareCreate.jpg?alt=media&amp;token=1a9593a4-ab49-4fa3-a63d-f08614473781" alt="" data-size="original">

6. Tap "+".

<img src="https://1320923231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lMcmYNZwepJ8VBzSDr1%2Fuploads%2Fn4Xt5LpRT50bMWnwgjrb%2FSetupFirmwareAdd.jpg?alt=media&amp;token=65610b97-c486-4cbb-8c10-569193a841dd" alt="" data-size="original">

7. Tap "->".

<img src="https://1320923231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lMcmYNZwepJ8VBzSDr1%2Fuploads%2FTjfzFAOQtRDR2PBivlmT%2FSetupFirmwareContinue.jpg?alt=media&amp;token=aa9429d1-6082-427f-8ca0-82d96291a0af" alt="" data-size="original">

8. Tap "Controller".

<img src="https://1320923231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lMcmYNZwepJ8VBzSDr1%2Fuploads%2FK0EclHDBGZd50ZcoEyUj%2FSetupFirmwareController.jpg?alt=media&amp;token=7271e471-7846-45c6-8cfc-a064b9051dc8" alt="" data-size="original">

9. Choose the first controller type.

<img src="https://1320923231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lMcmYNZwepJ8VBzSDr1%2Fuploads%2F6uxQlVvBZj6JcCF9R3Zz%2FSetupFirmwareChooseController.jpg?alt=media&amp;token=da0bb0bd-824f-449f-8f5e-c9f7f48e358c" alt="" data-size="original">

10. Accept Bluetooth permissions.
11. Press the lock button.

<img src="https://1320923231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lMcmYNZwepJ8VBzSDr1%2Fuploads%2FAM0FaqY0C7OCpxiRY9Ky%2FSetupFirmwareLock.jpg?alt=media&amp;token=754f4c78-a170-4985-96ab-78917b075dec" alt="" data-size="original">

12. Press the Bluetooth button.

<img src="https://1320923231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lMcmYNZwepJ8VBzSDr1%2Fuploads%2FfWdRwIseHyw67YA04DRw%2FSetupFirmwareBluetooth.jpg?alt=media&amp;token=b7576dad-5f08-4261-9cd0-a2e4cabc6e54" alt="" data-size="original">

13. Press and hold the square green button on your hub until the light begins flashing multiple colors.
14. Wait for the firmware update to complete.

<img src="https://1320923231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3lMcmYNZwepJ8VBzSDr1%2Fuploads%2FUOdbdpcuzu3a8UMfnY30%2FSetupFirmwareUpdating.jpg?alt=media&amp;token=0a57eb3e-a3dd-46b8-9799-003bdc71f320" alt="" data-size="original">

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://play.robobattles.com/craft/hub-setup.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
