c't-Smart-Home 1.3.0
c't-Smart-Home 1.3.0
This release adds multiple changes and updates to the Node-RED image. Additionally, the Zigbee2Mqtt service changed a few things, as well as Mosquitto. If you have an existing setup, look at the Moquitto section. There is a future breaking change.
Please have a look at the new Security section in the README to secure your setup properly. Having no authentication is only recommended for testing stuff and not for production. If you use your MQTT server in a productive environment, enable authentication for all services. See the README to learn how.
Always clone this repository and use the update function of the start.sh
to use c't-Smart-Home. Simply downloading the repo will break the update mechanism and forces you to update manually.
Node-RED
In addition to the images for Node 10 and 12, there is now a build for Node 14. Node 12 is now the default base for the :latest
image. The release images will now be rebuilt every Monday. This ensures, that all the operating system and Node-RED updates are delivered in a timely fashion.
The Bluetooth support in the image has been rebuilt. The hacky modification of node dependencies is gone and the image now integrates node-red-contrib-noble-bluetooth.
We also integrated node-red-contrib-zigbee2mqtt. It interfaces with Zigbee2Mqtt and makes it much easier to interact with Zigbee devices inside Node-RED. No more meddling with messy JSON.
If you upgrade from an existing installation, you must add homeassistant: true
to ./data/zigbee/configuration.yaml
.
We've also removed the following nodes:
- node-red-node-base64
- node-red-node-msgpack
- node-red-node-random
- node-red-node-suncalc
You can reinstall them via the palette if you miss them.
Zigbee2Mqtt
You'll now be able to use the (still experimental) Zigbee2Mqtt webinterface. It provides an easy way to control the Zigbee service, check devices and troubleshoot connection issues.
If you upgrade from an existing installation, you must add
frontend:
port: 1881
host: 0.0.0.0
experimental:
new_api: true
and
homeassistant: true
to ./data/zigbee/configuration.yaml
. This is not needed for new setups.
Mosquitto
From version 2.x onward Mosquitto won't accept anonymous connections anymore. So you'll have to make a small change to your configuration file to enable them, if you are using it without any authentication. As of this release Mosquitto still serves version 1.x as their :latest
image.
Having no authentication is only recommended for testing stuff and not for production. If you use your MQTT server in a productive environment, enable authentication for all services. See the README to learn how.
To reactivate anonymous logins open the file ./data/mqtt/conf/mosquitto.conf
and add the line allow_anonymous true
.
Docker images et al.
The docker images have been optimized further to be as slim as possible, while still providing a lot of features.
Now we host the ct-Smart-Home image on GitHub's Container Registry ghcr.io. This is due to the fact, that docker implemented some harsh policies regarding rate limiting and image retention. It will make no difference to the end user. We still provide images on the Docker Hub to not break people's setups.
The S390X image was never intended for productive use and has been dropped.
The compose file has been cleaned up and conflicting statements have been removed.
Start script
The start script now checks if the .git
folder is present and recommends a manual update if it's missing.
It also now has a bunch of nice emojis.