At the very moment yes. But it looks like that esphome might extend to non-espressif chips in the near future (actually with the last release 2022.11.0 the raspberry pico-w is supported).
Also work has been done to take control over other modules often used in tuya products:
esphome:dev
ā libretiny-eu:platform/libretuya
opened 08:35PM - 28 May 22 UTC
# What does this implement/fix?
This is not a single chip, but rather a unive⦠rsal PlatformIO framework that I'll use to add support for cheap IoT chips found in modules manufactured by Tuya, Inc. These chips are normally incompatible with ESP32/ESP8266 firmwares, and have very limited vendor and community support, so people tend to swap these for ESP-12 modules, which is also not always possible. This is often very troublesome and wasteful.
My project is made to be as compatible with ESP32 Arduino core as possible. This decision was made especially with ESPHome in mind, so that porting it would require minimal changes to its components. The APIs are made to resemble ESP32 APIs closely.
**If you're reading this and have any non-ESP IoT chips - you can be helpful by contacting me in this discussion** (or anywhere else).
### Porting progress
- [x] Boots :clap:
- [x] WiFi, mDNS, preferences backend
- [x] OTA
- [x] GPIO, PWM (ledc)
- [x] ADC
- [ ] I2C
- [ ] SPI
As I'm totally new to ESPHome's codebase, any reviews of the work done so far will be appreciated.
## 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#3159
## Test Environment
- [ ] ESP32
- [ ] ESP32 IDF
- [ ] ESP8266
- [x] LibreTiny?
## Example entry for `config.yaml`:
<!--
Supplying a configuration snippet, makes it easier for a maintainer to test
your PR. Furthermore, for new integrations, it gives an impression of how
the configuration would look like.
Note: Remove this section if this PR does not have an example entry.
-->
```yaml
bk72xx:
board: cb2s
```
## Checklist:
- [x] The code change is tested and works locally.
- [ ] Tests have been added to verify that the new code works (under `tests/` folder).
If user exposed functionality or configuration variables are added/changed:
- [ ] Documentation added/updated in [esphome-docs](https://github.com/esphome/esphome-docs).
A working esphome port/fork can be found at the site of libretuya but the idea is to upstream it
https://docs.libretuya.ml/docs/projects/esphome/
There is also sellers/vendors who sell pre-freed/flashed devices with esphome or tasmota btw, for example:
1 Like