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

Xiamo Miaja Termostat Heatcold get property error -4004 #521

Closed
rndvip opened this issue Apr 12, 2022 · 4 comments
Closed

Xiamo Miaja Termostat Heatcold get property error -4004 #521

rndvip opened this issue Apr 12, 2022 · 4 comments

Comments

@rndvip
Copy link

rndvip commented Apr 12, 2022

i have two device:

  • climate.cubee_th125t_7946_thermostat
  • climate.cubee_th123e_790d_thermostat

xiaomi_miot.get_properties return only firts mapping property, no matter how many I ask

service: xiaomi_miot.get_properties
data:
  entity_id: climate.cubee_th125t_7946_thermostat
  mapping:
    on:
      siid: 2
      piid: 1     
    status:
      siid: 2
      piid: 2       
  throw: true

return
[{'did': 'prop.2.1', 'siid': 2, 'piid': 1, 'code': 0, 'value': True}, {'did': 'prop.2.2', 'siid': 2, 'piid': 2, 'code': -4004}]

if chek status of device

hvac_modes: cool, heat, off
min_temp: 0
max_temp: 90
target_temp_step: 1
fan_modes: Low, Medium, High, Auto
preset_modes: UFH And AC, UFH, off
current_temperature: 25
temperature: 0
fan_mode: null
preset_mode: UFH And AC
model: cubee.airrtc.th125t
lan_ip: 192.168.88.228
mac_address: 54:48:E6:53:79:46
entity_class: MiotClimateEntity
miot_type: urn:miot-spec-v2:device:thermostat:0000A031:cubee-th125t:1
thermostat.on: true
thermostat.status.error: -4004 Other internal errors
thermostat.fault.error: -4004 Other internal errors
thermostat.target_temperature.error: -4004 Other internal errors
thermostat.fan_level.error: -4004 Other internal errors
heatold.childlock: false
heatold.sensortype.error: -4004 Other internal errors
heatold.tempcomp.error: -4004 Other internal errors
heatold.tempfloor.error: -4004 Other internal errors
heatold.minsettemp.error: -4004 Other internal errors
state_updater: lan
thermostat.mode: 2
thermostat.temperature: 25
heatold.childlock.error: -4004 Other internal errors
heatold.tempactivate: 1
heatold.maxsettemp: 40
friendly_name: Конвектор
supported_features: 25
chunk_properties: 3
@al-one
Copy link
Owner

al-one commented Apr 13, 2022

Try this configuration for cubee.airrtc.th123e/th125t:

# configuration.yaml
xiaomi_miot:
  device_customizes:
    'cubee.airrtc.*':
      chunk_properties: 1

@rndvip
Copy link
Author

rndvip commented Apr 13, 2022

data:
  entity_id: climate.cubee_th125t_7946_thermostat
  mapping:
    temperature:
      siid: 2
      piid: 7  
  throw: true

Now a get Unknown error
And in device card temperature switch form 0 to Not available
In developer panel become less attributes of my device

hvac_modes: cool, heat, off
min_temp: 0
max_temp: 90
target_temp_step: 1
fan_modes: Low, Medium, High, Auto
preset_modes: UFH And AC, UFH, off
friendly_name: Конвектор
supported_features: 25

@al-one
Copy link
Owner

al-one commented Apr 13, 2022

Maybe it can only get states and be controlled from the cloud.

@al-one al-one closed this as completed Dec 30, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants