SD Recorder Mode¶
Document Context¶
- Purpose: Standalone operation mode for logging meter reports to SD card without network connectivity or USB-C power
- When to use: Off-grid installations, temporary deployments, backup logging without network infrastructure
- Prerequisites: FAT32-formatted SD card, initial device configuration via network, understanding of LED indicator patterns
- Related to: SD card configuration, Device settings, Power management
- Validates against: Firmware 2.0.1+ requirements, SD card mount behavior, LED status indicators
Key Facts¶
- Availability: Firmware 2.0.1 and newer
- Power source: Meter interface only (no USB-C in recorder mode)
- Configuration:
services.sd.recorder_mode: truevia REST API before deployment - LED indicators: Green (OK), Red (meter comm error), Blinking (SD card issue)
- Unmount time: 200 seconds window after 3-6s button press
- Data format: Standard CSV reports with configurable frequency (1-1440 seconds)
Overview¶
SD Recorder Mode enables the whatwatt Go device to operate standalone, powered solely by the meter interface and logging reports to SD card without network connectivity or USB-C power. This mode is ideal for:
- Off-grid installations without network infrastructure
- Temporary deployments requiring local data collection
- Backup logging independent of network availability
- Field testing and data collection scenarios
Firmware Requirement
SD Recorder Mode requires firmware version 2.0.1 or newer.
Pre-Configuration Required
The device must be configured via network (Wi-Fi or Ethernet) before deploying in recorder mode. Once activated, the device operates offline without network access.
Setup Procedure¶
1. Prepare SD Card¶
Insert a FAT32-formatted SD card into the device. Most new SD cards come pre-formatted in FAT32.
SD Card Format
If your card needs formatting, use FAT32 file system. Most cards up to 32GB are formatted as FAT32 by default.
2. Initial Network Connection¶
Connect the device to your network using either:
- Wi-Fi: Configure via Wi-Fi setup
- Ethernet: Connect via LAN cable
Power the device via USB-C during configuration.
3. Configure Device Settings¶
Set up all required device parameters while connected to the network:
- Meter communication parameters
- Any other application-specific settings
4. Enable SD Recorder Mode¶
Activate recorder mode via the settings API:
curl -i -X PUT \
-H "Content-Type: application/json" \
-d '{"services":{"sd":{"recorder_mode":true,"frequency":15,"enable":true}}}' \
http://192.168.99.114/api/v1/settings
Configuration parameters:
| Parameter | Value | Description |
|---|---|---|
recorder_mode |
true |
Enable standalone SD recorder mode |
frequency |
15 |
Report logging interval in seconds (1-1440) |
enable |
true |
Enable SD card service |
Test First
Start with a shorter frequency (e.g., 15 seconds) to verify proper operation before deploying for longer periods.
5. Remove Wi-Fi Settings (Optional)¶
If the device was connected via Wi-Fi, clear the Wi-Fi configuration to ensure it doesn't attempt reconnection:
Via WebUI:
- Navigate to Reset WiFi Settings
Via REST API:
6. Deploy in Recorder Mode¶
- Disconnect the meter interface from the device
- Disconnect USB-C power cable
- Wait for the LED to turn off completely
- Connect the device to the meter interface (do not connect USB-C)
- Wait for the LED to illuminate
LED Status Indicators¶
The device uses LED patterns to indicate operational status in recorder mode:
| LED Pattern | Meaning | Action Required |
|---|---|---|
| Solid Green | Normal operation - meter communication OK, SD card mounted | None - device is logging properly |
| Solid Red | Meter communication error | Check meter interface connection and configuration |
| Blinking | SD card mounting issue | Check SD card insertion, format, or try different card |
Green LED ≠ Guaranteed Logging
A green LED indicates successful meter communication and SD card mounting, but doesn't guarantee that reports are being written correctly. Always verify data logging with a short test run before long-term deployment.
Verification Procedure¶
Before deploying for extended periods:
- Run the device in recorder mode for a short test period (e.g., 5-10 minutes)
- Safely unmount the SD card (see below)
- Check that CSV files are being created with expected data
- Verify file timestamps and content match your configuration
- Ensure sufficient SD card space for your deployment duration
Storage Planning
Calculate required storage: With 15-second intervals, expect approximately 5,760 reports per day. Each report is typically 100-200 bytes, requiring ~1MB per day.
SD Card Management¶
Safe Unmount Procedure¶
To remove the SD card without waiting for device shutdown:
- Press and hold the device button for 3-6 seconds
- LED will start blinking to indicate unmount mode
- You have 200 seconds to safely remove the SD card
- Remove the card during this window
Unmount Timeout
After 200 seconds, the device will attempt to remount the card automatically. Remove the card promptly after initiating unmount.
Remounting SD Card¶
After removing the card, to remount it:
Option 1: Automatic remount¶
- Insert the SD card back into the slot
- Wait for automatic detection and mounting
Option 2: Manual remount trigger¶
- Insert the SD card
- Press and hold the button for 3-6 seconds
- Device will attempt to mount the card immediately
Data Retrieval¶
Periodically transfer data from the SD card:
- Safely unmount as described above
- Remove card and read using a card reader
- Copy CSV files to backup storage
- Optionally delete old files to free space
- Reinsert card and remount
Regular Backups
Establish a regular schedule for data retrieval to prevent SD card capacity issues and ensure data is backed up.
Button Behavior¶
Button functionality differs between normal and recorder modes:
| Mode | Button Behavior |
|---|---|
| Normal Mode | Standard functions (factory reset, Wi-Fi config, etc.) |
| Recorder Mode | SD card unmount/mount trigger only (3-6s press) |
Limited Button Functions
In recorder mode, normal button functions (like factory reset or WPS) are disabled. Only SD card unmount/mount is available via button press.
Return to Normal Operation¶
To exit recorder mode and return to normal network-connected operation:
- Remove the meter interface connection
- Connect USB-C power cable
- The device will boot in normal mode
- Reconfigure network settings as needed
- Optionally disable recorder mode via API:
curl -i -X PUT \
-H "Content-Type: application/json" \
-d '{"services":{"sd":{"recorder_mode":false}}}' \
http://192.168.99.114/api/v1/settings
Troubleshooting¶
LED Stays Red¶
Problem: Solid red LED after connecting to meter
Possible causes:
- Meter interface not properly connected
- Incorrect meter communication settings
- Incompatible meter type
- Damaged meter interface cable
Solutions:
- Verify physical connections
- Test with USB-C power and network to check meter settings
- Review meter communication configuration
- Try different meter interface cable
LED Blinking¶
Problem: Blinking LED pattern
Possible causes:
- SD card not properly inserted
- SD card not formatted as FAT32
- Corrupted or defective SD card
- SD card capacity issues
Solutions:
- Reinsert SD card ensuring proper seating
- Format card as FAT32 (backup data first)
- Try a different SD card
- Verify card has sufficient free space
No Data on SD Card¶
Possible causes:
- SD card write errors
- Insufficient free space
- Incorrect frequency configuration
Solutions:
- Check SD card free space
- Verify
frequencysetting is reasonable (15-60 seconds recommended) - Test device in normal mode to verify meter communication
- Format SD card and retry with shorter test duration
Possible causes:
- Button held for incorrect duration (too short or too long)
Solutions:
- Ensure 3-6 second press duration (count slowly: "one thousand one, one thousand two...")
- Verify LED responds to button press with blinking pattern
- If no response, disconnect power completely and reconnect
Best Practices¶
- Always test first: Run a short verification period before long-term deployment
- Monitor storage: Calculate expected data volume and ensure adequate SD card capacity
- Regular backups: Establish schedule for periodic data retrieval
- Green LED verification: Don't trust green LED alone - verify actual data logging
- Clean shutdown: Always use safe unmount procedure before removing SD card
- Spare cards: Keep formatted spare SD cards for quick field replacement
- Documentation: Record configuration settings and deployment dates
- Capacity planning: Leave 20% free space buffer on SD card for write operations
Related Configuration¶
See also:
- SD Card Configuration - Basic SD logging setup
- CSV Format - Report file structure
- Device Settings - Complete settings reference
- File Listing - Browsing SD card contents
- Download Files - Retrieving CSV reports