Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,26 @@
<config-description>
<parameter name="defaultUserId" type="text">
<default>admin</default>
<label>@text/addon.shelly.config.defaultUserId.label</label>
<description>@text/addon.shelly.config.defaultUserId.description</description>
<label>Default UserId</label>
<description>This default user id will be used for device access if no one is specified in the thing configuration.</description>
</parameter>
<parameter name="defaultPassword" type="text">
<default>admin</default>
<label>@text/addon.shelly.config.defaultPassword.label</label>
<description>@text/addon.shelly.config.defaultPassword.description</description>
<label>Default Password</label>
<description>Default password for device access if none is specified in the thing configuration.</description>
<context>password</context>
</parameter>
<parameter name="localIP" type="text">
<label>@text/addon.shelly.config.localIP.label</label>
<description>@text/addon.shelly.config.localIP.description</description>
<default></default>
<label>Host Interface IP</label>
<description>This interface will be used to setup CoIoT listen and build Action URLs. openHAB's network configuration
will be used if this is not set (recommended)</description>
<default/>
</parameter>
<parameter name="autoCoIoT" type="boolean">
<default>true</default>
<label>@text/addon.shelly.config.autoCoIoT.label</label>
<description>@text/addon.shelly.config.autoCoIoT.description</description>
<label>Auto-CoIoT</label>
<description>If enabled CoIoT will be automatically used when the devices runs a firmware version 1.6 or newer;
false: Use thing configuration to enabled/disable CoIoT events.</description>
</parameter>
</config-description>

Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -6,117 +6,119 @@

<config-description uri="thing-type:shelly:relay-gen2">
<parameter name="deviceIp" type="text" required="true">
<label>@text/thing-type.config.shelly.deviceIp.label</label>
<description>@text/thing-type.config.shelly.deviceIp.description</description>
<label>IP Address</label>
<description>IP Address of the Shelly device</description>
</parameter>
<parameter name="password" type="text" required="false">
<label>@text/thing-type.config.shelly.password.label</label>
<description>@text/thing-type.config.shelly.password.description</description>
<label>Password</label>
<description>Password for API access</description>
<context>password</context>
</parameter>
<parameter name="updateInterval" type="integer" min="10" required="true" unit="s">
<label>@text/thing-type.config.shelly.updateInterval.label</label>
<description>@text/thing-type.config.shelly.updateInterval.description</description>
<label>Status Interval</label>
<description>Interval for the device status update</description>
<default>60</default>
<unitLabel>seconds</unitLabel>
<advanced>true</advanced>
</parameter>
<parameter name="enableBluGateway" type="boolean" required="false">
<label>@text/thing-type.config.shelly.enableBluGateway.label</label>
<description>@text/thing-type.config.shelly.enableBluGateway.description</description>
<label>Enable BLU Gateway Support</label>
<description>Enables BLU Gateway support including auto-upload of the required script</description>
<default>false</default>
</parameter>
<parameter name="enableRangeExtender" type="boolean" required="false">
<label>@text/thing-type.config.shelly.enableRangeExtender.label</label>
<description>@text/thing-type.config.shelly.enableRangeExtender.description</description>
<label>Enable Range Extender Support</label>
<description>Auto discovers devices, which are connected using the Shelly Range Extender support</description>
<default>false</default>
</parameter>
</config-description>

<config-description uri="thing-type:shelly:roller-gen2">
<parameter name="deviceIp" type="text" required="true">
<label>@text/thing-type.config.shelly.deviceIp.label</label>
<description>@text/thing-type.config.shelly.deviceIp.description</description>
<label>IP Address</label>
<description>IP Address of the Shelly device</description>
<context>network-address</context>
</parameter>
<parameter name="password" type="text" required="false">
<label>@text/thing-type.config.shelly.password.label</label>
<description>@text/thing-type.config.shelly.password.description</description>
<label>Password</label>
<description>Password for API access</description>
<context>password</context>
</parameter>
<parameter name="favoriteUP" type="integer" min="0" max="4" required="false">
<label>@text/thing-type.config.shelly.roller.favoriteUP.label</label>
<description>@text/thing-type.config.shelly.roller.favoriteUP.description</description>
<label>Favorite ID for UP</label>
<description>Specifies the favorite ID that is used during the command UP on the roller#control channel (use the
Shelly App to configure favorites)</description>
<default>0</default>
</parameter>
<parameter name="favoriteDOWN" type="integer" min="0" max="4" required="false">
<label>@text/thing-type.config.shelly.roller.favoriteDOWN.label</label>
<description>@text/thing-type.config.shelly.roller.favoriteDOWN.description</description>
<label>Favorite ID for DOWN</label>
<description>Specifies the favorite ID that is used during the command DOWN on the roller#control channel (use the
Shelly App to configure favorites)</description>
<default>0</default>
</parameter>
<parameter name="updateInterval" type="integer" min="10" required="true" unit="s">
<label>@text/thing-type.config.shelly.updateInterval.label</label>
<description>@text/thing-type.config.shelly.updateInterval.description</description>
<label>Status Interval</label>
<description>Interval for the device status update</description>
<default>60</default>
<unitLabel>seconds</unitLabel>
<advanced>true</advanced>
</parameter>
<parameter name="enableBluGateway" type="boolean" required="false">
<label>@text/thing-type.config.shelly.enableBluGateway.label</label>
<description>@text/thing-type.config.shelly.enableBluGateway.description</description>
<label>Enable BLU Gateway Support</label>
<description>Enables BLU Gateway support including auto-upload of the required script</description>
<default>false</default>
</parameter>
</config-description>

<config-description uri="thing-type:shelly:rgbw-gen2">
<parameter name="deviceIp" type="text" required="true">
<label>@text/thing-type.config.shelly.deviceIp.label</label>
<description>@text/thing-type.config.shelly.deviceIp.description</description>
<label>IP Address</label>
<description>IP Address of the Shelly device</description>
</parameter>
<parameter name="password" type="text" required="false">
<label>@text/thing-type.config.shelly.password.label</label>
<description>@text/thing-type.config.shelly.password.description</description>
<label>Password</label>
<description>Password for API access</description>
<context>password</context>
</parameter>
<parameter name="updateInterval" type="integer" min="10" required="true" unit="s">
<label>@text/thing-type.config.shelly.updateInterval.label</label>
<description>@text/thing-type.config.shelly.updateInterval.description</description>
<label>Status Interval</label>
<description>Interval for the device status update</description>
<default>60</default>
<unitLabel>seconds</unitLabel>
<advanced>true</advanced>
</parameter>
<parameter name="enableBluGateway" type="boolean" required="false">
<label>@text/thing-type.config.shelly.enableBluGateway.label</label>
<description>@text/thing-type.config.shelly.enableBluGateway.description</description>
<label>Enable BLU Gateway Support</label>
<description>Enables BLU Gateway support including auto-upload of the required script</description>
<default>false</default>
</parameter>
<parameter name="enableRangeExtender" type="boolean" required="false">
<label>@text/thing-type.config.shelly.enableRangeExtender.label</label>
<description>@text/thing-type.config.shelly.enableRangeExtender.description</description>
<label>Enable Range Extender Support</label>
<description>Auto discovers devices, which are connected using the Shelly Range Extender support</description>
<default>false</default>
</parameter>
</config-description>

<config-description uri="thing-type:shelly:battery-gen2">
<parameter name="deviceIp" type="text" required="true">
<label>@text/thing-type.config.shelly.deviceIp.label</label>
<description>@text/thing-type.config.shelly.deviceIp.description</description>
<label>IP Address</label>
<description>IP Address of the Shelly device</description>
<context>network-address</context>
</parameter>
<parameter name="password" type="text" required="false">
<label>@text/thing-type.config.shelly.password.label</label>
<description>@text/thing-type.config.shelly.password.description</description>
<label>Password</label>
<description>Password for API access</description>
<context>password</context>
</parameter>
<parameter name="lowBattery" type="integer" required="false">
<label>@text/thing-type.config.shelly.battery.lowBattery.label</label>
<description>@text/thing-type.config.shelly.battery.lowBattery.description</description>
<label>Low Battery Treshold (%)</label>
<description>An alarm is triggered when the device reports a battery charge lower than this threshold. Default: 20%</description>
<default>20</default>
<unitLabel>%</unitLabel>
</parameter>
<parameter name="updateInterval" type="integer" min="60" required="true" unit="s">
<label>@text/thing-type.config.shelly.updateInterval.label</label>
<description>@text/thing-type.config.shelly.updateInterval.description</description>
<label>Status Interval</label>
<description>Interval for the device status update</description>
<default>900</default>
<unitLabel>seconds</unitLabel>
<advanced>true</advanced>
Expand All @@ -125,30 +127,31 @@

<config-description uri="thing-type:shelly:dimmer-gen2">
<parameter name="deviceIp" type="text" required="true">
<label>@text/thing-type.config.shelly.deviceIp.label</label>
<description>@text/thing-type.config.shelly.deviceIp.description</description>
<label>IP Address</label>
<description>IP Address of the Shelly device</description>
<context>network-address</context>
</parameter>
<parameter name="password" type="text" required="false">
<label>@text/thing-type.config.shelly.password.label</label>
<description>@text/thing-type.config.shelly.password.description</description>
<label>Password</label>
<description>Password for API access</description>
<context>password</context>
</parameter>
<parameter name="brightnessAutoOn" type="boolean" required="false">
<label>@text/thing-type.config.shelly.light.brightnessAutoOn.label</label>
<description>@text/thing-type.config.shelly.light.brightnessAutoOn.description</description>
<label>Brightness Auto-ON</label>
<description>ON: Light is switched on when a brightness value greater than 0 is set; OFF: Brightness is set, but the
device is not switched on</description>
<default>true</default>
</parameter>
<parameter name="updateInterval" type="integer" min="10" required="true" unit="s">
<label>@text/thing-type.config.shelly.updateInterval.label</label>
<description>@text/thing-type.config.shelly.updateInterval.description</description>
<label>Status Interval</label>
<description>Interval for the device status update</description>
<default>60</default>
<unitLabel>seconds</unitLabel>
<advanced>true</advanced>
</parameter>
<parameter name="enableBluGateway" type="boolean" required="false">
<label>@text/thing-type.config.shelly.enableBluGateway.label</label>
<description>@text/thing-type.config.shelly.enableBluGateway.description</description>
<label>Enable BLU Gateway Support</label>
<description>Enables BLU Gateway support including auto-upload of the required script</description>
<default>false</default>
</parameter>
</config-description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,27 @@

<config-description uri="thing-type:shelly:blubattery">
<parameter name="deviceAddress" type="text" required="true">
<label>@text/thing-type.config.shelly.deviceAddress.label</label>
<description>
@text/thing-type.config.shelly.deviceAddress.description</description>
<label>MAC Address</label>
<description>MAC Address of the Shelly device</description>
</parameter>
<parameter name="lowBattery" type="integer" required="false">
<label>@text/thing-type.config.shelly.battery.lowBattery.label</label>
<description>
@text/thing-type.config.shelly.battery.lowBattery.description</description>
<label>Low Battery Treshold (%)</label>
<description>An alarm is triggered when the device reports a battery charge lower than this threshold. Default: 20%</description>
<default>20</default>
<unitLabel>%</unitLabel>
</parameter>
</config-description>

<config-description uri="thing-type:shelly:blugw">
<parameter name="deviceIp" type="text" required="true">
<label>@text/thing-type.config.shelly.deviceIp.label</label>
<description>@text/thing-type.config.shelly.deviceIp.description</description>
<label>IP Address</label>
<description>IP Address of the Shelly device</description>
<context>network-address</context>
</parameter>

<parameter name="enableBluGateway" type="boolean" required="false">
<label>@text/thing-type.config.shelly.enableBluGateway.label</label>
<description>
@text/thing-type.config.shelly.enableBluGateway.description</description>
<label>Enable BLU Gateway Support</label>
<description>Enables BLU Gateway support including auto-upload of the required script</description>
<default>true</default>
</parameter>
</config-description>
Expand Down
Loading