-
Notifications
You must be signed in to change notification settings - Fork 15
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Hi,
Thank you for your component. I am trying to use it with my ESP32-CAM board.
I formatted the 8G micro-SD card using Fat32. I can get the picture of the camera, however the values of 'SD card used space', 'SD card free space', and 'SD card type' are 'unknown'. I am not sure what the issue is, might be a defective board or not.
Below is my yaml:
......
external_components:
- source: github://n-serrette/esphome_sd_card
sd_mmc_card:
id: esp_camera_sd_card
mode_1bit: false
clk_pin: GPIO14
cmd_pin: GPIO15
data0_pin: GPIO2
data1_pin: GPIO4
data2_pin: GPIO12
data3_pin: GPIO13
esp32_camera:
external_clock:
pin: GPIO0
frequency: 20MHz
i2c_pins:
sda: GPIO26
scl: GPIO27
data_pins: [GPIO5, GPIO18, GPIO19, GPIO21, GPIO36, GPIO39, GPIO34, GPIO35]
vsync_pin: GPIO25
href_pin: GPIO23
pixel_clock_pin: GPIO22
power_down_pin: GPIO32
sensor:
- platform: wifi_signal
name: '$hostname WiFi Signal'
- platform: sd_mmc_card
type: used_space
name: "SD card used space"
- platform: sd_mmc_card
type: total_space
name: "SD card total space"
text_sensor:
- platform: sd_mmc_card
sd_card_type:
name: "SD card type"
The logs show that "Component sd_mmc_card is marked FAILED"
[15:19:39][C][sd_mmc_card:018]: SD MMC Component
[15:19:39][C][sd_mmc_card:019]: Mode 1 bit: 0
[15:19:39][C][sd_mmc_card:020]: CLK Pin: GPIO14
[15:19:39][C][sd_mmc_card:021]: CMD Pin: GPIO15
[15:19:39][C][sd_mmc_card:022]: DATA0 Pin: GPIO2
[15:19:39][C][sd_mmc_card:024]: DATA1 Pin: GPIO4
[15:19:39][C][sd_mmc_card:025]: DATA2 Pin: GPIO12
[15:19:39][C][sd_mmc_card:026]: DATA3 Pin: GPIO13
[15:19:39][C][sd_mmc_card:029]: Used space 'SD card used space'
[15:19:39][C][sd_mmc_card:029]: State Class: 'measurement'
[15:19:39][C][sd_mmc_card:029]: Unit of Measurement: 'B'
[15:19:39][C][sd_mmc_card:029]: Accuracy Decimals: 2
[15:19:39][C][sd_mmc_card:029]: Icon: 'mdi:memory'
[15:19:39][C][sd_mmc_card:030]: Total space 'SD card total space'
[15:19:39][C][sd_mmc_card:030]: State Class: 'measurement'
[15:19:39][C][sd_mmc_card:030]: Unit of Measurement: 'B'
[15:19:39][C][sd_mmc_card:030]: Accuracy Decimals: 2
[15:19:39][C][sd_mmc_card:030]: Icon: 'mdi:memory'
[15:19:39][C][sd_mmc_card:037]: SD Card Type 'SD card type'
[15:19:39][E][component:082]: Component sd_mmc_card is marked FAILED
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working