al-one / hass-xiaomi-miot

Automatic integrate all Xiaomi devices to HomeAssistant via miot-spec, support Wi-Fi, BLE, ZigBee devices. 小米米家智能家居设备接入Hass集成
https://miot-spec.com
Apache License 2.0
4.4k stars 615 forks source link

希箭大冲力智能马桶 #1109

Open qjiang888 opened 1 year ago

qjiang888 commented 1 year ago

Device model / 设备型号

horow.toilet.s4

Component version / 插件版本

v0.7.8

HA core version / HA版本

Home Assistant 2023.4.2

Integrated mode / 集成方式

Cloud (云端模式)

The problem / 问题详情

https://home.miot-spec.com/s/horow.toilet.s4. 夜灯 座温都不能控制,设备会滴一声,不会实际动作

Entity attributes / 实体属性

[binary_sensor.horow_s4_857a_toilet]

model: horow.toilet.s4
lan_ip: 192.168.8.109
mac_address: 64:90:C1:D0:85:71
entity_class: MiotToiletEntity
home_room: 卫生间
miot_type: urn:miot-spec-v2:device:toilet:0000A02E:horow-s4:1
toilet.fault: 0
toilet.seating_state: 0
toilet.status: 0
toilet.mode: 0
flush.flush_on: 0
smart_toilet.level_watertemp_t: 3
level_waterstrong_t-7-2: 3
smart_toilet.level_pos_t: 3
smart_toilet.switch_moving_t: 0
smart_toilet.level_watertemp_w: 3
level_waterstrong_w-7-6: 3
smart_toilet.level_pos_w: 3
smart_toilet.switch_moving_w: 0
smart_toilet.level_warmdry: 3
smart_toilet.status_cover: 0
smart_toilet.status_seat: 0
night_light.on: 0
seat.heating: 1
seat.heat_level: 1
state_updater: cloud
state_property: toilet.seating_state
sub_entities:
  - night_light-4
  - mode
  - heat_level
miot_action_result:
  did: '245585658'
  miid: 0
  siid: 2
  aiid: 1
  code: 0
  exe_time: 840
  net_cost: 141
  ot_cost: 13
  otlocalts: 1682876965461663
  _oa_rpc_cost: 998
  withLatency: 0
icon: mdi:toilet
friendly_name: Horow S4 Toilet
supported_features: 0

Home Assistant Logs / 系统日志

Horow S4(horow.toilet.s4): Set miot property {'did': '245585658', 'siid': 4, 'piid': 1, 'value': True} failed, result: {'did': '245585658', 'iid': '0.4.1', 'siid': 4, 'piid': 1, 'code': -704220043, 'exe_time': 0} 01:49:16 – (WARNING) Xiaomi Miot Auto (自定义集成)

tufeikafei commented 1 year ago

我也是同款= =

al-one commented 1 year ago

建议通过token接入该设备后在尝试。

qjiang888 commented 1 year ago

通过本地token接入也是一样的, 座温档位控制好用, 不能关闭座温,夜灯也开关不了。

al-one commented 1 year ago

请提供日志。。

qjiang888 commented 1 year ago

此错误来自自定义集成。

Logger: custom_components.xiaomi_miot.binary_sensor Source: custom_components/xiaomi_miot/init.py:2458 Integration: Xiaomi Miot Auto (documentation, issues) First occurred: 21:24:17 (3 occurrences) Last logged: 21:24:48

Horow S4(horow.toilet.s4): Set miot property {'did': '245585658', 'siid': 4, 'piid': 1, 'value': True} failed, result: {'did': '245585658', 'iid': '0.4.1', 'siid': 4, 'piid': 1, 'code': -704220043, 'exe_time': 0}

ha里面的日志可以吗?

qjiang888 commented 1 year ago

2023-06-22 18:12:38.156 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration nodered which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-06-22 18:12:38.160 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration xiaomi_miot which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-06-22 18:12:38.163 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration midea_ac_lan which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-06-22 18:12:52.761 WARNING (Recorder) [homeassistant.components.recorder.util] Ended unfinished session (id=283 from 2023-06-22 14:02:43.868609+08:00) 2023-06-22 18:13:07.722 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.lu_mi_guang_zhao (<class 'custom_components.nodered.sensor.NodeRedSensor'>) is using native unit of measurement 'LX' which is not a valid unit for the device class ('illuminance') it is using; expected one of ['lx']; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author. 2023-06-22 18:13:07.796 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.dc1_bf017a_total (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using state class 'measurement' which is impossible considering device class ('energy') it is using; expected None or one of 'total_increasing', 'total'; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22 2023-06-22 18:13:07.979 ERROR (SyncWorker_3) [homeassistant.components.command_line.utils] Command failed (with return code 1): grep -c 'Login attempt' /config/home-assistant.log 2023-06-22 18:13:08.842 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.ji_ju_wen_du (<class 'custom_components.nodered.sensor.NodeRedSensor'>) is using native unit of measurement '℃' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°F', '°C', 'K']; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author. 2023-06-22 18:13:08.892 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.ke_ting_wen_du (<class 'custom_components.nodered.sensor.NodeRedSensor'>) is using native unit of measurement '℃' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°F', '°C', 'K']; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author. 2023-06-22 18:13:09.484 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.lorawen_du (<class 'custom_components.nodered.sensor.NodeRedSensor'>) is using native unit of measurement '℃' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°F', '°C', 'K']; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author. 2023-06-22 18:13:09.496 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.loradian_chi (<class 'custom_components.nodered.sensor.NodeRedSensor'>) is using native unit of measurement 'V' which is not a valid unit for the device class ('battery') it is using; expected one of ['%']; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author. 2023-06-22 18:13:09.531 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.lorawen_du_02 (<class 'custom_components.nodered.sensor.NodeRedSensor'>) is using native unit of measurement '℃' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°F', '°C', 'K']; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author. 2023-06-22 18:13:09.544 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.loradian_chi_02 (<class 'custom_components.nodered.sensor.NodeRedSensor'>) is using native unit of measurement 'V' which is not a valid unit for the device class ('battery') it is using; expected one of ['%']; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author. 2023-06-22 20:11:21.709 WARNING (MainThread) [homeassistant.helpers.entity] Update of fan.viomi_c13_4c87_hood is taking over 10 seconds 2023-06-22 20:11:21.918 WARNING (SyncWorker_5) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request xiaomi api: miotspec/prop/get {'params': [{'did': '457778291', 'siid': 2, 'piid': 1}, {'did': '457778291', 'siid': 2, 'piid': 2}, {'did': '457778291', 'siid': 2, 'piid': 6}, {'did': '457778291', 'siid': 2, 'piid': 7}, {'did': '457778291', 'siid': 9, 'piid': 1}, {'did': '457778291', 'siid': 9, 'piid': 3}, {'did': '457778291', 'siid': 9, 'piid': 6}, {'did': '457778291', 'siid': 9, 'piid': 10}, {'did': '457778291', 'siid': 9, 'piid': 11}, {'did': '457778291', 'siid': 9, 'piid': 12}, {'did': '457778291', 'siid': 9, 'piid': 13}, {'did': '457778291', 'siid': 9, 'piid': 14}, {'did': '457778291', 'siid': 9, 'piid': 15}, {'did': '457778291', 'siid': 9, 'piid': 16}, {'did': '457778291', 'siid': 9, 'piid': 17}, {'did': '457778291', 'siid': 9, 'piid': 18}, {'did': '457778291', 'siid': 9, 'piid': 19}, {'did': '457778291', 'siid': 9, 'piid': 21}, {'did': '457778291', 'siid': 9, 'piid': 23}, {'did': '457778291', 'siid': 8, 'piid': 1}, {'did': '457778291', 'siid': 8, 'piid': 2}, {'did': '457778291', 'siid': 8, 'piid': 3}, {'did': '457778291', 'siid': 8, 'piid': 4}, {'did': '457778291', 'siid': 8, 'piid': 5}, {'did': '457778291', 'siid': 8, 'piid': 6}, {'did': '457778291', 'siid': 7, 'piid': 1}, {'did': '457778291', 'siid': 10, 'piid': 2}, {'did': '457778291', 'siid': 6, 'piid': 1}]} failed, response: None 2023-06-22 20:52:08.722 WARNING (MainThread) [async_upnp_client.profiles.dlna] Only InstanceID 0 is supported 2023-06-22 20:52:59.757 WARNING (MainThread) [async_upnp_client.profiles.dlna] Only InstanceID 0 is supported 2023-06-22 20:54:58.451 WARNING (MainThread) [async_upnp_client.profiles.dlna] Only InstanceID 0 is supported 2023-06-22 20:56:58.497 WARNING (MainThread) [async_upnp_client.profiles.dlna] Only InstanceID 0 is supported 2023-06-22 20:58:58.515 WARNING (MainThread) [async_upnp_client.profiles.dlna] Only InstanceID 0 is supported 2023-06-22 21:00:58.509 WARNING (MainThread) [async_upnp_client.profiles.dlna] Only InstanceID 0 is supported 2023-06-22 21:00:59.725 WARNING (MainThread) [async_upnp_client.profiles.dlna] Only InstanceID 0 is supported 2023-06-22 21:02:58.677 WARNING (MainThread) [async_upnp_client.profiles.dlna] Only InstanceID 0 is supported 2023-06-22 21:04:58.442 WARNING (MainThread) [async_upnp_client.profiles.dlna] Only InstanceID 0 is supported 2023-06-22 21:04:59.741 WARNING (MainThread) [async_upnp_client.profiles.dlna] Only InstanceID 0 is supported 2023-06-22 21:06:58.513 WARNING (MainThread) [async_upnp_client.profiles.dlna] Only InstanceID 0 is supported 2023-06-22 21:10:40.057 WARNING (MainThread) [aioesphomeapi.connection] ws2815 @ 192.168.8.210: Connection error occurred: Ping response not received after 90.0 seconds 2023-06-22 21:10:40.063 WARNING (MainThread) [aioesphomeapi.connection] tv-cabinet-2815 @ 192.168.8.101: Connection error occurred: Ping response not received after 90.0 seconds 2023-06-22 21:10:42.172 WARNING (MainThread) [aioesphomeapi.reconnect_logic] Can't connect to ESPHome API for ws2815 @ 192.168.8.210: Error connecting to ('192.168.8.210', 6053): [Errno 113] Connect call failed ('192.168.8.210', 6053) 2023-06-22 21:10:42.428 WARNING (MainThread) [aioesphomeapi.reconnect_logic] Can't connect to ESPHome API for tv-cabinet-2815 @ 192.168.8.101: Error connecting to ('192.168.8.101', 6053): [Errno 113] Connect call failed ('192.168.8.101', 6053) 2023-06-22 21:22:27.747 WARNING (SyncWorker_1) [custom_components.xiaomi_miot.binary_sensor] Horow S4(horow.toilet.s4): Set miot property {'did': '245585658', 'siid': 4, 'piid': 1, 'value': True} failed, result: {'did': '245585658', 'iid': '0.4.1', 'siid': 4, 'piid': 1, 'code': -704220043, 'exe_time': 0} 2023-06-22 21:22:49.747 WARNING (SyncWorker_10) [custom_components.xiaomi_miot.binary_sensor] Horow S4(horow.toilet.s4): Set miot property {'did': '245585658', 'siid': 4, 'piid': 1, 'value': True} failed, result: {'did': '245585658', 'iid': '0.4.1', 'siid': 4, 'piid': 1, 'code': -704220043, 'exe_time': 0} 2023-06-22 21:24:17.723 WARNING (SyncWorker_8) [custom_components.xiaomi_miot.binary_sensor] Horow S4(horow.toilet.s4): Set miot property {'did': '245585658', 'siid': 4, 'piid': 1, 'value': True} failed, result: {'did': '245585658', 'iid': '0.4.1', 'siid': 4, 'piid': 1, 'code': -704220043, 'exe_time': 0} 2023-06-22 21:24:22.507 WARNING (SyncWorker_12) [custom_components.xiaomi_miot.binary_sensor] Horow S4(horow.toilet.s4): Set miot property {'did': '245585658', 'siid': 4, 'piid': 1, 'value': True} failed, result: {'did': '245585658', 'iid': '0.4.1', 'siid': 4, 'piid': 1, 'code': -704220043, 'exe_time': 0} 2023-06-22 21:24:48.839 WARNING (SyncWorker_10) [custom_components.xiaomi_miot.binary_sensor] Horow S4(horow.toilet.s4): Set miot property {'did': '245585658', 'siid': 4, 'piid': 1, 'value': True} failed, result: {'did': '245585658', 'iid': '0.4.1', 'siid': 4, 'piid': 1, 'code': -704220043, 'exe_time': 0}