mirror of
https://github.com/aljazceru/addons.git
synced 2026-02-07 06:04:21 +01:00
Fix script hm (#215)
* Fix script * Add port * Update CHANGELOG.md * Update config.json
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user