======== English Description ========
Hello community! I created a wall switch with an ESP32-CAM camera, I added 2 momentary buttons to control home automation devices, in my case leds under my kitchen counter. I did the programming in ESPHOME and I then integrated into my home automation system which is Home-Assistant. For the moment it is a prototype I will update it when I have time.
======== French Description ========
Bonjour la communauté ! J'ai créer une switch mural avec une caméra ESP32-CAM, j'ai ajouté 2 boutons momentanés pour contrôler des appareils domotique, dans mon cas des leds sous mon comptoir de cuisine. J'ai fait la programmation dans ESPHOME et j'ai ensuite intégré dans mon système de domotique qui est Home-Assistant. Pour le moment c'est un prototype je vais le mettre a jours quand j'aurai du temps.
======== Parts List ========
======== ESPHOME ========
esphome: name: switch_cam_cuisine_2btn platform: ESP32 board: esp-wrover-kitwifi: ssid: "IzouCube - Wifi" password: "yourwifipassword" ap: ssid: "Switch Cam Cuisine 2Btn" password: "yourwifipassword"captive_portal:logger:api:ota: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 name: Camera Cuisine horizontal_mirror: falsebinary_sensor:# Bouton 01 - platform: gpio pin: number: GPIO12 mode: INPUT_PULLUP inverted: true name: "Cuisine_BTN_01"# Bouton 02 - platform: gpio pin: number: GPIO13 mode: INPUT_PULLUP inverted: true name: "Cuisine_BTN_02"sensor:# Senseur de Temperature et Humidity - platform: dht pin: GPIO2 model: DHT11 temperature: name: "Cuisine Temperature" humidity: name: "Cuisine Humidity" update_interval: 60sswitch: - platform: gpio pin: 14 name: "Led_BTN_01" - platform: gpio pin: 15 name: "Led_BTN_02"esphome: name: switch_cam_cuisine_2btn platform: ESP32 board: esp-wrover-kitwifi: ssid: "IzouCube - Wifi" password: "5144581386a" ap: ssid: "Switch Cam Cuisine 2Btn" password: "5144581386a"captive_portal:logger:api:ota: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 name: Camera Cuisine horizontal_mirror: falsebinary_sensor:# Bouton 01 - platform: gpio pin: number: GPIO12 mode: INPUT_PULLUP inverted: true name: "Cuisine_BTN_01"# Bouton 02 - platform: gpio pin: number: GPIO13 mode: INPUT_PULLUP inverted: true name: "Cuisine_BTN_02"sensor:# Senseur de Temperature et Humidity - platform: dht pin: GPIO2 model: DHT11 temperature: name: "Cuisine Temperature" humidity: name: "Cuisine Humidity" update_interval: 60sswitch: - platform: gpio pin: 14 name: "Led_BTN_01" - platform: gpio pin: 15 name: "Led_BTN_02"
Couvercle.stl | 8.5KB | |
SwitchCam_2BTN_V4.stl | 362.7KB | |
SwitchCam_2BTN_V5.stl | 364.2KB | |
Switch_Sonoff_Multi_wallbox_v1.stl | 441.1KB |