|
楼主 |
发表于 2023-8-10 12:21:27
|
显示全部楼层
因为之前也一直论坛问 也一直没得到解决 所以后来只能这样用这个
我是斐讯T1盒子armbian系统docker安装的ha ha版本是:
[color=var(--primary-text-color)][backcolor=rgba(10, 10, 10, 0.4)]Home Assistant 2023.7.3[backcolor=rgba(10, 10, 10, 0.4)]Supervisor 2023.08.1[backcolor=rgba(10, 10, 10, 0.4)]前端版本: 20230705.1 - latest
升级以前就这样,期间升了很多版本也还是没解决这个问题,特别是其中一台mpd音箱老是出问题 然后网络出问题重启路由器后家里所有mpd路由器也是全部断连不能自动连接上的
mpd的ha的设置印象中其他都没设置 就yaml文件设置如下:
media_player:
- platform: mpd
name: jiamenkou_zhongkong
host: 192.168.2.110
port: 6600
- platform: mpd
name: jiudianhezi_yidong
host: 192.168.2.193
port: 6600
设备端mpd app的版本看不出来 就是网上找的很多不能用 就找到了个能用的 以前使用也一直正常的 后来出现各种奇怪问题 app设置里能开的都开了 设置应该没错
日志里的错误有关的我截取几个如下:
1.
Logger: homeassistant.components.media_player
Source: helpers/entity_platform.py:893
Integration: 媒体播放器 (documentation, issues)
First occurred: 2023年8月9日 下午7:48:52 (56 occurrences)
Last logged: 下午12:17:50
Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
Updating mpd media_player took longer than the scheduled update interval 0:00:10
2.
Logger: homeassistant
Source: /usr/src/homeassistant/homeassistant/runner.py:137
First occurred: 下午12:10:57 (1 occurrences)
Last logged: 下午12:10:57
Error doing job: Exception in callback MPDClient.__idle_result(<CommandResul...set by peer')>)
Traceback (most recent call last):
File "/usr/local/lib/python3.11/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/usr/local/lib/python3.11/site-packages/mpd/asyncio.py", line 335, in __idle_result
idle_changes = result.result()
^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/mpd/asyncio.py", line 309, in __run
await result._feed_from(self)
File "/usr/local/lib/python3.11/site-packages/mpd/asyncio.py", line 45, in _feed_from
line = await mpdclient._read_line()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/mpd/asyncio.py", line 389, in _read_line
line = await self.__readline()
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/mpd/asyncio.py", line 362, in __readline
data = await self.__rfile.readline()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/asyncio/streams.py", line 545, in readline
line = await self.readuntil(sep)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/asyncio/streams.py", line 637, in readuntil
await self._wait_for_data('readuntil')
File "/usr/local/lib/python3.11/asyncio/streams.py", line 522, in _wait_for_data
await self._waiter
File "/usr/local/lib/python3.11/asyncio/selector_events.py", line 995, in _read_ready__data_received
data = self._sock.recv(self.max_size)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ConnectionResetError: [Errno 104] Connection reset by peer
3.
Logger: homeassistant.components.mpd.media_player
Source: components/mpd/media_player.py:164
Integration: mpd (documentation, issues)
First occurred: 2023年8月9日 下午3:24:41 (1840 occurrences)
Last logged: 下午12:10:00
Playlists could not be updated: [52@0] {listplaylists} Failed to open /mnt/internal_sd/Android/data/org.musicpd/files/playlists: Permission denied:
4.
Logger: homeassistant.components.tts
Source: components/tts/__init__.py:898
Integration: Text-to-speech (TTS) (documentation, issues)
First occurred: 2023年8月9日 下午5:40:02 (12 occurrences)
Last logged: 上午7:47:45
Error on load tts: Wrong tts file format!
以上就劳烦版主帮我看下 十分感谢!!!
|
|