diff --git a/homematic/CHANGELOG.md b/homematic/CHANGELOG.md index 53d6321..c00e880 100644 --- a/homematic/CHANGELOG.md +++ b/homematic/CHANGELOG.md @@ -1,10 +1,12 @@ # Changelog ## 2.29.22-1-p1 +- Fix bug in script +- Add wired port into config +## 2.29.22-1-p1 - Change config logic - Add support for wired ## 2.29.22-1-p0 - - Initial diff --git a/homematic/config.json b/homematic/config.json index 3038651..d440cf0 100644 --- a/homematic/config.json +++ b/homematic/config.json @@ -1,6 +1,6 @@ { "name": "HomeMatic OCCU", - "version": "2.29.22-1-p1", + "version": "2.29.22-1-p2", "slug": "homematic", "description": "HomeMatic central based on OCCU", "url": "https://home-assistant.io/addons/homematic/", @@ -10,7 +10,8 @@ "auto_uart": true, "gpio": true, "ports": { - "2001/tcp": 2001 + "2001/tcp": 2001, + "2000/tcp": 2000 }, "options": { "rf_enable": true, diff --git a/homematic/run.sh b/homematic/run.sh index 9b73aa8..3a6a4fe 100644 --- a/homematic/run.sh +++ b/homematic/run.sh @@ -4,9 +4,9 @@ set -e CONFIG_PATH=/data/options.json RF_ENABLE=$(jq --raw-output '.rf_enable' $CONFIG_PATH) -RF_DEVICES=$(jq --raw-output '.rf | lenght' $CONFIG_PATH) +RF_DEVICES=$(jq --raw-output '.rf | length' $CONFIG_PATH) WIRED_ENABLE=$(jq --raw-output '.wired_enable' $CONFIG_PATH) -WIRED_DEVICES=$(jq --raw-output '.wired | lenght' $CONFIG_PATH) +WIRED_DEVICES=$(jq --raw-output '.wired | length' $CONFIG_PATH) WAIT_PIDS=() # Init folder