Qube is a Matter-enabled smart cube device for tangible smart home control. Rotate the cube to trigger actions—each face maps to a Matter switch. Built-in LEDs provide visual feedback, and Qube integrates with Matter-compatible hubs (Alexa, Google Home, etc.).
Important: Qube communicates with Matter hubs via Thread. Your hub must be a Thread border router. See compatible hubs.
- Arduino Nano Matter
- Arduino Nano Connector Carrier
- Modulino Movement
- 1 or 2x Modulino Pixels
- 4x AA batteries & holder
- 3D printed cube
- Clone this repository:
git clone [email protected]:dido18/qube-matter.git
- Open
qube-matter.inoin Arduino IDE. - (Optional) If using 2 Modulino Pixels, see next section.
- In
qube-matter.ino, uncomment#define ENABLE_MATTERand comment#define ENABLE_LOGGING. - Upload the code to your board.
- Follow the Arduino Matter guide to commission the device. Use the pairing code from the serial monitor.
- After commissioning, 6 Matter switches will appear in your smart app.
- Map each switch to a cube face. (Alexa does not allow naming switches; manually test and rename each switch by triggering actions.)
- Use your smart app to assign smart actions (e.g., turn on lamp) to each switch.
If using two Modulino Pixels modules, you must assign a unique address to the second module to avoid conflicts.
Steps to change the address of the second Modulino Pixels:
- Connect one Modulino Pixels to the board (tested on UNO r4 WIFI).
- Open Arduino IDE.
- Go to
File > Examples > Modulino > Utilities > AddressChanger. - Upload the AddressChanger sketch to your board.
- In the serial monitor, enter:
<CURRENT_ADDRESS> 0x4D(e.g.,0x6C 0x4D). - Press Enter and wait for completion.
The new address (0x4D) is the one used in the sketch to communicate with the second modulino.
To pair Qube-Matter with a different smart home system (e.g., switching from Alexa to Google Home):
- Press and hold the button for at least 10 seconds to reset the device. You can now pair it with a new platform.