Open sergiors opened 2 months ago
mosquitto.conf
listener 1883
allow_anonymous true
listener 9001
protocol websockets
allow_anonymous true
# Debug logging
log_type all
# Enable persistent storage
persistence true
# Set the location for the persistence files
persistence_location /mosquitto/data
# If configured with `autosave_on_changes` represents, this represents the total
# number of changes before an autosave. Otherwise, it uses seconds, and defaults
# to 1800 (30 minutes).
autosave_interval 1
Test mosquitto as MQTT protocol