-
-
Notifications
You must be signed in to change notification settings - Fork 715
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
viomi.waterheater.u8 状态显示以及模式问题 #30
Comments
另外你的热水器miot-spec协议中没有模式相关字段,因此无发切换模式。 {
"service":"water-heater",
"desc":"Water Heater",
"prop":{
"1":{
"property":"target-temperature",
"desc":"Target Temperature",
"access":"write,notify,read",
"format":"uint8",
"unit":"celsius",
"value-range":[
30,
65,
1
]
},
"2":{
"property":"temperature",
"desc":"Temperature",
"access":"read,notify",
"format":"uint8",
"unit":"celsius",
"value-range":[
0,
255,
1
]
},
"3":{
"property":"status",
"desc":"Status",
"access":"notify",
"format":"uint8",
"unit":"none",
"value-list":[
{
"value":0,
"description":"Off"
},
{
"value":1,
"description":"Idle"
},
{
"value":2,
"description":"Busy"
},
{
"value":3,
"description":"Preheating"
}
]
},
"4":{
"property":"on",
"desc":"Switch Status",
"access":"write",
"format":"bool"
}
}
} |
|
无法控制目标温度是吗? |
已修复,请更新后尝试。 |
由于你的热水器miot协议中开关字段 |
你的热水器miot协议中状态字段 |
2021-03-06 22:58:03 DEBUG (MainThread) [custom_components.xiaomi_miot.config_flow] Xiaomi Miot config flow: {'user_input': {'name': '厨房热水器', 'token': 'b6268423aefdcb8f960ef5707cd4bb2d', 'host': '192.168.15.246'}, 'miio_info': viomi.waterheater.u8 v2.1.3 (04:CF:8C:67:43:44) @ 192.168.15.246 - token: b6268423aefdcb8f960ef5707cd4bb2d, 'errors': {}} 2021-03-06 22:58:21 DEBUG (MainThread) [custom_components.xiaomi_miot] Xiaomi Miot update config entry options: {'entry_id': 'd3d805dffe2892b5bfa8d4bb18396382', 'unique_id': '04:cf:8c:67:43:44', 'state': 'loaded', 'data': mappingproxy({'name': '厨房热水器', 'token': 'b6268423aefdcb8f960ef5707cd4bb2d', 'host': '192.168.15.246', 'model': 'viomi.waterheater.u8', 'miio_info': {'life': 681754, 'uid': 987711293, 'model': 'viomi.waterheater.u8', 'token': 'b6268423aefdcb8f960ef5707cd4bb2d', 'ipflag': 1, 'fw_ver': '2.1.3', 'mcu_fw_ver': '0002', 'miio_ver': '0.0.9', 'hw_ver': 'esp8266', 'mmfree': 22116, 'mac': '04:CF:8C:67:43:44', 'wifi_fw_ver': '8903c22', 'ap': {'ssid': 'Momo', 'bssid': 'C4:41:1E:E4:ED:C0', 'rssi': -79, 'primary': 4}, 'netif': {'localIp': '192.168.15.246', 'mask': '255.255.255.0', 'gw': '192.168.15.1'}}, 'miot_type': 'urn:miot-spec-v2:device:water-heater:0000A02A:viomi-u8:1', 'unique_did': '04:cf:8c:67:43:44'}), 'options': mappingproxy({'miot_cloud': True})} |
开关实体没了,是因为你设备下的 |
有办法解决吗 或者大佬有空的话我把设备共享给大佬。。看下?~ |
2021-03-07 01:43:36 DEBUG (SyncWorker_8) [custom_components.xiaomi_miot] Set miot property to 厨房热水器 Water Heater ({'did': '129224749', 'siid': 2, 'piid': 1, 'value': 48.3}), result: {'did': '129224749', 'siid': 2, 'piid': 1, 'code': -704220043} 调温之后的日志~~ |
调温问题你可以更新master分支后尝试下。 |
调温已修复。 |
The text was updated successfully, but these errors were encountered: