You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+49-3
Original file line number
Diff line number
Diff line change
@@ -175,9 +175,25 @@ server/port/username/password attributes to match the values used by your MQTT b
175
175
</Configuration>
176
176
```
177
177
178
-
> [!TIP]
178
+
> [!IMPORTANT]
179
179
> Using a code editor like [Visual Studio Code](https://code.visualstudio.com/) greatly simplifies writing the configuration file.
180
180
181
+
> [!TIP]
182
+
> For increased security, OpenNetty supports MQTTS and TLS client authentication: to use TLS, add the necessary `.crt` and `.key` files to the OpenNetty
183
+
> folder and set the `TlsServerCertificateAuthorityFile`, `TlsClientCertificateFile` and `TlsClientCertificatePrivateKeyFile` attributes.
184
+
>
185
+
> If necessary, a custom `TlsServerTargetHost` value – required when using Jeedom's `MQTT Manager` plugin and the default configuration – can be set:
OpenNetty requires listing the gateways in the configuration file.
@@ -216,7 +232,7 @@ socket to initiate OpenWebNet sessions:
216
232
217
233
To be able to communicate with "In One by Legrand", "MyHome Play" and "MyHome Up" devices, OpenNetty requires listing them in the configuration file.
218
234
219
-
For that, you need to a `Device` node with the correct brand/model attributes for each device present in the installation:
235
+
For that, you need to add a `Device` node with the correct brand/model attributes for each device present in the installation:
220
236
- The serial number is required for In One by Legrand and MyHome Play devices and optional for MyHome Up devices.
221
237
- The unit node is not used for MyHome Up devices but is generally required for In One by Legrand and MyHome Play devices.
222
238
- The unit must match one of the unit identifiers offered by the specific device. If you're unsure what identifier should be used,
@@ -305,6 +321,12 @@ For that, you need to a `Device` node with the correct brand/model attributes fo
305
321
<CapabilityName="On/off switching" />
306
322
</Endpoint>
307
323
324
+
<!-- MyHome Up light point general endpoint -->
325
+
326
+
<EndpointName="General/All lights"Type="SCS light point general">
327
+
<CapabilityName="On/off switching" />
328
+
</Endpoint>
329
+
308
330
</Configuration>
309
331
```
310
332
@@ -328,12 +350,36 @@ sudo service opennetty start
328
350
>
329
351
> You can also send an empty `opennetty/bedroom/wall light/switch_state/get` message to get the current switch state of the endpoint.
330
352
331
-
> [!TIP]
353
+
> [!IMPORTANT]
332
354
> The complete list of supported MQTT attributes can be found in the [`OpenNettyMqttAttributes.cs` file](src/OpenNetty.Mqtt/OpenNettyMqttAttributes.cs).
333
355
>
334
356
> Ready-to-use templates for Jeedom's [jMQTT plugin](https://market.jeedom.com/index.php?v=d&p=market_display&id=3166)
335
357
> can be found in the [opennetty-resources](https://github.com/opennetty/opennetty-resources) repository.
336
358
359
+
### If necessary, change the default log level
360
+
361
+
By default, OpenNetty always uses `Information` as the default log level. The log level
362
+
can be easily changed by editing the `appsettings.json` file and restarting the daemon:
0 commit comments