Skip to content

ESP32 Cam / Wall Switch / 2 Buttons / Sensor DHT11 / Hassio

Advertising
Advertising
?
Creation quality: 5.0/5 (1 vote)
Evaluation of members on the printability, utility, level of detail, etc.

  • 2.6k views
  • 2 likes
  • 16 downloads

License
3D design format
Folder details Close
  • Couvercle.stl
  • SwitchCam_2BTN_V4.stl
  • SwitchCam_2BTN_V5.stl
  • Switch_Sonoff_Multi_wallbox_v1.stl

Learn more about the formats

Publication date 2023-02-13 at 13:37
?
Published to Thingiverse on: 2020-04-26 at 18:34
Design number 1061647

3D printer file info

3D model description


======== 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 ========

Buttons

Sensor

ESP32-CAM

Cam Extention

PM-01


======== ESPHOME ========

```
esphome:
name: switch_cam_cuisine_2btn
platform: ESP32
board: esp-wrover-kit

wifi:
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: false

binary_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: 60s

switch:
- 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-kit

wifi:
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: false

binary_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: 60s

switch:
- platform: gpio
pin: 14
name: "Led_BTN_01"
- platform: gpio
pin: 15
name: "Led_BTN_02"
```

3D printing settings

-

Advertising


Issue with this design? Report a problem.

Would you like to support Cults?

You like Cults and you want to help us continue the adventure independently? Please note that we are a small team of 3 people, therefore it is very simple to support us to maintain the activity and create future developments. Here are 4 solutions accessible to all:

  • ADVERTISING: Disable your banner blocker (AdBlock, …) and click on our banner ads.

  • AFFILIATION: Make your purchases online by clicking on our affiliate links here Amazon.

  • DONATE: If you want, you can make a donation via Ko-Fi 💜.

  • WORD OF MOUTH: Invite your friends to come, discover the platform and the magnificent 3D files shared by the community!


Sharing and downloading on Cults3D guarantees that designs remain in makers community hands! And not in the hands of the 3D printing or software giants who own the competing platforms and exploit the designs for their own commercial interests.

Cults3D is an independent, self-financed site that is not accountable to any investor or brand. Almost all of the site's revenues are paid back to the platform's makers. The content published on the site serves only the interests of its authors and not those of 3D printer brands who also wish to control the 3D modeling market.

100% secure payment by credit card, PayPal, Apple Pay, Google Pay, etc.
View all payment options.