Comments (13)
This image will help a bit in the meantime:
Do you see GPIO1
and GPIO3
? This is TX and RX (wired directly to the ESP32).
from esphome-yeelight-ceiling-light.
I hope you were successful. :-)
Sure, thank you for your help, I hope you will enjoy your coffee ;)
now I have to modify it, because I use openHAB, so I need mqtt and esp-idf not support is :)
from esphome-yeelight-ceiling-light.
The pin header is labeled at the bottom of the PCB:
To make it explicit: The yellow wire should be GND. You can verify it be measuring the resistance / continuity between the pin header pin and the GND
pin (pin 1
) of the ESP32. Please to the same for 3V3
to be 100% sure.
from esphome-yeelight-ceiling-light.
Could I provide anything else?
from esphome-yeelight-ceiling-light.
Could I provide anything else?
Thank you, I guess I can start with it :)
The next step the custom firmware build, as I see, no prebuild img.
Thank you for your time and hard work
O.
from esphome-yeelight-ceiling-light.
You will learn to handle esphome pretty fast and you will see building and flashing a custom image requires a single command call.
from esphome-yeelight-ceiling-light.
You will learn to handle esphome pretty fast and you will see building and flashing a custom image requires a single command call.
you are right, I have some docker stuff, so that was easy.
Now come the bootloader part, I try to find TP3 label, because the gpio direct connect to grn on esp not work for me :/
from esphome-yeelight-ceiling-light.
TP3 is on the back of the daughter board where the ESP32 sits on (bottom left corner).
https://raw.githubusercontent.com/syssi/esphome-yeelight-ceiling-light/main/images/ylxd76yl/013.jpg
from esphome-yeelight-ceiling-light.
I hope you were successful. :-)
from esphome-yeelight-ceiling-light.
Thanks for your support! I will enjoy the coffee for sure! Wait a second I will provide some config lines to change the platform from ESP-IDF to Arduino. The MQTT component is available there.
from esphome-yeelight-ceiling-light.
db03752#diff-b062fda38115034a80dc109f77ecaab2fba849bd59695a5d7db5d4c49883a636
Just replace
# esp-idf framework
esp32:
board: esp32doit-devkit-v1
framework:
type: esp-idf
sdkconfig_options:
CONFIG_FREERTOS_UNICORE: y
advanced:
ignore_efuse_mac_crc: true
with
# arduino framework
esp32:
board: esp32doit-devkit-v1
framework:
# https://github.com/arendst/Tasmota/blob/development/platformio_tasmota32.ini:
# core32.platform = espressif32 @ 3.3.1
type: arduino
version: 3.3.1
# https://github.com/arendst/Tasmota/blob/development/platformio_tasmota_env32.ini:
# env:tasmota32solo1.platform_packages = framework-arduinoespressif32 @ https://github.com/tasmota/arduino-esp32/releases/download/1.0.7.5/tasmota-arduinoespressif32-solo1-release_v3.3.5.tar.gz
source: https://github.com/tasmota/arduino-esp32/releases/download/1.0.7.5/tasmota-arduinoespressif32-solo1-release_v3.3.5.tar.gz
Now it should be possible to use the mqtt component:
mqtt:
broker: !secret mqtt_host
username: !secret mqtt_username
password: !secret mqtt_password
from esphome-yeelight-ceiling-light.
Warning: Please read the docs of the mqtt
and api
component. You should remove the api
component to avoid reboots because of missing client connections.
from esphome-yeelight-ceiling-light.
Warning: Please read the docs of the
mqtt
andapi
component. You should remove theapi
component to avoid reboots because of missing client connections.
I avoided it different way, I hope it will works, I like the ota/api update :P
api:
reboot_timeout: 0s
I had issue with hidden wifi, what default not "on"
wifi:
ssid: wifiname
password: wifipass
fast_connect: on
I stole the arduino part from your previous commit, but thanks!
Now the mqtt work and I can control the light with command, but in json format, so now read the documentation, how can I change it
from esphome-yeelight-ceiling-light.
Related Issues (20)
- Error 'platformio/toolchain-esp32ulp @ ~1.22851.0' on 'linux_aarch64' HOT 11
- Light delay after AC power on HOT 23
- Add yeelink.light.fancl5 support HOT 144
- Add `YLYK01YL-VENFAN` and `YLYB01YL-BHFRC` support
- Support for Yeelight Arwen 450/550S HOT 4
- yeelink.light.strip2 support - Lightstrip Plus (YLDD04YL) HOT 29
- Not an issue, just broken pin HOT 4
- yeelink.light.ceiling20 vs. yeelink.light.ceiling22 HOT 10
- Support for Yeelight Color1?? [YLDP02YL] HOT 1
- YLLD01YL dissasembly HOT 3
- Custom firmware will avoid connecting drops? HOT 17
- YLXD41YL bootloop in esphome 2022.12 HOT 13
- Anyone expirience with BL proxy from ESPHome on yeelight? HOT 8
- Yeelight Meteorite (ceiling10): replacing board HOT 6
- [BUG] Could not find the package with espressif/toolchain-riscv32-esp HOT 1
- OTA progress effect
- Yeelight Light Strip1S on/off button does not work HOT 6
- Issues with restoring to the previous state after updates and power outages. HOT 5
- Improve boot times HOT 6
- Add support for yeelink.light.lamp10 (YLLD01YL) HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esphome-yeelight-ceiling-light.