Commit Graph

5 Commits

Author SHA1 Message Date
Steffen Dirkwinkel
02755e7c05 homematic: use cp instead of mv for crRFD files to avoid mv subdir error (#2372)
mv "${TMPDIR}/usr/local/etc/config/crRFD/*" does not expand the glob and fails.
Due to the previous change we also ignored the globbing error.
Let's clean the directory up, copy from the source and avoid globbing errors.
By doing it this way we can also drop the ugly "|| true".
2022-02-01 14:54:37 +01:00
Steffen Dirkwinkel
dc8718c14a homematic: fix backup mv (#2371)
The recent backup fix introduced another error:
mv complains about us trying to move a folder into its own subfolder.
The script then aborts due to set -e. By ignoring the exit code of mv here
we get the desired result (complete backup and no error in ui)
2022-02-01 09:36:56 +01:00
Jens Maus
cfec3f0f14 integrated fix to create sbk backup compatible to a standard CCU. (#2366) 2022-01-30 16:41:37 +01:00
Jens Maus
1915626f36 integrated a first fix to get the webui based backup fixed. (#2359) 2022-01-25 17:37:30 +01:00
Jens Maus
ab8ca6b4cf HomeMatic CCU add-on retirement/migration path (#2352)
* added first version of createBackup.sh for homematic addon

* move bin directory to opt/hm

* debug

* debug

* minor cleanup change.

* added a patched version of cp_security.cgi to support direct WebUI based
backup creation+download.

* minor fix

* minor fix

* version bump and removal of subsystem=tty filter for device spec

* added changed to CHANGELOG.md

* Added retirement notification

* Update README.md

* Update DOCS.md

* Update CHANGELOG.md

* fixed shellcheck errors.

* Update homematic/CHANGELOG.md

* Update homematic/config.yaml

Co-authored-by: Pascal Vizeli <pascal.vizeli@syshack.ch>
2022-01-25 14:42:02 +01:00