Code Monkey home page Code Monkey logo

Comments (6)

gudszent avatar gudszent commented on June 6, 2024

do you have plan to resolve the ble reboot issue?

from esphome-yeelight-ceiling-light.

syssi avatar syssi commented on June 6, 2024

I've replaced the single core ESP32 of one of my lamps with a dual core ESP32. At dual core ESP32 the ble_monitor is stable. As soon BLE and WiFi runs on the same core the application crashs. I don't know how to fix it. It's above my skills. ;-)

from esphome-yeelight-ceiling-light.

syssi avatar syssi commented on June 6, 2024

Oh there is some progress missing here. I've extended the ble_monitor of ESPHome to support the remote controls. You can find an example configuration here: https://github.com/syssi/esphome-yeelight-ceiling-light/blob/main/yeerc_ylyk01yl.yaml

The problem: If you enable the BLE stack on an single core ESP32 (used in all Yeelight devices) the application crashs on boot-up. To be able to listen to some BLE traffic you have to replace the ESP32 with a dual core version.

from esphome-yeelight-ceiling-light.

gudszent avatar gudszent commented on June 6, 2024

Thank you, as I see the config, that not direct control the light, its send it to home assistant, than i guess the rule from HA control the esp. Am I right?

from esphome-yeelight-ceiling-light.

gudszent avatar gudszent commented on June 6, 2024

As I see, the only chance to turn off and on the wifi and ble :-)
espressif/arduino-esp32#1756
So I think, this is the dead end :'(

from esphome-yeelight-ceiling-light.

syssi avatar syssi commented on June 6, 2024

The Yaml is just an example. You could wire/cosume the events also in ESPHome directly.

from esphome-yeelight-ceiling-light.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.