Difference between revisions of "MQTT: mosquitto.conf"
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| Onnowpurbo (talk | contribs)  (Created page with "==Option 1==   pid_file /run/mosquitto/mosquitto.pid  allow_anonymous true  persistence true  persistence_location /var/lib/mosquitto/  log_dest file /var/log/mosquitto/mosqui...") | Onnowpurbo (talk | contribs)  | ||
| Line 32: | Line 32: | ||
|   # Set the version of the MQTT protocol to use with for this bridge. Can be one |   # Set the version of the MQTT protocol to use with for this bridge. Can be one | ||
|   # of mqttv50, mqttv311 or mqttv31. Defaults to mqttv311. |   # of mqttv50, mqttv311 or mqttv31. Defaults to mqttv311. | ||
| − |   bridge_protocol_version mqttv311 | + |   # bridge_protocol_version mqttv311 | 
Revision as of 05:21, 8 April 2022
Option 1
pid_file /run/mosquitto/mosquitto.pid allow_anonymous true persistence true persistence_location /var/lib/mosquitto/ log_dest file /var/log/mosquitto/mosquitto.log include_dir /etc/mosquitto/conf.d
Option 2
persistence true persistence_location /var/lib/mosquitto/ persistence_file mosquitto.db log_dest syslog log_dest stdout log_dest topic log_type error log_type warning log_type notice log_type information connection_messages true log_timestamp true allow_anonymous true password_file /etc/mosquitto/passwd
Option 3
# Set the version of the MQTT protocol to use with for this bridge. Can be one # of mqttv50, mqttv311 or mqttv31. Defaults to mqttv311. # bridge_protocol_version mqttv311