Wavrel

Learn by building

Small experiments that run from a board to a lens, one step at a time. The Projects view in the app follows the same steps with a checklist.

01

See movement through Wi-Fi

EasyAbout 45 minNot yet checked on hardware

When someone walks between the router and a board, the Wi-Fi signal wobbles. ESPectre turns that wobble into motion, and you check it against the moments you really walked past.

Try it in the demo first

What you learn

  • How Wi-Fi channel information (CSI) measures motion
  • A test session that counts hits and false alarms

Parts

  • ESP32-S3 dev board (DevKitC-1, N16R8)
  • 2.4 GHz Wi-Fi router (the one at home)
  • USB data cable

Firmware and tools

Steps

  1. Start the hub and set its password.
  2. Flash ESPectre to the ESP32-S3 and enter the hub's address, port, user and password.
  3. Put the board 2 to 4 m away from the router.
  4. Start a session in the Motion view and press L each time you walk past, at least three times.
  5. Check the hit rate and false alarms in the Records view.

It works when

  • Most walk-pasts show up as detections
  • Few false alarms while nobody moves

What 'Set up for this project' does in the app

  • Turn on the rule: motion on any node → an alert
  • Nothing else changes, and Undo puts it back

02

Tell which room you are in with Bluetooth

MediumAbout 90 minNot yet checked on hardware

Put three boards in different rooms and flash ESPresense: the strength of the Bluetooth signal from a phone or tag shows which room it is nearest.

Try it in the demo first

What you learn

  • How signal strength (RSSI) relates to distance
  • Estimating a position from three points (trilateration)

Parts

  • ESP32-S3 dev board (DevKitC-1, N16R8)
  • ESP32-C3 Super Mini
  • A phone with Bluetooth on, or a BLE tag
  • USB data cable

Firmware and tools

Steps

  1. Flash ESPresense to three boards (two S3 and the C3) and give each a different room name, such as office, living and entry.
  2. In the Location view, enter the room size and drag the boards to where they really are.
  3. Walk between rooms with the phone and watch the dot follow.
  4. Turn on an 'enters a room' rule in Automation.

It works when

  • The room name changes within 10 seconds of moving
  • It does not flip between rooms while you stand still

What 'Set up for this project' does in the app

  • Turn on the rule: someone enters office → LED #5aa9ff for 8 s
  • Turn on the rule: someone enters office → a notice
  • Nothing else changes, and Undo puts it back

03

Get motion alerts on your glasses

MediumAbout 40 minNot yet checked on hardware

Send the motion from project 1 to the phone and the Rokid lens as alerts. Simulated values are labelled so they never pass for real ones.

Try it in the demo first

What you learn

  • The hub's alert topic (lab/out/notify)
  • How the phone hands alerts to the glasses

Parts

  • ESP32-S3 dev board (DevKitC-1, N16R8)
  • 2.4 GHz Wi-Fi router (the one at home)
  • Android phone (Android 9 or later)
  • Rokid glasses

Firmware and tools

Steps

  1. Install Wavrel Relay on the phone and enter the Host address and password from the hub panel.
  2. Connect the glasses in Relay and send a test alert to see it on the lens.
  3. Turn on the 'notify on motion' rule in Automation.
  4. Preview how it looks on the lens in the glasses screen.

It works when

  • An alert reaches the lens a few seconds after motion
  • Simulator alerts carry the 'simulated' label

What 'Set up for this project' does in the app

  • Turn on the rule: motion on any node → an alert
  • Nothing else changes, and Undo puts it back

04

Ask about the room from your glasses

MediumAbout 30 minNot yet checked on hardware

An open model on this PC (Ollama) answers a question spoken on the glasses in under 80 characters. Compare models' answers and speed in the Models view first.

What you learn

  • Comparing local models for speed and quality
  • Instructions that keep answers short enough for a lens

Parts

  • A PC with Ollama installed (faster with a GPU)
  • Android phone (Android 9 or later)
  • Rokid glasses

Firmware and tools

Steps

  1. Install Ollama and pull one small model (around 4B, say).
  2. In the Models view, ask two or three models the same question and compare.
  3. Turn on 'Answer questions from phone and glasses' and pick the model.
  4. Ask with 'Ask the PC out loud' in Relay.

It works when

  • The answer reaches the lens within 10 seconds
  • The answer fits in two lines

What 'Set up for this project' does in the app

  • Turn on 'Answer questions from phone and glasses'
  • Nothing else changes, and Undo puts it back

05

Watch and ask the front-door camera

MediumAbout 50 minNot yet checked on hardware

Flash Tasmota's camera firmware to the ESP32-CAM and watch it in the Camera view. With a motion rule, you can check the picture the moment someone arrives.

What you learn

  • Flashing the ESP32-CAM and its pin template
  • Watching video inside your own network only
  • Asking an open picture-reading model about a photo

Parts

  • ESP32-CAM with its USB adapter
  • 2.4 GHz Wi-Fi router (the one at home)
  • USB data cable
  • A PC with Ollama installed (faster with a GPU)

Firmware and tools

Steps

  1. Flash tasmota32-webcam to the ESP32-CAM on its adapter.
  2. If there is no picture, apply the AI-Thinker ESP32-CAM template.
  3. Enter the stream address (http://camera address:81/stream) in the Camera view.
  4. In the Models view, under 'Ask the camera', pick a picture-reading model (gemma3:4b, say) and ask 'Is anyone at the door?'

It works when

  • The Camera view shows the picture
  • It does not open from outside your Wi-Fi
  • The model describes what the picture shows in a sentence or two

What 'Set up for this project' does in the app

  • Turn on the rule: motion on any node → an alert
  • Turn on 'Send a camera picture with questions from the glasses too'
  • Nothing else changes, and Undo puts it back

06

Ask the home PC from anywhere

ChallengingAbout 60 minNot yet checked on hardware

The Rokid app's custom agent sends the question to the Wavrel relay server, which passes it to the model on the home PC. The PC opens no port.

What you learn

  • Reaching a home PC from outside through its own outgoing connection
  • Why the agent key and the PC token are separate

Parts

  • A PC with Ollama installed (faster with a GPU)
  • Wavrel relay server (agent.wavrel.com or your own)
  • Rokid glasses

Firmware and tools

Steps

  1. Turn on answering as in project 4.
  2. Enter the relay server address and the PC token under 'Ask from anywhere' in the Models view.
  3. Create a custom agent on the Lingzhu platform with the URL and the AK.
  4. Switch to that agent on the glasses and ask.

It works when

  • The lens gets an answer away from home
  • With the PC off, the lens says the PC is not connected

What 'Set up for this project' does in the app

  • Turn on 'Answer questions from phone and glasses'
  • Nothing else changes, and Undo puts it back

07

Show status on an LED strip

EasyAbout 30 minNot yet checked on hardware

Put WLED on a board with an LED strip and let it change colour on motion or when someone enters a room, so you can tell without looking at a screen.

Try it in the demo first

What you learn

  • How an automation rule sends a command to a device
  • WLED's MQTT commands

Parts

  • ESP32-S3 dev board (DevKitC-1, N16R8)
  • WS2812B LED strip (5 V)
  • USB data cable

Firmware and tools

Steps

  1. Flash WLED and set MQTT to the hub's address and password with the topic wled/lab.
  2. Wire the strip's data line to a GPIO on the board (5 V power separately).
  3. Turn on 'LED on motion' in Automation and pick a colour.

It works when

  • The LED changes colour on motion
  • It returns to its colour after 8 seconds

What 'Set up for this project' does in the app

  • Turn on the rule: motion on any node → LED #ecb955 for 8 s
  • Nothing else changes, and Undo puts it back

Add a project

A project is one JSON file in the repository's projects folder. The guide explains the format and the check; send it as a pull request.

How to add a project