]> git.basschouten.com Git - openhab-addons.git/commitdiff
[homeconnect] New how-to entry in doc about OAuth files (#11076)
authorlolodomo <lg.hc@free.fr>
Sun, 1 Aug 2021 10:18:41 +0000 (12:18 +0200)
committerGitHub <noreply@github.com>
Sun, 1 Aug 2021 10:18:41 +0000 (12:18 +0200)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
bundles/org.openhab.binding.homeconnect/README.md

index db94adb9441f3dc404d6478273571f1df14de152..530c16c6fbc098bad1c2b61a694a136256f16e02 100644 (file)
@@ -275,6 +275,12 @@ curl -X POST --header "Content-Type: text/plain" --header "Accept: application/j
 
 Please replace `homeconnect_CoffeeMaker_BOSCH_HCS06COM1_B95E5103934D_basic_actions_state` with your item name (of channel type `basic_actions_state`).
 
+### How to avoid having to re-authorize the bridge after a new openHAB installation
+
+OAuth is storing data in two files: your access tokens in the file `userdata/jsondb/StorageHandler.For.OAuthClientService.json` and the encryption/decryption key in the file `userdata/config/SymmetricKeyCipher.config`.
+Consider backing up and restoring these two files when installing a new openHAB server from scratch.
+Otherwise, all you need to do is re-authorize your bridge.
+
 ## FAQ
 
 ### I can't start my oven via openHAB.