CChris
(Christoph)
March 19, 2023, 12:45pm
1
Hi Everyone
I am wondering, if ANYONE has tried this small device with ESPHome?
It is called ESP32-S3- Box, and is developed by Espressif - and comes with a built in “Voice-Controll”
The Voicecontrol itself is limited to “Hi ESP”… but it seems to have a built in Microphone and I question myself, if it would be possible to use the device with ESPHome… ?
I think, that would be a cool Hardware to create satelites for the Assist ?“year of voice ”?
Maybe - there are some ESP experts who have already tried to use this device, or maybe, this might be of interest for the NabuCasa Team to see, if it would be possible to integrate into ESPHome / HomeAssistant?
→ Use VoiceControl for HomeAssistant
→ Get Data from HomeAssistant and display it on the Screen
I would start to experiment with this - but at the moment, I’ve just started with some small esp projects, and therefore, I think I don’t have the experience to work with such a device at the moment
7 Likes
CChris:
ESP32-S3-Box
Thanks, good tip. I have not seen this one before.
Edwin_D
(Edwin D.)
May 5, 2023, 10:41am
3
1 Like
galligan
(Matt Galligan)
May 5, 2023, 11:44am
4
Nice find!
Here’s the repo for that project:
1 Like
CChris
(Christoph)
May 5, 2023, 12:14pm
5
Ha thanks
That’s what I’m looking for - especially after the may Release yay!! Just need to find the time to dig into this
That project is not using ESPHome so not sure how compatible it will be with the features in the May Home Assistant release
oxc
(Bernhard Frauendienst)
May 16, 2023, 7:31pm
7
I am pretty new to ESP (have been using esphome, so easy…)
I ordered a s3box too - and as esp-idf 5.0 supports s3 devices - why cant we use it in esphome? I guess it is the screen part? Im not even sure how the screen is connected (which pins). I cant wait to get it
CChris
(Christoph)
May 18, 2023, 1:36pm
9
So, just received my ESP32-S3-Box…
Since my primary usage is (as of now) Bluetooth-Proxy (family acceptance factor for this box is better than for any ESP32 Dev-Board) … I am running a very basic ESPHome Config.
So far - working as expected:
esphome:
name: esp32box
friendly_name: ESP32Box
esp32:
board: esp32-s3-devkitc-1
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: xxx
ota:
password: xxx
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Esp32Box Fallback Hotspot"
password: xxx
bluetooth_proxy:
active: true
button:
- platform: restart
name: "Restart Device"
text_sensor:
- platform: wifi_info
ip_address:
name: IP Address
ssid:
name: Connected SSID
bssid:
name: Connected BSSID
mac_address:
name: Mac Wifi Address
scan_results:
name: Latest Scan Results
sensor:
- platform: wifi_signal
name: "WiFi Signal Sensor"
update_interval: 60s
- platform: wifi_signal # Reports the WiFi signal strength/RSSI in dB
name: "WiFi Signal dB"
id: wifi_signal_db
update_interval: 60s
entity_category: "diagnostic"
# Example configuration entry
- platform: internal_temperature
name: "Internal Temperature"
entity_category: "diagnostic"
captive_portal:
Next steps would be to enable the Display - and showing some Information provided by HomeAssistant…
Also, I need to see, if I need to change the ESP-Framework for example to ESP-IDF, as mentioned in the ESPHome Documentation:
ESP-IDF framework
This is an alternative base framework for ESP32 chips, and recommended for variants of the ESP32 like ESP32S2, ESP32S3, ESP32C3 and single-core ESP32 chips.
Example configuration entry
esp32:
board: esp32-c3-devkitm-1
framework:
type: esp-idf
version: recommended
# Custom sdkconfig options
sdkconfig_options:
CONFIG_COMPILER_OPTIMIZATION_SIZE: y
# Advanced tweaking options
advanced:
ignore_efuse_mac_crc: false
rjbudke
(Ryan Budke)
May 22, 2023, 3:32pm
10
Any progress? My “Lite” just showed up over the weekend and i’m looking forward to getting in there and start experimenting with ESP-Home on it.
CChris
(Christoph)
May 22, 2023, 4:38pm
11
Not yet.
Haven’t the time to do more experimental Work on this…
Still Just working as simple Bluetooth proxy
I’ve made some progress on this after looking at the pinouts. The one thing that isn’t working yet is the display. I think I got the mic and speaker right but have not tested those yet.
esphome:
name: box-kitchen
friendly_name: box-kitchen
esp32:
board: esp32s3box
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "encryption_key"
ota:
password: "password"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Box-Kitchen Fallback Hotspot"
password: "fallback"
captive_portal:
time:
- platform: homeassistant
id: homeassistant_time
spi:
clk_pin: GPIO12
mosi_pin: GPIO11
miso_pin: GPIO13
i2s_audio:
i2s_lrclk_pin: GPIO47
i2s_bclk_pin: GPIO17
bluetooth_proxy:
voice_assistant:
microphone: mic
button:
- platform: restart
name: "Restart Device"
text_sensor:
- platform: wifi_info
ip_address:
name: IP Address
ssid:
name: Connected SSID
bssid:
name: Connected BSSID
mac_address:
name: Mac Wifi Address
scan_results:
name: Latest Scan Results
sensor:
- platform: wifi_signal
name: "WiFi Signal Sensor"
update_interval: 60s
- platform: wifi_signal
name: "WiFi Signal dB"
id: wifi_signal_db
update_interval: 60s
entity_category: "diagnostic"
font:
- id: my_font
file: "gfonts://Roboto"
size: 20
display:
- platform: ili9xxx
model: ili9342
id: show
cs_pin: GPIO5
dc_pin: GPIO4
reset_pin: GPIO48
lambda: |-
it.fill(Color::WHITE);
it.strftime(0, 0, id(my_font), "%A, %m-%d-%Y %I:%M:%S %p", id(homeassistant_time).now());
microphone:
- platform: i2s_audio
id: mic
adc_type: external
i2s_din_pin: GPIO15
pdm: false
speaker:
- platform: i2s_audio
id: audio
dac_type: external
i2s_dout_pin: GPIO16
mode: mono
1 Like
CChris
(Christoph)
May 28, 2023, 7:04am
14
Hi Thanks for your reply
Whenever I activate the code for the Display, all other sensors went unavailable…
I will also see if I can get this working somehow… + some additional options (mute switch), voice command-buttons (as described in ESPhome → Push to talk)
Another thing I would like to add is an option to switch off the PowerLED…
CChris
(Christoph)
May 28, 2023, 7:38am
15
Found something in the ESPHome FeatureRequest Tracker:
opened 02:40AM - 16 May 23 UTC
integration: media_player
<!-- READ THIS FIRST:
- This is for feature requests only, for issues please g… o to the issues repository.
- Please be as descriptive as possible, especially use-cases that can otherwise not be solved boost the problem's priority.
DO NOT DELETE ANY TEXT from this template! Otherwise the issue may be closed without a comment.
-->
**Describe the problem you have/What new integration you would like**
Main features: support for peripherals on the [ESP32-S3-BOX](https://github.com/espressif/esp-box/blob/master/docs/hardware_overview/esp32_s3_box/hardware_overview_for_box.md) dev kit.
- [x] ILI9342C LCD driver [[already done]](https://esphome.io/components/display/ili9xxx.html)
- [ ] Allow X mirroring, [[workaround available]](https://gist.github.com/kroimon/f6692879f9c00702990801ae9dfa433b#file-box-yaml-L7)
- [ ] ST7789v LCD driver for BOX-Lite [[done](https://esphome.io/components/display/st7789v.html) but [not working](https://github.com/esphome/feature-requests/issues/2239#issuecomment-1556266368)]
- [ ] TT21100 touch screen [[PR ready for review]](https://github.com/esphome/esphome/pull/4793)
- [ ] ES7210 ADC I2C [[not working work in progress]](https://github.com/rpatel3001/esphome/tree/es7210)
- [ ] [get user guide](https://github.com/espressif/esp-dev-kits/issues/74)
- [ ] ES8311 Codec I2C [[mostly working work in progress]](https://github.com/kroimon/esphome/tree/es8311)
- [ ] Support MCLK in i2s_audio
- [x] [MCLK pin added](https://github.com/esphome/esphome/pull/4885)
- [ ] Add options for MCLK frequency and sample rate
- [ ] Update i2s_audio_media_player
- [ ] Can it coexist with i2s_audio_microphone?
- [ ] Refactor [current library](https://github.com/esphome/ESP32-audioI2S) to only handle audio streams; move i2s setup into esphome proper
- [ ] Possibly switch to an audio library that doesn't require arduino framework?
- [ ] Update i2s_audio_microphone
- [ ] Can it coexist with i2s_audio_media_player?
- [ ] ICM-42607-P IMU
**Please describe your use case for this integration and alternatives you've tried:**
Use the peripherals on the board.
**Additional context**
This device has recently had a bit of attention due to posts about [Willow](https://github.com/toverainc/willow) on hackernews and elsewhere. Willow is fantastic but I'd like to be able to use the full extent of existing esphome components, and I bet others would also. Adding hardware peripherals is the smallest part of this, wake word detection is the major missing feature missing to make esphome a viable alternative (out of scope for this feature request though).
Hopefully I will make some progress on some of these once I receive my board.
Reference links:
https://github.com/espressif/esp-box
https://github.com/toverainc/willow
https://github.com/hugobloem/esp-ha-speech
https://github.com/espressif/esp-dev-kits/issues/24#issuecomment-781314125
https://components.espressif.com/components/espressif/es8311
https://components.espressif.com/components/espressif/es7210
https://github.com/espressif/esp-bsp/
https://github.com/espressif/esp-adf/
esphome:dev
← kroimon:tt21100
opened 07:32PM - 08 May 23 UTC
# What does this implement/fix?
Implements a component to interface with the … TT21100 touchscreen.
Besides others, this chips is used on the Espressif ESP32-S3-BOX and ESP32-S3-Korvo-2-LCD. Other development efforts regarding this hardware is being coordinated [here](https://github.com/esphome/feature-requests/issues/2239).
## Types of changes
- [ ] Bugfix (non-breaking change which fixes an issue)
- [X] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Other
**Pull request in [esphome-docs](https://github.com/esphome/esphome-docs) with documentation (if applicable):** esphome/esphome-docs#2916
## Test Environment
- [X] ESP32
- [x] ESP32 IDF
- [ ] ESP8266
- [ ] RP2040
## Example entry for `config.yaml`:
```yaml
i2c:
scl: GPIO18
sda: GPIO8
touchscreen:
- platform: tt21100
interrupt_pin: GPIO3
reset_pin: GPIO48
binary_sensor:
- platform: tt21100
name: "Home"
index: 0
```
## Checklist:
- [X] The code change is tested and works locally.
- [X] Tests have been added to verify that the new code works (under `tests/` folder).
If user exposed functionality or configuration variables are added/changed:
- [X] Documentation added/updated in [esphome-docs](https://github.com/esphome/esphome-docs).
box.yaml
esphome:
name: box
friendly_name: Box
on_boot:
priority: 799
then:
# Mirror display (X and Y) - TODO: fix in ili9xxx driver
- lambda: |-
uint8_t madctl = ili9xxx::MADCTL_BGR | ili9xxx::MADCTL_MX | ili9xxx::MADCTL_MY;
id(lcd).send_command(ili9xxx::ILI9XXX_MADCTL, &madctl, 1);
This file has been truncated. show original
vik
(vik)
June 7, 2023, 10:15pm
16
Any idea where i can order the box in europe, Belgium to be percise.
I tried on adafruit, but shipment is almost the price of the box itself…
CChris
(Christoph)
June 8, 2023, 12:10am
17
I got mine from Amazon… Not cheap, but no shipping costs …
vik
(vik)
June 9, 2023, 9:32am
18
Care to share the link?
I can only find the lite version on amazon.de
CChris
(Christoph)
June 9, 2023, 9:56am
19
I’ve checked… “Currently Not available”
But here’s the link:
Die Entwicklungsplatinen der Box-Serie, ESP32-S3-BOX und ESP32-S3-BOX-Lite, sind AIoT-Entwicklungsplatinen, die auf ESP32-S3 Wi-Fi + Bluetooth 5 (LE) SoC von Espressif basieren. Sie bieten eine Plattform für die...
1 Like
blakadder
(Blakadder)
June 12, 2023, 11:04am
20