⚠️Do not disconnect the device until the progress reaches 100%. Disconnecting early may corrupt the firmware.
📶
Step 5 — Connect to DoorVi Setup WiFi
Reconnect the device and join the DoorVi-setup WiFi network
1
Disconnect the USB cable from the device.
2
Wait a few seconds, then reconnect the USB cable.
3
After the device powers up again, you should see a new Wi-Fi network named DoorVi-setup0000 in your computer's available Wi-Fi list.
4
Connect to this network using the password below.
📶
WiFi Network Name
DoorVi-setup0000
Password
doorvi123
⚙️
Step 6 — Configure WiFi & MQTT
Enter your WiFi and MQTT credentials in the DoorVi Setup page
1
Once connected to DoorVi-setup0000, open your browser and go to: 192.168.4.1
2
The Doorvi Setup configuration page will load. Fill in all the sections below carefully.
1. WiFi Details
i
In the WiFi SSID field, enter the WiFi network name you want the relay to connect to.
ii
In the WiFi Password field, enter your WiFi password.
⚠️Select your 2.4 GHz WiFi network — the relay only works on 2.4 GHz, not 5 GHz.
2. MQTT Settings
i
In the MQTT Host field, enter based on your region:
For India
mqtt.ind.doorvi.co
Outside India
mqtt.us.doorvi.co
⚠️Do not include mqtt:// or https:// prefix.
MQTT Port
1883
MQTT Username
admin
3. MQTT Credentials Important
Copy from the DoorVi Control Panel (screen left open in Step 1b):
i
Paste the MQTT Publish Topic into the Pub Topic field.
ii
Paste the MQTT Subscribe Topic into the Sub Topic field.
iii
Paste the MQTT Username and MQTT Password into their respective fields.
4. Relay Pins, Factory Reset & Behaviour
i
Relay Pins — Keep the values as shown. They may vary per device; we will help you verify.
ii
Factory Reset (Reset Button GPIO) — Enter 0.
iii
Behaviour when internet is lost — 1 = lock stays open, 0 = lock stays locked.
iv
Click "Save & Reboot." The device will restart and reconnect to your WiFi automatically.
✅After Save & Reboot, your computer disconnects from DoorVi-setup-0000 and your normal WiFi reconnects within seconds.
Doorvi Setup — 192.168.4.1
Save image as images/waveshare-step6-config.png
🔒
Step 7 — Add Relay Lock in DoorVi
Link the relay to a building and configure the lock
1
Go back to the DoorVi Multi Control Panel home page.
2
Select the "Control" section (the circular control icon) of the building where you want to configure the relay.
3
Choose the "Locks" option.
4
Click on "Add Lock" and then select the third option — "Relay."
DoorVi Buildings — Control icon per building
Save image as images/waveshare-step7-buildings.png
Fill in the Add Lock form:
i
In the Lock Name field, enter a name based on where the lock will be used — e.g., Main Entrance, Gate No. 1, Exit Gate.
ii
Choose "DoorVi" in both the second (Select Lock) and third (Select Lock Type) fields.
iii
Select the Relay that you named in Step 1 from the dropdown.
iv
Choose the channel you want to use from the available 6 channels.
v
Set the Auto Lock Time (in sec):
-1
Lock remains open until manually locked
5
Returns to closed after 5 seconds
vi
Click "Save" to complete the setup.
Add Lock form — Relay tab
Save image as images/waveshare-step7-add-lock.png
✅
Verify & Done
Check relay status and confirm the setup is complete
1
Click on "Relay Manager" from the left-hand menu on the DoorVi Control Panel home page.
2
You will be able to see whether the relay is online or offline.
3
Once online, residents will see the "Manage Locks" option on their DoorVi app home page and can operate the relay from their smartphone.
Relay Manager — showing relay online/offline status
Save image as images/waveshare-verify-relay.png
🎉
Setup complete!
Your Waveshare ESP32-S3 relay is now linked to DoorVi. Residents can answer visitor calls and operate the relay lock directly from the DoorVi app on their smartphone.