From b931713a134dc10a81a5a93f0139daa306535bea Mon Sep 17 00:00:00 2001 From: Steven Date: Thu, 30 Sep 2021 16:22:33 -0400 Subject: Rename iot name just mush --- src/main/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/Makefile b/src/main/Makefile index 8b136e6..5da579d 100644 --- a/src/main/Makefile +++ b/src/main/Makefile @@ -69,7 +69,7 @@ MAKE_DIR := $(PWD) # # ----- setup wor Wemos D1 mini ----- FQBN ?= esp8266:esp8266:espmxdevkit -IOT_NAME ?= esp8266-mush +IOT_NAME ?= mush OTA_PORT ?= 8266 OTA_PASS ?= # ----- setup for Arduino Uno @@ -136,7 +136,7 @@ upload: PLAT_PATH != arduino-cli compile -b "$(FQBN)" --show-properties | grep '^runtime.platform.path' | awk -F= '{print $$2}' PY_PATH != arduino-cli compile -b "$(FQBN)" --show-properties | grep '^runtime.tools.python3.path' | awk -F= '{print $$2}' -IOT_IP != getent ahostsv4 esp8266-mush.local | (read ip _; echo $$ip) +IOT_IP != getent ahostsv4 mush.local | (read ip _; echo $$ip) ota: "$(PY_PATH)/python3" "$(PLAT_PATH)/tools/espota.py" -i "$(IOT_IP)" -p "$(OTA_PORT)" --auth="$(OTA_PASS)" -f "$(BIN)" -- cgit v1.2.3