diff --git a/scripts/mosquitto.conf b/scripts/mosquitto.conf new file mode 100644 index 0000000..c7b1710 --- /dev/null +++ b/scripts/mosquitto.conf @@ -0,0 +1,2 @@ +allow_anonymous true +listener 1883 \ No newline at end of file diff --git a/start_flash.sh b/start_flash.sh index 714a48b..c76a330 100755 --- a/start_flash.sh +++ b/start_flash.sh @@ -24,7 +24,7 @@ setup () { echo " Starting web server in a screen" $screen_with_log smarthack-web.log -S smarthack-web -m -d ./fake-registration-server.py echo " Starting Mosquitto in a screen" - $screen_with_log smarthack-mqtt.log -S smarthack-mqtt -m -d mosquitto -v + $screen_with_log smarthack-mqtt.log -S smarthack-mqtt -m -d mosquitto -v -c $PWD/scripts/mosquitto.conf echo " Starting PSK frontend in a screen" $screen_with_log smarthack-psk.log -S smarthack-psk -m -d ./psk-frontend.py -v echo " Starting Tuya Discovery in a screen"