Comments (10)
From yesterday it is stable, I do not know what has changed ... no complaints :)
from home-assistant-custom-components-linkplay.
Your network seems weak - the devices seem loose connection often and when HA tries to reconnect, it runs on timeout, which is 2 seconds.
A good network has a latency of a few miliseconds, should fit largely in 2 seconds.
I implemented this on purpose - to bring attention to weak networks problem.
from home-assistant-custom-components-linkplay.
@nagyrobi There's any option to avoid it?
Thanks
from home-assistant-custom-components-linkplay.
I think the best approach would be to fix your network. Use cabled Ethernet, or for WiFi use more APs with lower power, to increase coverage properly.
In media_player.py
try increasing the value of API_TIMEOUT
. You will likely see other warnings, generated by HA asyncio though.
How often do you experience this?
from home-assistant-custom-components-linkplay.
Hi,
The devices are connected to my Wi-Fi and I’m getting great signal when I’m monitoring the Ubiquity AP via the ubiquity controller. I don’t think that there’s any WI-FI issue in the previous version the devices always was available and I used them a lot.
It become unavailable every few minutes for one or two minutes.
I’m not sure what value should I suppose to increase.
thank you again for your kind support :)
from home-assistant-custom-components-linkplay.
previous version the devices always was available
The truth is that the devices were shown as available errorneously by HA. That was not corresponding to reality.
Try increasing the api timeout to 10, 20, 30, etc seconds until the problem disappears for you. Restart HA each time after you modify the file. But this is not the real fix to your problem.
I also use UniFi, I'll do some more checks too. But I have no problems at all.
from home-assistant-custom-components-linkplay.
For the last few hours ther's no disconnecting anymore.
I'll update you tommorow
Thank You
from home-assistant-custom-components-linkplay.
See? It's very likely a WiFi network coverage or interference problem, you've also had before, you just didn't notice because there was no warning.
Unifi dashboard doesn't show short dropouts.
from home-assistant-custom-components-linkplay.
Maybe ask your neighbors... :)
from home-assistant-custom-components-linkplay.
:) I will
Thanks!
from home-assistant-custom-components-linkplay.
Related Issues (20)
- Not displaying the envelope when playing from DLNA server
- Joining multiroom group does not work, if host is a resolvable name HOT 2
- Muting the master of a multi-room group does not seem to work HOT 4
- Is there any way to power the device on/off? HOT 1
- Failure to setup integration if device is not turned on. HOT 3
- Unable to use tts HOT 1
- Up2stream becomes unavailabe HOT 3
- Group/Ungroup toggle inconsistent with 2 slaves
- Rakoit M50 unavailable HOT 5
- Example config doesn't pass checks on 2023.11.2 HOT 1
- led_off doesn't work for Arylics anymore HOT 2
- Using deprecated constants for supported features HOT 1
- Integration problems with Harman Kardon Allure HOT 1
- NameError when connection is lost via UPnP
- Updating linkplay media_player took longer than the scheduled update interval HOT 3
- Announcements/TTS: how to use the resume feature? HOT 2
- The integration is not working with 2024.5.0b0 HOT 8
- linkplay' calls async_register from a thread at custom_components/linkplay/__init__.py, line 171: hass.services.async_register HOT 2
- Add MTLS-support HOT 5
- Add command to Command service
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 home-assistant-custom-components-linkplay.