『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 593|回复: 2

[求助] 高频报错求助

[复制链接]

4

主题

52

帖子

434

积分

中级会员

Rank: 3Rank: 3

积分
434
金钱
382
HASS币
0
发表于 2023-9-24 20:52:50 | 显示全部楼层 |阅读模式
上个月树莓派崩溃,这个月刚重新安装就出现这个报错。虽然系统运行正常,但这个报错频率太高了。大佬可以指条路吗?多谢!
本来想看原文件,但是在docker里,不会弄。

Logger: homeassistant
Source: components/sensor/__init__.py:595
First occurred: 2023年9月23日 20:05:59 (2959 occurrences)
Last logged: 20:45:28
Error doing job: Task exception was never retrievedTraceback (most recent call last):  File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 591, in state    numerical_value = int(value)                      ^^^^^^^^^^ValueError: invalid literal for int() with base 10: 'unknown'The above exception was the direct cause of the following exception:Traceback (most recent call last):  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 880, in _update_entity_states    await asyncio.gather(*tasks)  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 717, in async_update_ha_state    self._async_write_ha_state()  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 808, in _async_write_ha_state    state = self._stringify_state(available)            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 752, in _stringify_state    if (state := self.state) is None:                 ^^^^^^^^^^  File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 595, in state    raise ValueError(ValueError: Sensor sensor.hmpace_v4_0194_vital_signs has device class 'None', state class 'None' unit 'bpm' and suggested precision 'None' thus indicating it has a numeric value; however, it has the non-numeric value: 'unknown' (<class 'str'>)
回复

使用道具 举报

4

主题

52

帖子

434

积分

中级会员

Rank: 3Rank: 3

积分
434
金钱
382
HASS币
0
 楼主| 发表于 2023-9-24 21:56:17 | 显示全部楼层
好像是小米集成添加了手环,又获取不到心率数据的关系。大家点都点了,顺便帮忙看看这个百度tts的报错吧

Logger: homeassistant.components.tts
Source: components/tts/__init__.py:898
Integration: Text-to-speech (TTS) (documentation, issues)
First occurred: 21:44:58 (4 occurrences)
Last logged: 21:44:58

Error on load tts: Wrong tts file format!

点进tts文件夹的文件可以看到这个:
'utf-8' codec can't decode byte 0xff in position 1265: invalid start byte
回复

使用道具 举报

4

主题

52

帖子

434

积分

中级会员

Rank: 3Rank: 3

积分
434
金钱
382
HASS币
0
 楼主| 发表于 2023-10-1 15:13:54 | 显示全部楼层
找到答案了,但是居然无解。
MPD自动查找专辑封面造成的。
我试试手工放一个进去。

话说这两天论坛访问有点卡。

https://github.com/Poeschl/Hassio-Addons/issues/295
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-5-17 18:19 , Processed in 0.072839 second(s), 24 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表