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
+51-3
Original file line number
Diff line number
Diff line change
@@ -175,9 +175,27 @@ 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 +234,7 @@ socket to initiate OpenWebNet sessions:
216
234
217
235
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
236
219
-
For that, you need to a `Device` node with the correct brand/model attributes for each device present in the installation:
237
+
For that, you need to add a `Device` node with the correct brand/model attributes for each device present in the installation:
220
238
- The serial number is required for In One by Legrand and MyHome Play devices and optional for MyHome Up devices.
221
239
- The unit node is not used for MyHome Up devices but is generally required for In One by Legrand and MyHome Play devices.
222
240
- 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 +323,12 @@ For that, you need to a `Device` node with the correct brand/model attributes fo
305
323
<CapabilityName="On/off switching" />
306
324
</Endpoint>
307
325
326
+
<!-- MyHome Up light point general endpoint -->
327
+
328
+
<EndpointName="General/All lights"Type="SCS light point general">
329
+
<CapabilityName="On/off switching" />
330
+
</Endpoint>
331
+
308
332
</Configuration>
309
333
```
310
334
@@ -328,12 +352,36 @@ sudo service opennetty start
328
352
>
329
353
> You can also send an empty `opennetty/bedroom/wall light/switch_state/get` message to get the current switch state of the endpoint.
330
354
331
-
> [!TIP]
355
+
> [!IMPORTANT]
332
356
> The complete list of supported MQTT attributes can be found in the [`OpenNettyMqttAttributes.cs` file](src/OpenNetty.Mqtt/OpenNettyMqttAttributes.cs).
333
357
>
334
358
> Ready-to-use templates for Jeedom's [jMQTT plugin](https://market.jeedom.com/index.php?v=d&p=market_display&id=3166)
335
359
> can be found in the [opennetty-resources](https://github.com/opennetty/opennetty-resources) repository.
336
360
361
+
### If necessary, change the default log level
362
+
363
+
By default, OpenNetty always uses `Information` as the default log level. The log level
364
+
can be easily changed by editing the `appsettings.json` file and restarting the daemon:
0 commit comments