Skip to content

Instantly share code, notes, and snippets.

@LosantGists
Last active June 23, 2016 21:39
Show Gist options
  • Select an option

  • Save LosantGists/94e841e6bdb838c9035373b3137b0e03 to your computer and use it in GitHub Desktop.

Select an option

Save LosantGists/94e841e6bdb838c9035373b3137b0e03 to your computer and use it in GitHub Desktop.
mosquitto-bridge-to-losant.conf
# For debugging
log_type all
# Bridge to Losant
connection bridge-to-losant
address broker.losant.com:8883
bridge_cafile /path/to/losant/LosantRootCA.crt
cleansession true
try_private false
bridge_attempt_unsubscribe false
notifications false
remote_clientid my-device-id
remote_username my-access-key
remote_password my-access-secret
topic losant/my-peripheral-device-id/state out 0
topic losant/my-peripheral-device-id/command in 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment