> For the complete documentation index, see [llms.txt](https://help.watcherlink.online/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.watcherlink.online/ru/drugoe/kak-vklyuchit-whatsminer-api.md).

# Как включить Whatsminer API

Чтобы использовать расширенные функции управления MoonOne, такие как перезагрузка, переключение пулов и другие, необходимо включить Write API на устройствах WhatsMiner. По умолчанию эта опция отключена.

{% stepper %}
{% step %}

### Скачайте WhatsMiner Tool

Начните с загрузки официального инструмента WhatsMiner Tool с [сайта Whatsminer](https://www.whatsminer.com/src/views/firmware-download.html#Tool). Эта утилита необходима для активации API и установки надёжного пароля.
{% endstep %}

{% step %}

### Добавьте и просканируйте майнеры

1. Откройте WhatsMiner Tool.
2. Нажмите кнопку **"Miner IP"**, чтобы начать настройку сети.
3. В окне управления IP-адресами введите диапазон локальных IP-адресов и нажмите **"Add"**, затем **"OK"** для подтверждения.
4. Нажмите **"Start"**, чтобы начать сканирование устройств — ваши майнеры вскоре должны появиться в списке.

<figure><img src="https://298239329-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3AuVab2ie4lSGVzgH5P2%2Fuploads%2FNYzhmgSbDxSkA8GgYNG4%2Fimage.png?alt=media&amp;token=dcbd03cf-66fe-4b49-9f8e-bdf429501123" alt=""><figcaption></figcaption></figure>

<figure><img src="https://298239329-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3AuVab2ie4lSGVzgH5P2%2Fuploads%2FR4EP5STLgMlxEdVyR314%2Fimage.png?alt=media&amp;token=fd27cbb6-0f18-4b72-81ba-830545c4e454" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Обновите пароль администратора

API не выйдет включить, если предварительно не выполнить смену пароля администратора.

> ⚠️ Важно: пароль необходимо менять через WhatsMiner Tool — изменения, внесённые через веб-интерфейс, не активируют доступ к API.
>
> 💡 **Вы можете продолжать использовать `admin` в качестве нового пароля, но его всё равно необходимо обновить через WhatsMiner Tool, чтобы включить API.**

**Шаги:**

1. Выберите необходимые устройства в списке.
2. Нажмите **"Password"** в верхнем меню кнопок.
3. Выберите аккаунт  `admin` , введите текущий пароль, и затем установите и подтвердите новый пароль *(вы можете продолжать использовать стандартный `admin` в качестве нового пароля)*.
4. Нажмите **"Start update"** для применения.

<figure><img src="https://298239329-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3AuVab2ie4lSGVzgH5P2%2Fuploads%2FHw1d6trl6RmMALEhcTqk%2Fimage.png?alt=media&amp;token=5179290b-ffda-4172-ba9f-7f814e4f8409" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Включение API

Когда пароль успешно обновлен:

1. Нажмите **"Remote Ctrl"**.
2. Выберите **"Miner API Switch"**.
3. В появившемся окне выберите **"Enable"**, и подтвердите действие.

<figure><img src="https://298239329-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3AuVab2ie4lSGVzgH5P2%2Fuploads%2FrtJAQb5BCm5KL7a14qfx%2Fimage.png?alt=media&amp;token=a8cbc88f-935d-4252-9fe6-eb9b111fc980" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

{% hint style="success" %}
Теперь ваши устройства готовы взаимодействовать с функциями MoonOne через API WhatsMiner.
{% endhint %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.watcherlink.online/ru/drugoe/kak-vklyuchit-whatsminer-api.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
