Advertisement
Guest User

Untitled

a guest
Oct 3rd, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #
  2. # Define your MQTT broker connections here for use in the MQTT Binding or MQTT
  3. # Persistence bundles. Replace <broker> with an ID you choose.
  4. #
  5.  
  6. # URL to the MQTT broker, e.g. tcp://localhost:1883 or ssl://localhost:8883
  7. mqtt:broker.url=tcp://localhost:1883
  8.  
  9. # Optional. Client id (max 23 chars) to use when connecting to the broker.
  10. # If not provided a random default is generated.
  11. mqtt:broker.clientId=OpenHAB
  12.  
  13. # Optional. True or false. If set to true, allows the use of clientId values
  14. # up to 65535 characters long. Defaults to false.
  15. # NOTE: clientId values longer than 23 characters may not be supported by all
  16. # MQTT servers. Check the server documentation.
  17. #mqtt:broker.allowLongerClientIds=false
  18.  
  19. # Optional. User id to authenticate with the broker.
  20. #mqtt:broker.user=<user>
  21.  
  22. # Optional. Password to authenticate with the broker.
  23. #mqtt:broker.pwd=<password>
  24.  
  25. # Optional. Set the quality of service level for sending messages to this broker.
  26. # Possible values are 0 (Deliver at most once),1 (Deliver at least once) or 2
  27. # (Deliver exactly once). Defaults to 0.
  28. #mqtt:broker.qos=<qos>
  29.  
  30. # Optional. True or false. Defines if the broker should retain the messages sent to
  31. # it. Defaults to false.
  32. mqtt:broker.retain=true
  33.  
  34. # Optional. True or false. Defines if messages are published asynchronously or
  35. # synchronously. Defaults to true.
  36. mqtt:broker.async=false
  37.  
  38. # Optional. Defines the last will and testament that is sent when this client goes offline
  39. # Format: topic:message:qos:retained <br/>
  40. #mqtt:broker.lwt=NA
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement