diff --git a/README.md b/README.md index 8ddc4a3..2d63c2e 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ But wait there is more! There is a nice data reporting html generator for reatim - Other functions - `ping` `ack` `test` will return data for signal, you can also `ping 15 #DrivingI5` to (activate auto-ping every 20 seconds for count 15) - `whereami` returns the address of location of sender if known - - `whoami` returns some details of the node asking + - `whoami` returns some details of the node asking, also returned when position exchanged 📍 - `tide` returns the local tides, NOAA data source - `wx` and `wxc` returns local weather forecast, (wxc is metric value), NOAA or Open Meteo for weather forecasting. - `wxa` and `wxalert` return NOAA alerts. Short title or expanded details diff --git a/mesh_bot.py b/mesh_bot.py index 18f3f1f..1724b7c 100755 --- a/mesh_bot.py +++ b/mesh_bot.py @@ -67,6 +67,7 @@ def auto_response(message, snr, rssi, hop, pkiStatus, message_from_id, channel_n "testing": lambda: handle_ping(message_from_id, deviceID, message, hop, snr, rssi, isDM), "test": lambda: handle_ping(message_from_id, deviceID, message, hop, snr, rssi, isDM), "whoami": lambda: handle_whoami(message_from_id, deviceID, hop, snr, rssi, pkiStatus), + "📍": lambda: handle_whoami(message_from_id, deviceID, hop, snr, rssi, pkiStatus) } # set the command handler diff --git a/modules/system.py b/modules/system.py index 6a531ac..3468199 100644 --- a/modules/system.py +++ b/modules/system.py @@ -36,7 +36,7 @@ if motd_enabled: # whoami Configuration if whoami_enabled: - trap_list_whoami = ("whoami",) + trap_list_whoami = ("whoami", "📍") trap_list = trap_list + trap_list_whoami help_message = help_message + ", whoami"