summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
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
```