Comments (12)
I'm also getting these:
2021-04-04 21:15:15 WARNING (MainThread) [homeassistant.components.media_player] Updating hifiberry media_player took longer than the scheduled update interval 0:00:02 2021-04-04 21:15:17 WARNING (MainThread) [homeassistant.components.media_player] Updating hifiberry media_player took longer than the scheduled update interval 0:00:02 2021-04-04 21:15:19 WARNING (MainThread) [homeassistant.components.media_player] Updating hifiberry media_player took longer than the scheduled update interval 0:00:02 2021-04-04 21:15:21 WARNING (MainThread) [homeassistant.components.media_player] Updating hifiberry media_player took longer than the scheduled update interval 0:00:02 2021-04-04 21:15:23 WARNING (MainThread) [homeassistant.components.media_player] Updating hifiberry media_player took longer than the scheduled update interval 0:00:02 2021-04-04 21:15:25 WARNING (MainThread) [homeassistant.components.media_player] Updating hifiberry media_player took longer than the scheduled update interval 0:00:02 2021-04-04 21:15:27 WARNING (MainThread) [homeassistant.components.media_player] Updating hifiberry media_player took longer than the scheduled update interval 0:00:02 2021-04-04 21:18:17 WARNING (MainThread) [homeassistant.components.media_player] Updating hifiberry media_player took longer than the scheduled update interval 0:00:02 2021-04-04 21:18:19 WARNING (MainThread) [homeassistant.components.media_player] Updating hifiberry media_player took longer than the scheduled update interval 0:00:02 2021-04-04 21:18:21 WARNING (MainThread) [homeassistant.components.media_player] Updating hifiberry media_player took longer than the scheduled update interval 0:00:02 2021-04-04 21:21:14 WARNING (MainThread) [homeassistant.components.media_player] Updating hifiberry media_player took longer than the scheduled update interval 0:00:02 2021-04-04 21:21:16 WARNING (MainThread) [homeassistant.components.media_player] Updating hifiberry media_player took longer than the scheduled update interval 0:00:02 2021-04-04 21:21:18 WARNING (MainThread) [homeassistant.components.media_player] Updating hifiberry media_player took longer than the scheduled update interval 0:00:02 2021-04-04 21:21:20 WARNING (MainThread) [homeassistant.components.media_player] Updating hifiberry media_player took longer than the scheduled update interval 0:00:02 2021-04-04 21:21:22 WARNING (MainThread) [homeassistant.components.media_player] Updating hifiberry media_player took longer than the scheduled update interval 0:00:02 2021-04-04 21:21:24 WARNING (MainThread) [homeassistant.components.media_player] Updating hifiberry media_player took longer than the scheduled update interval 0:00:02 2021-04-04 21:21:26 WARNING (MainThread) [homeassistant.components.media_player] Updating hifiberry media_player took longer than the scheduled update interval 0:00:02
My Hifiberry is on Wifi. Pretty stable but maybe the 2sec interval ist too low?
from hifiberry.
@dgomes merged your changes. Do you have any comments on interval? I think if the Pi has been on for a while then RAM fills and it is slower to respond but I'm worried about increasing interval as then it will always be quite laggy if more than 2s.
from hifiberry.
I also faced the same dilemma while preparing my PR, in the end I stayed with 2s since that was the value you had been using for sometime.
I think Hifiberry folks need a new API, probably based on web sockets that can feed us the updates, instead of us relying on polling the device.
For the time being I think 2 seconds is a compromisse between having updated information and not stressing the network/RPi.
from hifiberry.
Thanks for this great add-on @willholdoway! One minor issue however (that probably is a setting somewhere): my log gets filled with DEBUG level messages from pyhifiberry.audiocontrol2. This seems to be the only add-on that is really chatty.
from hifiberry.
Hi @jacobwod,
you could add
logger:
default: info
logs:
pyhifiberry.audiocontrol2: info
to your configuration.yaml
from hifiberry.
I asked the hifiberry guys if the are interested in a websocket API. Would you (@willholdoway @dgomes ) be interested in case hifiberry accept my PR?
from hifiberry.
Yes!
from hifiberry.
that would be great!
from hifiberry.
Hi @willholdoway I released pyhifiberry with the socketio-api. You should bump the version to 0.0.4 for the PR to work.
from hifiberry.
Hi @willholdoway, I wanted to test the integration today and unfortunately found out, that we have a serious problem :-(. With this PR they forced python-socketio to versions < 5.0. We require version > 5. I think we should start a new issue on this.
from hifiberry.
Related Issues (13)
- Integration warning upon start of HomeAssistant
- Suggestion: Use device name as UID instead of IP address HOT 7
- Stopped working after latest updated due to audiocontrol2sio HOT 4
- Can't add device HOT 2
- Cannot add hifiberry device: "Failed to connect" HOT 8
- Support turn_on/off_action HOT 3
- Unable to find integration after HACS install and restart
- Please help - I don't know how to add HiFi Berry via HACS HOT 4
- PLAY_MEDIA, GROUPING services not available HOT 8
- Volume Settings sets volume in GUI but not on actual audio output HOT 3
- Changes in Home Assistant Core 2021.3 HOT 2
- Cannot add integration HOT 3
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 hifiberry.