[DOCKER] Update CubeOS 2.11.1 to CubeOS 2.12.0

CUBE OS v2.12.0 Now Officially Released!

This release expands device compatibility in CUBE OS and further improves the SONOFF TRVZB experience. Please take a moment to read through the notes before updating to this version.

What’s New

1.New Device Support

Added support for SONOFF MINI-ZB1GP / MINI-ZB1GSP single-channel Zigbee smart switches with electricity monitoring.

2.Expanded Matter Hub Device Support

Matter Hub now supports the following Matter device types:

    • Temperature Sensor
    • Contact Sensor
    • Occupancy Sensor
    • Light Sensor
    • Air Quality Sensor
    • Smoke CO Alarm
    • Generic Switch
    • Dimmable Plug-in Unit

3.Enhanced eWeLink-linked Device Sync Support

Eligible Zigbee sub-devices connected through SONOFF NSPanel Pro 86-Relay and Bridge-M can now be synced to eWeLink CUBE via either the eWeLink Smart Home Add-on or the built-in “Add eWeLink-linked Devices” feature.

4.SONOFF TRVZB Enhancements

Optimized the temperature graph in CUBE CAST with a dynamically adjusted axis based on temperature data.

Bug Fixes

1.Fixed an issue where a blank pop-up box was displayed when configuring temperature and humidity reporting for IKEA air quality sensors.

2.Fixed an issue where SONOFF SNZB-02M could incorrectly show air pressure comfort as out of range when no air pressure comfort range was configured.

3.Fixed an issue where the Node-RED Add-on could fail to install or update on some devices.

Guide to updating CubeOS in Docker, during the update the smart home won’t work.

Commands:

  1. sudo docker stop cubeos
  2. sudo docker rm cubeos
  3. reboot
  4. sudo docker pull https://ghcr.io/ewelinkcube/cube-os:2.12.0

I had to give the reboot command because the Raspberry Pi couldn’t start docker pull.

If everything is fine, it looks like this:

:~ $ sudo docker pull https://ghcr.io/ewelinkcube/cube-os:2.12.0
2.12.0: Pulling from ewelinkcube/cube-os
c120b97c332d: Pull complete
96c3a86e849d: Pull complete
d5dacfeb27b0: Pull complete
2f1bf0945ce9: Download complete
Digest: sha256:70328d88aac1752e03f9e8a3bbe8687ced77bbe48e3639f93f42a6c7931f9db8
Status: Downloaded newer image for https://ghcr.io/ewelinkcube/cube-os:2.12.0
https://ghcr.io/ewelinkcube/cube-os:2.12.0

For a new Docker launch on xxx, enter the account name where the CubeOS data is.

docker run -d
–name cubeos
–privileged
–net=host
–restart=unless-stopped
-v /home/xxx/data:/data
-v /run/dbus/system_bus_socket:/host_dbus/system_bus_socket:ro
https://ghcr.io/ewelinkcube/cube-os:2.11.0

If it started successfully, it will look like this output when you run the command sudo docker ps

~ $ sudo docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
ee624486c5a7 https://ghcr.io/ewelinkcube/cube-os:2.12.0 “/sbin/init” 3 minutes ago Up 3 minutes cubeos
~ $

An example of an htop output when Docker is running successfully, RAM usage is over 1 GB.

@Milk Good job, everything is working. I had assumed that NSPP Gen2 wouldn’t work, or that it wouldn’t be possible to synchronize devices with NSPP.