ESP32 S3 Box3 - ESPHome - Home Assistant Community
This thread should become a collection of helpful configurations and tips for the newer ESP32-S3-Box 3, the successor of the ESP32-S3-Box. The new Box3 comes also with some additional components, like a Sensor-Box (R…
ESP32 S3 Box3 - ESPHome - Home Assistant Community = 40rem)" rel="stylesheet" data-target="desktop" /> = 40rem)" rel="stylesheet" data-target="chat_desktop" /> = 40rem)" rel="stylesheet" data-target="discourse-ai_desktop" /> = 40rem)" rel="stylesheet" data-target="discourse-reactions_desktop" /> = 40rem)" rel="stylesheet" data-target="poll_desktop" /> = 40rem)" rel="stylesheet" data-target="desktop_theme" data-theme-id="19" data-theme-name="scroll to top"/> ESP32 S3 Box3 ESPHome CChris (Christoph) November 8, 2023, 6:32pm 1 This thread should become a collection of helpful configurations and tips for the newer ESP32-S3-Box 3, the successor of the ESP32-S3-Box. grafik754×418 82.4 KB The new Box3 comes also with some additional components, like a Sensor-Box (Radar, for Presence-Detection, IR Controller, Temperature and Humidity Sensor and a Baterry (charger)… I hope, that we will figure out, how to use these components in HA … Update: The Display Backlight is no longer connected to GPIO 45 as it is for the S3-Box. The Backlight for the S3-Box3 is connected to GPIO47 The “Reset”-Pin remains the same, as well as the cs and dc pin (as far as I could get). output: - platform: ledc pin: GPIO47 id: lcd_backlight_pin light: - platform: monochromatic output: lcd_backlight_pin id: lcd_backlight name: "LCD Backlight" restore_mode: ALWAYS_ON is working - I am still trying to get the display itself showing something - but right now, this might just be a small issue with my text-configuration ^^ The i2c configuration is: i2c: sda: GPIO41 scl: GPIO40 With this, you should at least get the Temperature- and Humidity Sensor, which is an AHT-30, unfortunately, this sensor seems not to be supported by ESPHome, yet. Yet, I need to see if the IR emitter / receiver and the Radar-Sensor can also be made available… (which are also using GPIO40 & 41) based on the schematics – RADAR (MS58-3909S68U4 (?)) IO41 / IO40 – IR Receiver (IRM-H638T) IO38 – IR Transmiter IO39 https://github.com/espressif/esp-box/blob/master/hardware/SCH_ESP32-S3-BOX-3_V1.0/SCH_ESP32-S3-BOX-3-SENSOR-02_V1.1_20230808.pdf Sonoff NSPanel by ITead - Smart Scene Wall Switch based on ESP32 and custom Nextion Touch Screen Panel Display (non-Pro variant) A presentable voice assistant satellite ardenking (Ardenking) November 10, 2023, 2:52pm 2 thanks mine arrived yesterday trying to get my head round it atm also have the older S3 michel72 (Michel - IngeniousMakers.com) November 10, 2023, 3:58pm 3 Mine arrived today. Could someone kindly please share their esphome config? Cheers, Michel CChris (Christoph) November 10, 2023, 9:29pm 4 right now, there’s not much to share The device is barely working… I got the Backround LED from the Display to work… the Display itself not… The Temp. & Humidity Sensor from the SENSOR-Dock is not working, probably, because the used AHT-30 sensor isn’t yet implemented in the code (it is only showing “unknown” in HA)… I haven’t yet tried the other components … but here you’ll find my current config: kalon_Bihan (Kalonbihan29) November 11, 2023, 3:43pm 5 Hello, This Display config work with BOX3 The problème is the RESET PIN display: - platform: ili9xxx model: s3box cs_pin: GPIO5 dc_pin: GPIO4 #reset_pin: GPIO48 CChris (Christoph) November 11, 2023, 5:09pm 6 Thanks Another issue I do have - it seems that the compiled program is already too big… Compiling .pioenvs/esp32-s3-box-3/src/main.cpp.o Linking .pioenvs/esp32-s3-box-3/firmware.elf RAM: [== ] 20.3% (used 66548 bytes from 327680 bytes) Flash: [==========] 101.8% (used 1868869 bytes from 1835008 bytes) Error: The program size (1868869 bytes) is greater than maximum allowed (1835008 bytes) *** [checkprogsize] Explicit exit, status 1 ========================= [FAILED] Took 20.66 seconds ========================= it might be, that it is due to the background image I am using here… and that I am using too many “informational” sensors, like Wifi-Information, Uptime, Internal Temperature etc. Update: Maybe, I just found the reason in an issue from last year… Quote: If you’re using BLE proxies with arduino and having this issue, try to switch to esp-idf framework. And yes - with ESP-IDF Framework, it seems to work much better, but I still can’t use everything I’ve added… ^^ michel72 (Michel - IngeniousMakers.com) November 12, 2023, 10:12am 7 Thanks for sharing. Support for this thing doesn’t look too good for now. I am having some trouble flashing it. When connecting: I get: What Am I missing? CChris (Christoph) November 12, 2023, 10:46am 8 can you share your config? michel72 (Michel - IngeniousMakers.com) November 12, 2023, 11:05am 9 It's practically your config: edit: Works now. michel72 (Michel - IngeniousMakers.com) November 12, 2023, 11:07am 10 Just flashed the demo app using the esplaunchpad and that does work. https://espressif.github.io/esp-launchpad/?flashConfigURL=https://raw.githubusercontent.com/espressif/esp-box/master/launch.toml CChris (Christoph) November 12, 2023, 11:19am 11 ok, that’s interesting, that it’s telling that the platform does not match the detected device… I don’t know - maybe, you should remove the homeassistant entities which I’ve used for the status of my charging station… I guess, you don’t need them…? michel72 (Michel - IngeniousMakers.com) November 12, 2023, 11:19am 12 Never mind, my entire esphome setup was broken. I reinstalled the addon and now it all seems to be working. That was a first in all the years I have been using esphome. wsiczek (Wojtek) November 12, 2023, 12:18pm 13 Anyone knows how to setup speaker and mic? 20231112_130446~21920×2560 345 KB 20231112_130535~21920×2560 401 KB 20231112_130545~21920×2560 432 KB n CChris (Christoph) November 12, 2023, 1:09pm 14 you can find the schematics of the box 3 here: https://github.com/espressif/esp-box/blob/cfb4a005ae967723b7dec11e190b496384324fd2/hardware/SCH_ESP32-S3-BOX-3_V1.0/SCH_ESP32-S3-BOX-3-MB_V1.1_20230808.pdf the pdf is for revision 1.1 - and your board is showing version 1.0 - but I think, that it should basically be the same and on the pinout nothing should have changed. although, it really depends on what you want to do, you can try to setup this (which is copied from a config for the Box (the older one) external_components: - source: github://pr#4793 components: [ tt21100 ] - source: github://pr#4861 components: [ es8311 ] # - source: github://rpatel3001/esphome@es7210 # components: [ es7210 ] # - source: github://pr#5230 # mutually exclusive with media_player #speaker: # - platform: i2s_audio # id: ext_speaker # dac_type: external # i2s_dout_pin: GPIO15 # mode: mono # currently only available with platform 'arduino' #media_player: # - platform: i2s_audio # name: Media Player # id: ext_speaker # dac_type: external # i2s_dout_pin: GPIO15 # mute_pin: # number: GPIO46 # inverted: true #es7210: # address: 0x40 #microphone: # - platform: i2s_audio # id: ext_mic # adc_type: external # pdm: false # i2s_din_pin: GPIO16 # bits_per_sample: 16bit I haven’t tested this on the Box nor on the Box-3, since I am using the ESP-IDF Framework and the media_player is currently only working for the Arduino Platform, afaik… In my opinion: Just give the devs the time to create firmwares / components and so on for the box-3 … wsiczek (Wojtek) November 12, 2023, 2:23pm 15 I’m too impatient, I know that. Thank you very much for the schematics and the yaml sne7 November 12, 2023, 4:12pm 16 Did someone already tried to use this for the voice commands integration? How can this be accomplished? patyk77 (Patyk77) November 12, 2023, 4:57pm 17 The display works, my configuration: spi: clk_pin: GPIO7 mosi_pin: GPIO6 #miso_pin: switch: - platform: gpio pin: GPIO48 name: LCD Reset id: id_LCD_Reset display: - platform: ili9xxx model: S3BOX dc_pin: GPIO4 cs_pin: GPIO5 #auto_clear_enabled: false lambda: |- it.print(20, 20, id(fntSml), TextAlign::TOP_LEFT, "Hello World!"); font: - file: type: gfonts family: "Roboto" id: fntSml size: 14 CChris (Christoph) November 12, 2023, 5:14pm 18 yes, the display works without the reset pin configured. I already updated my gist accordingly. yet, I did not get the touch screen to work with the config from the older Box… still need to figure out, what changed there. starob November 12, 2023, 5:34pm 19 https://www.home-assistant.io/blog/2023/10/12/year-of-the-voice-chapter-4-wakewords/ The voice satellite improvements will require more advanced hardware and we’re aiming for the ESP32 S3 Box 3. patyk77 (Patyk77) November 12, 2023, 7:56pm 20 i2c scanning # Results from i2c bus scan: # Found i2c device at address 0x18 # Found i2c device at address 0x40 # Found i2c device at address 0x5D -> Touch GT911 Controller # Found i2c device at address 0x68 Framewark espressif: https://components.espressif.com/components/espressif/esp_lcd_touch_gt911 ESPHome components (working with errors): Example external_components: - source: type: local path: my_components components: [gt911] i2c: id: i2c_bus_intern sda: GPIO08 scl: GPIO18 scan: true # scan: false # frequency: 400kHz touchscreen: - platform: gt911 #display: id: gt911_touchscreen interrupt_pin: GPIO36 on_touch: - logger.log: format: Touch at (%d, %d) args: [touch.x, touch.y]