[freeboxos] Add websocket connection refresh mechanism (#15543)
* Adding the possibility to disable websocket listening. This is set up in order to ease debugging of the "Erreur Interne" issue. * Enhancing websocket work with recurrent deconnection, simplification of listeners handling * refactored function name * Fixed the name of the channel where the refresh command is sent. * Solving SAT issues * Corrected doc error * Added properties * Removed gson 2.10 now that it is included into core. --------- Signed-off-by: clinique <gael@lhopital.org>
This commit is contained in:
@@ -54,14 +54,15 @@ FreeboxOS binding has the following configuration parameters:
|
||||
|
||||
### API bridge
|
||||
|
||||
| Parameter Label | Parameter ID | Description | Required | Default |
|
||||
|-------------------------------|-------------------|--------------------------------------------------------|----------|----------------------|
|
||||
| Freebox Server Address | apiDomain | The domain to use in place of hardcoded Freebox ip | No | mafreebox.freebox.fr |
|
||||
| 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 |
|
||||
| Parameter Label | Parameter ID | Description | Required | Default |
|
||||
|-------------------------------|---------------------|----------------------------------------------------------------|----------|----------------------|
|
||||
| Freebox Server Address | apiDomain | The domain to use in place of hardcoded Freebox ip | No | mafreebox.freebox.fr |
|
||||
| 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 |
|
||||
| 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).
|
||||
The bridge thing will initialize only if a valid application token (parameter *appToken*) is filled.
|
||||
|
||||
Reference in New Issue
Block a user