diff --git a/homematic/CHANGELOG.md b/homematic/CHANGELOG.md index 3f1a68f..e857dc2 100644 --- a/homematic/CHANGELOG.md +++ b/homematic/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 2.31.25-p2 +- Bugfix with reset value on GPIO + ## 2.31.25-p1 - Add `reset` options for RF modules diff --git a/homematic/config.json b/homematic/config.json index 523ebb9..13c8dd9 100644 --- a/homematic/config.json +++ b/homematic/config.json @@ -1,6 +1,6 @@ { "name": "HomeMatic OCCU", - "version": "2.31.25-p1", + "version": "2.31.25-p2", "slug": "homematic", "description": "HomeMatic central based on OCCU", "url": "https://home-assistant.io/addons/homematic/", diff --git a/homematic/run.sh b/homematic/run.sh index 40eb6e4..189e6ad 100644 --- a/homematic/run.sh +++ b/homematic/run.sh @@ -40,10 +40,10 @@ if [ "$RF_ENABLE" == "true" ]; then sleep 2 fi if [ "$RESET" == "true" ]; then - echo 1 > /sys/class/gpio/gpio18/direction + echo 1 > /sys/class/gpio/gpio18/value || echo "Can't reset module!" sleep 0.5 fi - echo 0 > /sys/class/gpio/gpio18/direction + echo 0 > /sys/class/gpio/gpio18/value || echo "Can't set default value!" sleep 0.5 fi done