From a46604d9703190df7cc3aa76687de01466d454d9 Mon Sep 17 00:00:00 2001 From: Stephen Minakian Date: Tue, 22 Jul 2025 16:28:21 -0600 Subject: [PATCH] Updated cmds --- cmd.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cmd.txt b/cmd.txt index f43c18d..2d3bcd7 100644 --- a/cmd.txt +++ b/cmd.txt @@ -1,2 +1,8 @@ docker run -it --rm --network mqtt-broker_mqtt-network eclipse-mosquitto:2.0.22 mosquitto_pub -h mosquitto -u home-server -P '123QWeaSDZXC!@#' -t "home/plants/pump1/command" -m "OFF" -r docker run -it --rm --network mqtt-broker_mqtt-network eclipse-mosquitto:2.0.22 mosquitto_sub -h mosquitto -u monitor -P ThisIsNotATest123monitor -t "home/plants/#" -v + + +docker run --user $(id -u):$(id -g) --rm -v $PWD:/project -w /project -it espressif/idf:latest idf.py build +docker run --privileged --rm -v $PWD:/project -w /project --device=/dev/ttyACM0 -it espressif/idf:latest idf.py monitor -p /dev/ttyACM0 +(If ota does not work) +docker run --privileged --rm -v $PWD:/project -w /project --device=/dev/ttyACM0 -it espressif/idf:latest idf.py flash -p /dev/ttyACM0 \ No newline at end of file