Comments (3)
Hi,
I have never used remote Home-assistant so I don't know how it handle the reading/writing of bt entities...
But the yeelight_bt lamp is actually very picky in how it handles the bt connection, so due to that, when the light is turned on, we actually need to wait some time before trying to read the state to confirm the light is on.
So it could be that the remote home-assistant is not waiting for the real notification and goes back to off on the master... the question is though why shouldn't it pick up that the light is on after some time?
If you physically turn on the light, does it gets picked up by the secondary instance? and by the master instance?
from hass-yeelightbt.
Hi,
After a physical press, HA and HA remote update the status exactly at the same time after about 20 seconds.
Strangely, apart from this delay, everything works fine today, strange.
On the other hand, I have a lot of error of this type:
Logger: custom_components.yeelight_bt.yeelightbt
Source: custom_components/yeelight_bt/yeelightbt.py:264
Integration: Yeelight bluetooth (documentation, issues)
First occurred: 14:45:38 (1 occurrences)
Last logged: 14:45:38
Could not write to lamp: error<class 'bluepy.btle.BTLEException'>(Error from bluepy-helper (badparam))
Logger: homeassistant.helpers.entity
Source: helpers/entity.py:493
First occurred: 14:45:34 (1 occurrences)
Last logged: 14:45:34
Update of light.yeelight_leo is taking over 10 seconds
Logger: custom_components.yeelight_bt.yeelightbt
Source: custom_components/yeelight_bt/yeelightbt.py:260
Integration: Yeelight bluetooth (documentation, issues)
First occurred: 14:45:24 (2 occurrences)
Last logged: 14:45:31
Could not write to lamp: error<class 'bluepy.btle.BTLEInternalError'>(Helper not started (did you call connect()?)), Retrying now...
Could not write to lamp: error<class 'bluepy.btle.BTLEException'>(No current connection), Retrying now...
Logger: custom_components.yeelight_bt.yeelightbt
Source: custom_components/yeelight_bt/yeelightbt.py:76
Integration: Yeelight bluetooth (documentation, issues)
First occurred: 14:44:49 (2 occurrences)
Last logged: 14:45:31
Could not connect to lamp: error<class 'bluepy.btle.BTLEDisconnectError'>(Failed to connect to peripheral g4:52:31:ef:c3:f8, addr type: public)
I am using BLE Monitor in parallel with the same Bluetooth dongle, I cannot use two Bluetooth dongles on the same device (Hass.io). Is this the source of these errors?
from hass-yeelightbt.
All of those problem should be fully resolved with the new bluetooth integration and using bluetooth-proxy on esp32.
Closing for now but feel free to reopen if needed
from hass-yeelightbt.
Related Issues (20)
- Possiblity rto use with an ESP32? HOT 4
- How many lamps can handle at a time? HOT 1
- Hassio always lost connection in a few minutes/hours HOT 2
- manifest file on new release HOT 1
- Lights not anymore available HOT 1
- Wrong version key HOT 1
- Config flow error HOT 3
- Will not work with 2022.7 HOT 21
- Candela connected but not controllable HOT 40
- Yeelight doesn't change color in automations HOT 5
- Lamp does not pair HOT 1
- [Bug] light.turn_off service randomly not working HOT 2
- How to install to Homeassistant Supervisor OS (hosted VM on Synology) HOT 6
- [Bug] Constant Disconnect
- Does not pair Candela with esphome bluetooth proy HOT 4
- [Feature] Adding more available entities
- Not connecting since latest Home Assistant update HOT 2
- [Bug] failure after Home Assistant Update 2024.1 HOT 6
- [Bug] Deprecated supported features values are used
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 hass-yeelightbt.