Skip to content

Commit

Permalink
Adjust line lengths in doc string
Browse files Browse the repository at this point in the history
Signed-off-by: Jim Easterbrook <jim@jim-easterbrook.me.uk>
  • Loading branch information
jim-easterbrook committed Aug 22, 2018
1 parent a30d9b7 commit bff108c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions src/pywws/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = '18.8.0'
_release = '1570'
_commit = '4e3889c'
_release = '1571'
_commit = 'a30d9b7'
18 changes: 9 additions & 9 deletions src/pywws/service/mqtt.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,15 @@
``user`` and ``password`` can be used for MQTT authentication.
``tls_cert`` and ``tls_ver`` are used for MQTT TLS security. Set tls_cert
as the path to a CA certificate (e.g. tls_cert = /home/pi/pywws/ca_cert/mqtt_ca.crt)
and tls_ver to the TLS version (e.g. tls_ver = 2) (TLS1.2 recommended).
See https://mosquitto.org/man/mosquitto-tls-7.html for information on how to
generate certificates. Only copy the ca.crt to your pywws client.
See http://www.steves-internet-guide.com/mosquitto-tls/ for a step-by-step guide
to securing your MQTT server.
Note that secure MQTTS usually uses port 8883, so you will need to also
change the port number.
``tls_cert`` and ``tls_ver`` are used for MQTT TLS security. Set
tls_cert as the path to a CA certificate (e.g. tls_cert =
/home/pi/pywws/ca_cert/mqtt_ca.crt) and tls_ver to the TLS version (e.g.
tls_ver = 2) (TLS1.2 recommended). See
https://mosquitto.org/man/mosquitto-tls-7.html for information on how to
generate certificates. Only copy the ca.crt to your pywws client. See
http://www.steves-internet-guide.com/mosquitto-tls/ for a step-by-step
guide to securing your MQTT server. Note that secure MQTTS usually uses
port 8883, so you will need to also change the port number.
``multi_topic`` is a boolean and should be set to ``True`` or ``False``.
If set to ``True`` pywws will also publish all the data each as separate
Expand Down

0 comments on commit bff108c

Please sign in to comment.