Raspberry Pi
A guide to install CUBE OS on a Raspberry Pi 4B/5.
1. Preparation
Visit this repo to download the latest image.
Obtain a Raspberry Pi and get it ready following the Raspberry Pi official guides if you have a kit like the enclosure and cooling fan.
Other Required Accessories:
A micro SD card (TF Card) and a card reader. Storage cards with at least a C10 and A1 rating are recommended.
Ethernet cable.
If you need to add Zigbee devices, prepare a Zigbee Dongle. Tested Zigbee Dongles include:
SONOFF ZBDongle-MAX SONOFF ZBDongle-PMG24 SONOFF ZBDongle-LMG21 SONOFF ZBDongle-E SONOFF ZBDongle-P Others listed by developer @darkxst
Power Adapter (Alternatively, if you have a Power over Ethernet (PoE) Hat installed, ensure your network switch or router, as well as the Ethernet cable, can provide sufficient power)
2. Burn CUBE OS to SD Card
Download and install the Raspberry Pi Imager from the Raspberry Pi website.

Open Raspberry Pi Imager and select your Raspberry Pi device.

For the operating system, choose “Use Custom” and select the downloaded CUBE image.


Insert the SD card into the computer and select it as the storage to use.

If you are promoted with customization options, click NO.

Click “Next” to write the image to the SD card. Note that the card’s contents will be overwritten.

Wait until the write process reaches 100% and eject the SD card upon completion.

3. Boot Raspberry Pi and Accessing CUBE:
Insert the Micro SD card into the Raspberry Pi (on the short side of the board near the LED).
Connect the Raspberry Pi to a power source and Ethernet cable, ensuring it is on the same network as your computer and connected to the internet.

Optional: If you have a Zigbee Dongle, plug it into a USB port.
After powering the Raspberry Pi, wait a few minutes for it to boot up. Then, access the Web management page using cube.local.

Or you can find the CUBE’s IP from your router’s interface and use it to access the management page. Usually, you can see the IP next to the device named cube, which also has the longest expiring time (Leasetime remaining).

Upon successful access, view a short ID on the settings page. Access the CUBE Web management page subsequently using cube-{short id}.local, especially useful for distinguishing multiple CUBEs on the same local network.

Last updated