diff --git a/platformio.ini b/platformio.ini index 0abd2ee..b46232d 100644 --- a/platformio.ini +++ b/platformio.ini @@ -27,6 +27,6 @@ lib_deps = lib_ignore = ESPAsyncTCP board_build.partitions = partitions_singleapp.csv monitor_speed = 115200 -#upload_protocol = espota -#upload_port = 192.168.0.128 -#upload_flags = -p 8266 +upload_protocol = espota +upload_port = 192.168.0.89 +upload_flags = -p 8266 diff --git a/src/main.cpp b/src/main.cpp index af7cfd5..321bcfb 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -33,6 +33,7 @@ BleMouse bleMouse(deviceName " " room, deviceName " enterprise", 100); bool sendTelemetry(int ble_connected = -1) { StaticJsonDocument<256> tele; tele["room"] = room; + tele["ssid"] = ssid; tele["ip"] = localIp; tele["hostname"] = WiFi.getHostname();