From: Marcel Date: Mon, 9 Nov 2020 03:17:13 +0000 (+0100) Subject: [miio] update readme with db location details (#8987) X-Git-Url: https://git.basschouten.com/?a=commitdiff_plain;h=9f22e64ffd8753c8bc32021bc566471fccf20a9d;p=openhab-addons.git [miio] update readme with db location details (#8987) Signed-off-by: Marcel Verpaalen --- diff --git a/bundles/org.openhab.binding.miio/README.base.md b/bundles/org.openhab.binding.miio/README.base.md index 5dbd50e19b..791f81a23b 100644 --- a/bundles/org.openhab.binding.miio/README.base.md +++ b/bundles/org.openhab.binding.miio/README.base.md @@ -114,6 +114,9 @@ After validation, please share the logfile and json files on the openHAB forum o Things using the basic handler (miio:basic things) are driven by json 'database' files. This instructs the binding which channels to create, which properties and actions are associated with the channels etc. The conf/misc/miio (e.g. in Linux `/opt/openhab2/conf/misc/miio/`) is scanned for database files and will be used for your devices. +During the start of the binding the exact path used in your system will be printed in the debug log. +Watch for a line containing `Started miio basic devices local databases watch service. Watching for database files at path: …` +If this folder is created after the start of the binding, you may need to restart the binding (or openHAB) to be able to use the local files. Note that local database files take preference over build-in ones, hence if a json file is local and in the database the local file will be used. For format, please check the current database files in openHAB GitHub. diff --git a/bundles/org.openhab.binding.miio/README.md b/bundles/org.openhab.binding.miio/README.md index 5e37ac9087..fdcff1a3e7 100644 --- a/bundles/org.openhab.binding.miio/README.md +++ b/bundles/org.openhab.binding.miio/README.md @@ -348,6 +348,9 @@ After validation, please share the logfile and json files on the openHAB forum o Things using the basic handler (miio:basic things) are driven by json 'database' files. This instructs the binding which channels to create, which properties and actions are associated with the channels etc. The conf/misc/miio (e.g. in Linux `/opt/openhab2/conf/misc/miio/`) is scanned for database files and will be used for your devices. +During the start of the binding the exact path used in your system will be printed in the debug log. +Watch for a line containing `Started miio basic devices local databases watch service. Watching for database files at path: …` +If this folder is created after the start of the binding, you may need to restart the binding (or openHAB) to be able to use the local files. Note that local database files take preference over build-in ones, hence if a json file is local and in the database the local file will be used. For format, please check the current database files in openHAB GitHub.