Skip to content

Commit

Permalink
SSID added to mqtt telemetry
Browse files Browse the repository at this point in the history
  • Loading branch information
heisenberg2980 committed Jul 13, 2022
1 parent e1d00fe commit 9f7b8d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 9f7b8d8

Please sign in to comment.