# IoT Safe

![](https://kittenbothk.readthedocs.io/en/latest/_images/lock.png)

### Building Instructions

[Download Instructions](https://github.com/kittenbothk/kittenbothk/raw/master/Kits/classroom_inventor/iot_instructions/images/lock.pdf)

![](https://kittenbothk.readthedocs.io/en/latest/_images/lock_wire.png)

### Sample Program(MakerCloud)

{% embed url="<https://makecode.microbit.org/_PRwgraY2sUbv>" %}

[Sample Program](https://makecode.microbit.org/_PRwgraY2sUbv)

### MakerCloud Set Up

![](https://kittenbothk.readthedocs.io/en/latest/_images/lock_makercloud1.png)

![](https://kittenbothk.readthedocs.io/en/latest/_images/safe_makercloud2.png)

![](https://kittenbothk.readthedocs.io/en/latest/_images/safe_makercloud1.png)

![](https://kittenbothk.readthedocs.io/en/latest/_images/safe_makercloud3.png)

### Model Instructions

1. Fill in WiFi and MakerCloud credentials.
2. Fill in password in variable key.
3. Publish message of your password, the lock will open.
4. Publish message "CLOSE", the lock will be locked.


---

# Agent Instructions: 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:

```
GET https://sharinghub-eng.kittenbot.hk/educational-kit-sets/micro-bit-inventor-education-kit/micro-bit-inventor-kit-iot-upgrade/iot-safe.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
