> For the complete documentation index, see [llms.txt](https://docs.mclimate.eu/mclimate-lorawan-devices/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mclimate.eu/mclimate-lorawan-devices/devices/mclimate-ht-+-pir-lite/ht-+-pir-lite-device-communication-protocol/commands-cheat-sheet.md).

# Commands cheat sheet

A nice cheat sheet for those who are already familiar with the communication protocol of the device.

<table data-header-hidden><thead><tr><th width="140.66666666666669"></th><th></th><th width="374"></th><th></th></tr></thead><tbody><tr><td><strong>Command code, [hex]</strong></td><td><strong>Firmware version</strong></td><td><strong>Command name</strong></td><td><strong>Sent by</strong></td></tr><tr><td>81</td><td>All</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-ht-+-pir-lite/ht-+-pir-lite-device-communication-protocol/keep-alive.md">Keep-Alive</a></td><td>End device</td></tr><tr><td>02</td><td>All</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-ht-+-pir-lite/ht-+-pir-lite-device-communication-protocol/keep-alive.md#set">Set keep-alive period</a></td><td>Server</td></tr><tr><td>04</td><td>All</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-ht-+-pir-lite/ht-+-pir-lite-device-communication-protocol/get-firmware-and-hardware-version.md">Read device hardware and software version</a></td><td>Server/ End device</td></tr><tr><td>10</td><td>All</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-ht-+-pir-lite/ht-+-pir-lite-device-communication-protocol/network-related-settings-and-others.md#set">Set network join retry period</a></td><td>Server</td></tr><tr><td>11</td><td>All</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-ht-+-pir-lite/ht-+-pir-lite-device-communication-protocol/uplink-types.md#set-uplink-messages-type-command-explanation">Set uplink messages type</a></td><td>Server</td></tr><tr><td>12</td><td>All</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-ht-+-pir-lite/ht-+-pir-lite-device-communication-protocol/keep-alive.md#get">Get keep-alive period</a></td><td>Server/ End device</td></tr><tr><td>19</td><td>All</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-ht-+-pir-lite/ht-+-pir-lite-device-communication-protocol/network-related-settings-and-others.md#get">Get network join retry period</a></td><td>Server/ End device</td></tr><tr><td>1B</td><td>All</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-ht-+-pir-lite/ht-+-pir-lite-device-communication-protocol/uplink-types.md#get-uplink-messages-type-command-explanation">Get uplink messages type</a></td><td>Server/ End device</td></tr><tr><td>1C</td><td>All</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-ht-+-pir-lite/ht-+-pir-lite-device-communication-protocol/network-related-settings-and-others.md#set-1">Set device radio communication watch-dog parameters</a></td><td>Server</td></tr><tr><td>1D</td><td>All</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-ht-+-pir-lite/ht-+-pir-lite-device-communication-protocol/network-related-settings-and-others.md#get-1">Get device radio communication watch-dog parameters</a></td><td>Server/ End device</td></tr><tr><td>36</td><td>All</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-ht-+-pir-lite/ht-+-pir-lite-device-communication-protocol/pir-motion-sensor.md#set">Set PIR sensor state</a></td><td>Server</td></tr><tr><td>37</td><td>All</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-ht-+-pir-lite/ht-+-pir-lite-device-communication-protocol/pir-motion-sensor.md#get">Get PIR sensor state</a></td><td>Server/ End device</td></tr><tr><td>38</td><td>All</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-ht-+-pir-lite/ht-+-pir-lite-device-communication-protocol/pir-motion-sensor.md#set-1">Set PIR occupancy timeout</a></td><td>Server</td></tr><tr><td>39</td><td>All</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-co2-+-pir-lite/co2-+-pir-lite-device-communication-protocol/pir-motion-sensor.md#get-1">Get PIR occupancy timeout</a></td><td>Server/ End device</td></tr><tr><td>3E</td><td>All</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-ht-+-pir-lite/ht-+-pir-lite-device-communication-protocol/pir-motion-sensor.md#set-2">Set PIR sensor sensitivity</a></td><td>Server</td></tr><tr><td>3F</td><td>All</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-ht-+-pir-lite/ht-+-pir-lite-device-communication-protocol/pir-motion-sensor.md#get-2">Get PIR sensor sensitivity</a></td><td>Server/ End device</td></tr><tr><td>A4</td><td>All</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-ht-+-pir-lite/ht-+-pir-lite-device-communication-protocol/network-related-settings-and-others.md#get-lorawan-region">Get LoRaWAN Region</a></td><td>Server/ End device</td></tr><tr><td>A5</td><td>All</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-ht-+-pir-lite/ht-+-pir-lite-device-communication-protocol/restart-device.md">Restart device</a></td><td>Server</td></tr></tbody></table>


---

# 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://docs.mclimate.eu/mclimate-lorawan-devices/devices/mclimate-ht-+-pir-lite/ht-+-pir-lite-device-communication-protocol/commands-cheat-sheet.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.
