Fusion/Speicherkarte/en
Erscheinungsbild
Dies ist die englische Fassung. Zur deutschen Fassung
The board has a slot for a microSD (TF) card. Fusion uses it to store data permanently. The card is optional: without a card everything works as before, just without the features on this page.
What is stored
| Content | Folder | Description |
|---|---|---|
| Sensor history | verlauf/YYYY-MM-DD.csv |
one value per sensor every 10 minutes (rooms, internal sensor) plus the outdoor values from Open-Meteo (temperature, humidity, pressure, wind). One file per day, columns zeit,id,raum,name,wert,einheit
|
| Permanent log | log/YYYY-MM-DD.log |
all messages of /log, also across restarts and crashes
|
Old files delete themselves: the log after 30 days, the history after 400 days, and with less than 20 MB free the oldest first. Credentials (WiFi, MQTT) are never written to the card.
Setup
- Format a microSD card with FAT32 (usually the default for cards up to 32 GB).
- Insert the card. The device looks for a card every 30 seconds, no restart needed. A card that cannot be read is never formatted without asking.
/logthen shows[Karte] erkannt: bereit, … GB frei. In the web UI the "Speicherkarte" card shows the status.
View and download files
At http://wettercube-fusion.local/karte (link in the web UI) all daily files are listed with size, newest first. A click downloads the file; CSV files open in Excel or Numbers. The card does not have to leave the device.
Notes
- Writes happen only every 15 seconds (log) and every 10 minutes (history), which spares the card and the display.
- The time must be known (NTP), otherwise no history is written.
- Removing the card while running is possible, the device then looks for it again. To protect the data, switch the device off first.
- Status: built for the S3 development board (SPI mode, chip select via the IO expander). The P4 board connection (SDMMC, 4 bit) is prepared and built but not tested on the board yet.