-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
logs getting filles with "Updating hifiberry media_player took longer than the scheduled update interval 0:00:02" #3
Comments
I'm also getting these:
My Hifiberry is on Wifi. Pretty stable but maybe the 2sec interval ist too low? |
@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. |
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. |
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. 😄 Any chance to lower the log level for Hifiberry? |
Hi @jacobwod,
to your configuration.yaml |
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? |
Yes! |
that would be great! |
Hi @willholdoway I released pyhifiberry with the socketio-api. You should bump the version to 0.0.4 for the PR to work. |
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. |
@schnabel did you ever get around this? |
Hi, the hifiberry sockeio api has been included in the hifiberry-os two years ago :-). |
Installed via HACS
Not sure why I'm getting these:
The text was updated successfully, but these errors were encountered: