position exchange response
This commit is contained in:
SpudGunMan
2024-10-03 16:24:29 -07:00
parent 679184e8e0
commit 2d1e9af5cb
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -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
+1
View File
@@ -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
+1 -1
View File
@@ -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"