[freeboxos] Change default HTTPS port (#17086)

Set default to 443 as it is the default HTTPS port to use to connect to mafreebox.freebox.fr.
Fix #17075

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
This commit is contained in:
lolodomo 2024-07-31 10:16:07 +02:00 committed by Ciprian Pascu
parent 6ec86dd665
commit 640396c7f9
4 changed files with 8 additions and 8 deletions

View File

@ -60,8 +60,8 @@ FreeboxOS binding has the following configuration parameters:
| Application Token | appToken | Token generated by the Freebox Server. | Yes | |
| Network Device Discovery | discoverNetDevice | Enable the discovery of network device things. | No | false |
| Background Discovery Interval | discoveryInterval | Interval in minutes - 0 disables background discovery | No | 10 |
| HTTPS Available | httpsAvailable | Tells if https has been configured on the Freebox | No | false |
| HTTPS port | httpsPort | Port to use for remote https access to the Freebox Api | No | 15682 |
| HTTPS Available | httpsAvailable | Tells if HTTPS has been configured on the Freebox | No | false |
| HTTPS port | httpsPort | Port to use for HTTPS access to the Freebox Api | No | 443 |
| Websocket Reconnect Interval | wsReconnectInterval | Disconnection interval, in minutes- 0 disables websocket usage | No | 60 |
If the parameter *apiDomain* is not set, the binding will use the default address used by Free to access your Freebox Server (mafreebox.freebox.fr).

View File

@ -36,7 +36,7 @@ public class FreeboxOsConfiguration {
public int discoveryInterval = 10;
public int wsReconnectInterval = 60;
private int httpsPort = 15682;
private int httpsPort = 443;
private boolean httpsAvailable;
private String getScheme() {

View File

@ -32,15 +32,15 @@
</parameter>
<parameter name="httpsAvailable" type="boolean">
<label>HTTPS Available</label>
<description>Tells if https has been configured on the Freebox</description>
<description>Tells if HTTPS has been configured on the Freebox</description>
<advanced>true</advanced>
<default>false</default>
</parameter>
<parameter name="httpsPort" type="integer">
<label>HTTPS port</label>
<description>Port to use for remote https access to the Freebox Api</description>
<description>Port to use for HTTPS access to the Freebox Api</description>
<advanced>true</advanced>
<default>15682</default>
<default>443</default>
</parameter>
<parameter name="wsReconnectInterval" type="integer" min="0" max="1440" required="false" unit="min">
<label>Websocket Reconnect Interval</label>

View File

@ -70,9 +70,9 @@ bridge-type.config.freeboxos.api.discoverNetDevice.description = Enable the disc
bridge-type.config.freeboxos.api.discoveryInterval.label = Background Discovery Interval
bridge-type.config.freeboxos.api.discoveryInterval.description = Background discovery interval in minutes (default 10 - 0 disables background discovery)
bridge-type.config.freeboxos.api.httpsAvailable.label = HTTPS Available
bridge-type.config.freeboxos.api.httpsAvailable.description = Tells if https has been configured on the Freebox
bridge-type.config.freeboxos.api.httpsAvailable.description = Tells if HTTPS has been configured on the Freebox
bridge-type.config.freeboxos.api.httpsPort.label = HTTPS port
bridge-type.config.freeboxos.api.httpsPort.description = Port to use for remote https access to the Freebox Api
bridge-type.config.freeboxos.api.httpsPort.description = Port to use for HTTPS access to the Freebox Api
bridge-type.config.freeboxos.api.wsReconnectInterval.label = Websocket Reconnect Interval
bridge-type.config.freeboxos.api.wsReconnectInterval.description = Disconnection interval, in minutes- 0 disables websocket usage
thing-type.config.freeboxos.call.refreshInterval.label = State Refresh Interval