]> git.basschouten.com Git - openhab-addons.git/commitdiff
[homekit] simplify settings page, resize doc images (#13741)
authoreugen <freiter@gmail.com>
Sun, 20 Nov 2022 19:07:45 +0000 (20:07 +0100)
committerGitHub <noreply@github.com>
Sun, 20 Nov 2022 19:07:45 +0000 (20:07 +0100)
* simplify config, resize images

Signed-off-by: Eugen <eugen@relotrust.com>
bundles/org.openhab.io.homekit/README.md
bundles/org.openhab.io.homekit/doc/mode_mapping.png
bundles/org.openhab.io.homekit/doc/sensor_ui_config.png
bundles/org.openhab.io.homekit/doc/settings_qrcode.png
bundles/org.openhab.io.homekit/doc/ui_fan_with_light_group_code.png
bundles/org.openhab.io.homekit/doc/ui_fan_with_light_group_config.png
bundles/org.openhab.io.homekit/doc/ui_fan_with_light_group_view.png
bundles/org.openhab.io.homekit/doc/ui_fan_with_light_primary.png
bundles/org.openhab.io.homekit/doc/ui_sensor_with_battery.png
bundles/org.openhab.io.homekit/src/main/resources/OH-INF/config/config.xml
bundles/org.openhab.io.homekit/src/main/resources/OH-INF/i18n/homekit.properties

index 5fa1a54a360669b7f9210361aa687bcc92344f2e..685ce7fe00fd90b7ab1194b0f25d42796756ab92 100644 (file)
@@ -100,23 +100,25 @@ org.openhab.homekit:name=openHAB
 org.openhab.homekit:instances=1
 ```
 
+Some settings are only visible in UI if the checkbox "Show advanced" is activated.
+
 ### Overview of all settings
 
-| Setting                  | Description                                                                                                                                                                                                                             | Default value |
-|:-------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:--------------|
-| networkInterface         | IP address or domain name under which the HomeKit bridge can be reached. If no value is configured, the add-on uses the first network adapter address configured for openHAB.                                                                                  | (none)        |
-| port                     | Port under which the HomeKit bridge can be reached.                                                                                                                                                                                     | 9123          |
-| useOHmDNS                | mDNS service is used to advertise openHAB as HomeKit bridge in the network so that HomeKit clients can find it. openHAB has already mDNS service running. This option defines whether the mDNS service of openHAB or a separate service should be used.   | false  |
-| blockUserDeletion        | Blocks HomeKit user deletion in openHAB and as result unpairing of devices. If you experience an issue with accessories becoming non-responsive after some time, try to enable this setting. You can also enable this setting if your HomeKit setup is done and you will not re-pair ios devices.                                              | false         |
-| pin                      | Pin code used for pairing with iOS devices. Apparently, pin codes are provided by Apple and represent specific device types, so they cannot be chosen freely. The pin code 031-45-154 is used in sample applications and known to work. | 031-45-154    |
-| startDelay               | HomeKit start delay in seconds in case the number of accessories is lower than last time. This helps to avoid resetting home app in case not all items have been initialised properly before HomeKit integration start.                 | 30            |
-| useFahrenheitTemperature | Set to true to use Fahrenheit degrees, or false to use Celsius degrees. Note if an item has a QuantityType as its state, this configuration is ignored and it's always converted properly.                                              | false         |
-| thermostatTargetModeCool | Word used for activating the cooling mode of the device (if applicable). It can be overwritten at item level.                                                                                                                           | CoolOn        |
-| thermostatTargetModeHeat | Word used for activating the heating mode of the device (if applicable). It can be overwritten at item level.                                                                                                                           | HeatOn        |
-| thermostatTargetModeAuto | Word used for activating the automatic mode of the device (if applicable). It can be overwritten at item level.                                                                                                                         | Auto          |
-| thermostatTargetModeOff  | Word used to set the thermostat mode of the device to off (if applicable).  It can be overwritten at item level.                                                                                                                        | Off           |
-| name                     | Name under which this HomeKit bridge is announced on the network. This is also the name displayed on the iOS device when searching for available bridges.                                                                               | openHAB       |
-| instances                | Defines how many bridges to expose. Necessary if you have more than 149 accessories. Accessories must be assigned to additional instances via metadata. Additional bridges will use incrementing port numbers.                          | 1             |
+| Setting                  | Description                                                                                                                                                                                                                                                                                       | Default value |
+|:-------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:--------------|
+| networkInterface         | IP address or domain name under which the HomeKit bridge can be reached. If no value is configured, the add-on uses the primary IP address configured for openHAB. If unsure, keep it empty                                                                                                       | (none)        |
+| port                     | Port under which the HomeKit bridge can be reached.                                                                                                                                                                                                                                               | 9123          |
+| useOHmDNS                | mDNS service is used to advertise openHAB as HomeKit bridge in the network so that HomeKit clients can find it. openHAB has already mDNS service running. This option defines whether the mDNS service of openHAB or a separate service should be used.                                           | false  |
+| blockUserDeletion        | Blocks HomeKit user deletion in openHAB and as result unpairing of devices. If you experience an issue with accessories becoming non-responsive after some time, try to enable this setting. You can also enable this setting if your HomeKit setup is done and you will not re-pair ios devices. | false         |
+| pin                      | Pin code used for pairing with iOS devices. Apparently, pin codes are provided by Apple and represent specific device types, so they cannot be chosen freely. The pin code 031-45-154 is used in sample applications and known to work.                                                           | 031-45-154    |
+| startDelay               | HomeKit start delay in seconds in case the number of accessories is lower than last time. This helps to avoid resetting home app in case not all items have been initialised properly before HomeKit integration start.                                                                           | 30            |
+| useFahrenheitTemperature | Set to true to use Fahrenheit degrees, or false to use Celsius degrees. Note if an item has a QuantityType as its state, this configuration is ignored and it's always converted properly.                                                                                                        | false         |
+| thermostatTargetModeCool | Word used for activating the cooling mode of the device (if applicable). It can be overwritten at item level.                                                                                                                                                                                     | CoolOn        |
+| thermostatTargetModeHeat | Word used for activating the heating mode of the device (if applicable). It can be overwritten at item level.                                                                                                                                                                                     | HeatOn        |
+| thermostatTargetModeAuto | Word used for activating the automatic mode of the device (if applicable). It can be overwritten at item level.                                                                                                                                                                                   | Auto          |
+| thermostatTargetModeOff  | Word used to set the thermostat mode of the device to off (if applicable).  It can be overwritten at item level.                                                                                                                                                                                  | Off           |
+| name                     | Name under which this HomeKit bridge is announced on the network. This is also the name displayed on the iOS device when searching for available bridges.                                                                                                                                         | openHAB       |
+| instances                | Defines how many bridges to expose. Necessary if you have more than 149 accessories. Accessories must be assigned to additional instances via metadata. Additional bridges will use incrementing port numbers.                                                                                    | 1             |
 
 ## Item Configuration
 
index 54a08a905c0008c40fdfb0ea62ba45bac3bba630..633c66db8c2cc870e9a42bec27759005e07346e1 100644 (file)
Binary files a/bundles/org.openhab.io.homekit/doc/mode_mapping.png and b/bundles/org.openhab.io.homekit/doc/mode_mapping.png differ
index ffd05c1ae51622e37c1f1d29e246f1ee191efe15..407261f8341e8b1500a30ba8c979ff54e694975b 100644 (file)
Binary files a/bundles/org.openhab.io.homekit/doc/sensor_ui_config.png and b/bundles/org.openhab.io.homekit/doc/sensor_ui_config.png differ
index 4aecccfa3249fe765e51340a78b4e753c69eb7c7..75fa98a0f47bd3aca26e556e622b9082dc3685ba 100644 (file)
Binary files a/bundles/org.openhab.io.homekit/doc/settings_qrcode.png and b/bundles/org.openhab.io.homekit/doc/settings_qrcode.png differ
index bc4eead57fe448ec5b475663a1ab82196d82aedc..6a863d91125d313ca664506db8d0f8319f8e5d5d 100644 (file)
Binary files a/bundles/org.openhab.io.homekit/doc/ui_fan_with_light_group_code.png and b/bundles/org.openhab.io.homekit/doc/ui_fan_with_light_group_code.png differ
index a05054b51444b7f7f7dc0f204f0d99dcce70f702..d427173474bf0b6222eb03886d692100c5e1bbad 100644 (file)
Binary files a/bundles/org.openhab.io.homekit/doc/ui_fan_with_light_group_config.png and b/bundles/org.openhab.io.homekit/doc/ui_fan_with_light_group_config.png differ
index 4ba4a532a2a1eff256d62d59ba595a86954509f8..3bf3d90658787a18ce8d3000bfca3d0bc65a3e4a 100644 (file)
Binary files a/bundles/org.openhab.io.homekit/doc/ui_fan_with_light_group_view.png and b/bundles/org.openhab.io.homekit/doc/ui_fan_with_light_group_view.png differ
index fbdf0df0817b1d8fd10d9828983b6ed8a779088c..df40c2d08423bbf846c23ad8f982dae55390a41a 100644 (file)
Binary files a/bundles/org.openhab.io.homekit/doc/ui_fan_with_light_primary.png and b/bundles/org.openhab.io.homekit/doc/ui_fan_with_light_primary.png differ
index d984a0aaf90f55a30f1e1545086bf1b51ad83e7b..60a644566d0d155fdbfecd9c42942bd0abc2f9b0 100644 (file)
Binary files a/bundles/org.openhab.io.homekit/doc/ui_sensor_with_battery.png and b/bundles/org.openhab.io.homekit/doc/ui_sensor_with_battery.png differ
index cd5ab8e252742e2effdff1c7d0c6ad5e11956057..2b7210559481088cb093c175da773e133db2df65 100644 (file)
@@ -6,46 +6,52 @@
                https://openhab.org/schemas/config-description-1.0.0.xsd">
 
        <config-description uri="io:homekit">
-
                <parameter-group name="core">
-                       <label>Core Configuration</label>
+                       <label>Core Configuration.</label>
+                       <advanced>false</advanced>
                </parameter-group>
                <parameter-group name="thermostat">
                        <label>Thermostat Settings</label>
-                       <description>General thermostat settings</description>
+                       <description>Advanced thermostat settings.</description>
+                       <advanced>true</advanced>
                </parameter-group>
                <parameter-group name="network">
                        <label>Network Settings</label>
-                       <description>General network settings</description>
+                       <description>Advanced network settings.</description>
+                       <advanced>true</advanced>
                </parameter-group>
                <parameter-group name="thermostatTargetHeatingCooling">
                        <label>Thermostat Target Heating/Cooling Mapping</label>
-                       <description>String values used by your thermostat to set different targetHeatingCooling modes</description>
+                       <description>String values used by your thermostat to set different target heating/cooling modes.</description>
+                       <advanced>true</advanced>
                </parameter-group>
                <parameter-group name="thermostatCurrentHeatingCooling">
                        <label>Thermostat Current Heating/Cooling Mapping</label>
-                       <description>String values used by your thermostat to set different targetHeatingCooling modes</description>
+                       <description>String values used by your thermostat to set different current heating/cooling modes.</description>
+                       <advanced>true</advanced>
                </parameter-group>
                <parameter name="name" type="text" required="false" groupName="core">
                        <label>Bridge name</label>
-                       <description>Name of the HomeKit bridge</description>
+                       <description>Name of the HomeKit bridge.</description>
                        <default>openHAB</default>
                </parameter>
                <parameter name="qrCode" type="text" required="false" groupName="core">
                        <label>HomeKit QR Code</label>
                        <context>qrcode</context>
-                       <description>Scan QR code with home app to add openHAB as HomeKit bridge. </description>
+                       <description>Scan QR code with home app to add openHAB as HomeKit bridge.</description>
                </parameter>
-               <parameter name="port" type="integer" required="true" groupName="core">
+               <parameter name="port" type="integer" required="true" groupName="network">
                        <label>Port</label>
                        <description>Defines the port the HomeKit integration listens on.</description>
                        <default>9123</default>
+                       <advanced>true</advanced>
                </parameter>
                <parameter name="instances" type="integer" required="true" groupName="core">
                        <label>Instances</label>
                        <description>Defines how many bridges to expose. Necessary if you have more than 149 accessories. Accessories must be
                                assigned to additional instances via metadata. Additional bridges will use incrementing port numbers.</description>
                        <default>1</default>
+                       <advanced>true</advanced>
                </parameter>
                <parameter name="pin" type="text" pattern="\d{3}-\d{2}-\d{3}" required="true" groupName="core">
                        <label>Pin</label>
                <parameter name="setupId" type="text" pattern="[0-9A-Z]{4}" required="false" groupName="core">
                        <label>Setup ID</label>
                        <description>Setup ID used for pairing using QR Code. Alphanumeric code of length 4.</description>
+                       <advanced>true</advanced>
                </parameter>
                <parameter name="networkInterface" type="text" required="false" groupName="network">
                        <label>Network Interface</label>
                        <description>Defines the IP address of the network interface to expose the HomeKit integration on.</description>
+                       <advanced>true</advanced>
                </parameter>
                <parameter name="startDelay" type="integer" required="true" groupName="core" unit="s">
                        <label>Start Delay</label>
                        <description>HomeKit start delay in case of item configuration differences.</description>
                        <default>30</default>
+                       <advanced>true</advanced>
                </parameter>
                <parameter name="useFahrenheitTemperature" type="boolean" required="true" groupName="thermostat">
                        <label>Use Fahrenheit Temperature</label>
                        <description>Defines whether or not to direct HomeKit clients to use fahrenheit temperatures instead of celsius.</description>
                        <default>false</default>
                </parameter>
-
                <parameter name="thermostatTargetModeCool" type="text" required="true"
                        groupName="thermostatTargetHeatingCooling">
                        <label>Cool Value</label>
                        <description>Word used to set the target heatingCoolingMode to COOL (if a thermostat is defined).</description>
                        <default>CoolOn</default>
+                       <advanced>true</advanced>
                </parameter>
                <parameter name="thermostatTargetModeHeat" type="text" required="true"
                        groupName="thermostatTargetHeatingCooling">
                        <label>Heat Value</label>
                        <description>Word used to set the target heatingCoolingMode to HEAT (if a thermostat is defined).</description>
                        <default>HeatOn</default>
+                       <advanced>true</advanced>
                </parameter>
                <parameter name="thermostatTargetModeAuto" type="text" required="true"
                        groupName="thermostatTargetHeatingCooling">
                        <label>Auto Value</label>
                        <description>Word used to set the target heatingCoolingMode to AUTO (if a thermostat is defined).</description>
                        <default>Auto</default>
+                       <advanced>true</advanced>
                </parameter>
                <parameter name="thermostatTargetModeOff" type="text" required="true"
                        groupName="thermostatTargetHeatingCooling">
                        <label>Off Value</label>
                        <description>Word used to set the target heatingCoolingMode to OFF (if a thermostat is defined).</description>
                        <default>Off</default>
+                       <advanced>true</advanced>
                </parameter>
-
                <parameter name="thermostatCurrentModeHeating" type="text" required="true"
                        groupName="thermostatCurrentHeatingCooling">
                        <label>Heating Value</label>
                        <description>Value for setting target heatingCoolingCurrentMode to HEAT (IE: indicating that the heater is currently
                                warming the home).</description>
                        <default>Heating</default>
+                       <advanced>true</advanced>
                </parameter>
                <parameter name="thermostatCurrentModeCooling" type="text" required="true"
                        groupName="thermostatCurrentHeatingCooling">
                        <description>Value for setting target heatingCoolingCurrentMode to COOL (IE: indicating that the air condition is
                                currently cooling the home).</description>
                        <default>Cooling</default>
+                       <advanced>true</advanced>
                </parameter>
                <parameter name="thermostatCurrentModeOff" type="text" required="true"
                        groupName="thermostatCurrentHeatingCooling">
                        <description>Value for setting target heatingCoolingCurrentMode to OFF (IE: the hvac is currently idle, because the
                                target temperature has been reached per the mode).</description>
                        <default>Off</default>
+                       <advanced>true</advanced>
                </parameter>
                <parameter name="useOHmDNS" type="boolean" required="false" groupName="network">
                        <label>Use openHAB mDNS service</label>
                        <description>Defines whether mDNS service of openHAB or a separate instance of mDNS should be used.</description>
                        <default>false</default>
+                       <advanced>true</advanced>
                </parameter>
-               <parameter name="blockUserDeletion" type="boolean" required="false" groupName="network">
+               <parameter name="blockUserDeletion" type="boolean" required="false" groupName="core">
                        <label>Block deletion of the HomeKit user</label>
-                       <description>Block deletion of the HomeKit user information from openHAB and the unpairing of devices</description>
+                       <description>Block deletion of the HomeKit user information from openHAB and the unpairing of devices.</description>
                        <default>false</default>
+                       <advanced>true</advanced>
                </parameter>
        </config-description>
 </config-description:config-descriptions>
index 5cc5bc2ea5f6c80d2d66d56d35ac7acc00d7e3b7..38dc170b368166d5bfa7cacf6a371bb1694c2ea7 100644 (file)
@@ -1,18 +1,18 @@
 io.config.homekit.blockUserDeletion.label = Block deletion of the HomeKit user
-io.config.homekit.blockUserDeletion.description = Block deletion of the HomeKit user information from openHAB and the unpairing of devices
-io.config.homekit.group.core.label = Core Configuration
+io.config.homekit.blockUserDeletion.description = Block deletion of the HomeKit user information from openHAB and the unpairing of devices.
+io.config.homekit.group.core.label = Core Configuration.
 io.config.homekit.group.network.label = Network Settings
-io.config.homekit.group.network.description = General network settings
+io.config.homekit.group.network.description = Advanced network settings.
 io.config.homekit.group.thermostat.label = Thermostat Settings
-io.config.homekit.group.thermostat.description = General thermostat settings
+io.config.homekit.group.thermostat.description = Advanced thermostat settings.
 io.config.homekit.group.thermostatCurrentHeatingCooling.label = Thermostat Current Heating/Cooling Mapping
-io.config.homekit.group.thermostatCurrentHeatingCooling.description = String values used by your thermostat to set different targetHeatingCooling modes
+io.config.homekit.group.thermostatCurrentHeatingCooling.description = String values used by your thermostat to set different current heating/cooling modes.
 io.config.homekit.group.thermostatTargetHeatingCooling.label = Thermostat Target Heating/Cooling Mapping
-io.config.homekit.group.thermostatTargetHeatingCooling.description = String values used by your thermostat to set different targetHeatingCooling modes
+io.config.homekit.group.thermostatTargetHeatingCooling.description = String values used by your thermostat to set different target heating/cooling modes.
 io.config.homekit.instances.label = Instances
 io.config.homekit.instances.description = Defines how many bridges to expose. Necessary if you have more than 149 accessories. Accessories must be assigned to additional instances via metadata. Additional bridges will use incrementing port numbers.
 io.config.homekit.name.label = Bridge name
-io.config.homekit.name.description = Name of the HomeKit bridge
+io.config.homekit.name.description = Name of the HomeKit bridge.
 io.config.homekit.networkInterface.label = Network Interface
 io.config.homekit.networkInterface.description = Defines the IP address of the network interface to expose the HomeKit integration on.
 io.config.homekit.pin.label = Pin