docs: add TZ+3 mention, remove stale line ref
This commit is contained in:
@@ -121,7 +121,7 @@ All commands are processed in `onGroupDataRecv()`:
|
||||
| `kontrol <min>` | auto-status every N min | `kontrol 60 min ok` |
|
||||
| `kontrol off` | disable auto-status | `kontrol off` |
|
||||
| `reboot` | reboot device | `rebooting` |
|
||||
| `time` | show RTC date/time | `time:22.07.2026 11:00` |
|
||||
| `time` | show RTC date/time (MSK, UTC+3) | `time:22.07.2026 11:00` |
|
||||
| `time s DD.MM.YYYY HH.MM` | set RTC date/time | `time set 22.07.2026 11.00` |
|
||||
|
||||
### Response Delay
|
||||
@@ -223,7 +223,7 @@ The LED blink (3 fast flashes) is the first thing in `onGroupDataRecv`. If LED d
|
||||
- `rtc_clock.getCurrentTime()` returning bogus data (VolatileRTCClock starts from 0, fine).
|
||||
|
||||
### Adding a new command
|
||||
1. Add `else if` block in `onGroupDataRecv()` after line 168.
|
||||
1. Add `else if` block in `onGroupDataRecv()`.
|
||||
2. Use `strcmp(cmd, "command") == 0` for exact match.
|
||||
3. Call `send_text("response")` to reply.
|
||||
4. Update the `help` string.
|
||||
|
||||
@@ -119,7 +119,7 @@ Security Node — LoRa mesh-устройство, которое следит з
|
||||
|
||||
## Синхронизация времени (`time`)
|
||||
|
||||
`time` — показать текущее время устройства.
|
||||
`time` — показать текущее время устройства (МСК, UTC+3).
|
||||
`time s 22.07.2026 11.00` — установить дату и время. Формат: `time s DD.MM.YYYY HH.MM`
|
||||
Время используется для отметок в сообщениях. После перезагрузки сбрасывается (если нет внешнего RTC).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user