Wally Tutorial

In this section we’ll walk through creating a product we would like to sell in the future called Wally. It’s a 2 Gang 1/2 Way Wireless Wi-Fi Mini Smart Switch Module.

Please note that only Espressif ESP32, ESP32C3, ESP32S3 are supported

Sinric Pro sinricpro wally

Setup Product Profile

  1. Login to your Business Account

  2. Goto Products menu and click Add Product.

Sinric Pro sinricpro business acccount add product wally

And enter details about your product.

Sinric Pro sinricpro business acccount enter product details

Then goto Features tab.

Sinric Pro sinricpro business acccount enter product features

Device Type : Sinric Pro device type. Could be a Switch, Fan ect. Same as Sinric Pro portal.

Identifier : We use identifier to refer to this device in the Arduino sketch.

Default Device Name : You can set a default device name for the device. This is the default name shown during the device setup.

Default Device Description : You can set a default device description for the device. This is the default name shown during the device setup.

Display Index : Order which will be shown durnig the device setup.

Sinric Pro sinricpro business acccount enter product details

Click Save and click on Download to download the product provisioing code.

Sinric Pro sinricpro business acccount code download

The downloaded example comes pre-loaded with essential features including easy setup, multi-WiFi support, OTA updates, and health checks, allowing you to focus on bringing your unique IoT ideas to life without needing to implement these fundamental functionalities from scratch.

Search for sinricprobusinesssdk in the Arduino Library Manager to install the SinricPro Business SDK.

Sinric Pro Business SDK arduino IDE

This would also install ArduinoJson (>=7.0.3), WebSockets (>=2.6.1), NimBLE-Arduino (>=1.4.2), SinricPro (>=3.2.1) as well. Customize the GPIO mappings to fit your specific device configuration, compile and flash the firmware to your hardware.

Next, please change the Arduino IDE Tools -> Partition Scheme -> Minimal SPIFF (1.9MB APP …).

Sinric Pro sinricpro wally arduino IDE tools settings

Now we are ready to flash the code.

Sinric Pro sinricpro business acccount code download

You can find the complete example code here:

https://github.com/sinricpro/esp32-business-sdk/tree/master/examples/Wally

Now you can setup product via Sinric Pro app

  1. Download the Sinric Pro app from Google Play or AppStore.

  2. Create an account and login.

  3. Click Add and complete the setup process.

Here’s the product provisioning demo: