summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2026-01-15 12:40:15 +0100
committerYuval Adam <_@yuv.al>2026-01-15 12:40:15 +0100
commit1b544949b8c26367f91538047d570fe9e3e18ad4 (patch)
tree6ef731217a6a49233f40465400af87cabb44426d /README.md
parentfb5e3c4848d331142376c48b9eb0cf082fb703b1 (diff)
Implement deep sleep with button wakeupHEADmain
Diffstat (limited to 'README.md')
-rw-r--r--README.md19
1 files changed, 13 insertions, 6 deletions
diff --git a/README.md b/README.md
index 3f405cd..46050c5 100644
--- a/README.md
+++ b/README.md
@@ -43,22 +43,29 @@ If your port differs from `/dev/ttyACM0`, override it:
make flash PORT=/dev/ttyUSB0
```
+## Behavior
+
+1. On boot: connects to WiFi and MQTT, publishes voltage 3 times
+2. Enters deep sleep
+3. Press BOOT button to wake
+4. Repeat
+
## Expected Output
```
=== T-Energy-S3 MQTT Monitor ===
+Initial boot
MAC Address: AA:BB:CC:DD:EE:FF
-Scanning WiFi...
-Found 5 networks:
- 1: MyNetwork (-45 dBm)
- ...
-
Connecting to MyNetwork...
Connected! IP: 192.168.1.100
Connecting to MQTT mqtt.example.com:8883...
MQTT connected!
Battery: 4200 mV
Published to my/topic: 4200
-...
+Battery: 4200 mV
+Published to my/topic: 4200
+Battery: 4200 mV
+Published to my/topic: 4200
+Entering deep sleep... press button to wake
```