mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-17 21:24:20 +01:00
Bugfix homematic (#236)
* Update run.sh * Update config.json * Update CHANGELOG.md
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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/",
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user