Skip to content
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

Thermostat cubee.airrtc.th123e dont switch #287

Closed
neKola-ru opened this issue Nov 9, 2021 · 2 comments
Closed

Thermostat cubee.airrtc.th123e dont switch #287

neKola-ru opened this issue Nov 9, 2021 · 2 comments

Comments

@neKola-ru
Copy link

Hello, I have a mistake:

2021-11-09 02:25:21 ERROR (MainThread) [custom_components.xiaomi_miot_raw.climate] Modes {'Manual': 0, 'Home': 1, 'Away': 2, 'Smart': 3, 'Sleep': 4} contains unsupported ones. Please report this message to the developer.

But the problem is different, there is no way to control the on and off of the device.

I found a manual and some integration (rytilahti/python-miio#901) and made a switch, but it's not pretty. I saw that in the current integration "Edit display and parameters" and tried to fix it, but nothing happened... The other parameters are correct. Please help me

hvac_modes: null
min_temp: 7
max_temp: 35
target_temp_step: 1
current_temperature: 23
temperature: 26
model: cubee.airrtc.th123e
firmware_version: 2.0.8
hardware_version: esp32
thermostat_switch_status: true
thermostat_status: 加热中
thermostat_fault: 无错误
thermostat_mode: 0
thermostat_target_temperature: 26
thermostat_temperature: 23
state_value: true
friendly_name: Termostat_Bathroom
supported_features: 1

Maybe the problem is in the switch statuses in Chinese?

@superwangmeng
Copy link

Try this when create,and select climate and switch:

mapping:

{ "thermostat": { "switch_status": { "siid": 2, "piid": 1 }, "status": { "siid": 2, "piid": 2 }, "fault": { "siid": 2, "piid": 3 }, "mode": { "siid": 2, "piid": 4 }, "target_temperature": { "siid": 2, "piid": 5 }, "temperature": { "siid": 2, "piid": 7 } }, "switch": { "switch_status": { "siid": 2, "piid": 1 } } }

参数:

{ "thermostat": { "switch_status": { "power_on": true, "power_off": false }, "fault": { "\u4f20\u611f\u5668\u9519\u8bef": 1, "\u65e0\u9519\u8bef": 0, "\u9ad8\u6e29\u4fdd\u62a4": 2, "\u4f4e\u6e29\u4fdd\u62a4": 3 }, "mode": { "Dry": 0, "Heat": 1, "Cool": 2, "Auto": 3, "Fan": 4 }, "target_temperature": { "value_range": [ 0, 90, 1 ] }, "status": { "\u672a\u52a0\u70ed\u72b6\u6001": 0, "\u52a0\u70ed\u4e2d": 1 }, "temperature": { "access": 5, "format": "float", "unit": "celsius", "value_range": [ -30, 100, 1 ] }, "main": true }, "switch": { "switch_status": { "power_on": true, "power_off": false } } }

@neKola-ru
Copy link
Author

neKola-ru commented Nov 9, 2021

Thank you very much! it works, only now the modes are weird)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants