# Voice Control Smart Appliances

<figure><img src="/files/qLFiW2wRqvJgH0Pu2TDh" alt=""><figcaption></figcaption></figure>

### Building Instructions

{% file src="/files/udFsMRSY4Li70PUVeiCu" %}

### Hardware Wiring

<figure><img src="https://kittenbothk.readthedocs.io/en/latest/_images/asr_smarthome_wire.png" alt=""><figcaption></figcaption></figure>

### Sample Program

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

### Model Instructions

This model incorporates many functions of a smart home.

Use command "Light On" and "Light Off" to control the LED.

Use command "Fan On" or "Fan Off" to control the fan.

Use command "Hanger Out" or "Hanger In" to control the hanger.

Use command "Check Temperature" to ask about the temperature.

Use command "Check Time" to get the time.

Use command "Check Weather" to get the weather.


---

# 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-asr-upgrade/voice-control-smart-appliances.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.
