Cześć,
posiadam sterownik pompy ciepła, który działa z apką Tuya. Zintegrowałem go z HA poprzez chmurę.
W apce mam tylko 3 opcje włącz wyłącz, temperatura CO i ustawienia krzywej.
ostatnio grzebiąc w HA znalazłem coś takiego (diagnostyka TUYA)
{
"id": "bfb118994302dd9469o5vi",
"name": "Inteligentna pompa ciep\u0142a",
"category": "znrb",
"product_id": "vfaiykidx9qaxrxn",
"product_name": "Intelligent Heat Pump",
"online": true,
"sub": false,
"time_zone": "+01:00",
"active_time": "2025-01-22T20:28:00+00:00",
"create_time": "2025-01-22T20:28:00+00:00",
"update_time": "2025-01-22T20:28:00+00:00",
"function": {
"switch": {
"type": "Boolean",
"value": {}
},
"mode": {
"type": "Enum",
"value": {
"range": [
"cold",
"heating"
]
}
},
"temp_set": {
"type": "Integer",
"value": {
"unit": "\u2103",
"min": 5,
"max": 75,
"scale": 0,
"step": 1
}
},
"water_set": {
"type": "Integer",
"value": {
"unit": "L",
"min": 0,
"max": 1,
"scale": 0,
"step": 1
}
}
},
"status_range": {
"switch": {
"type": "Boolean",
"value": {}
},
"mode": {
"type": "Enum",
"value": {
"range": [
"cold",
"heating"
]
}
},
"temp_set": {
"type": "Integer",
"value": {
"unit": "\u2103",
"min": 5,
"max": 75,
"scale": 0,
"step": 1
}
},
"water_set": {
"type": "Integer",
"value": {
"unit": "L",
"min": 0,
"max": 1,
"scale": 0,
"step": 1
}
},
"power_consumption": {
"type": "Integer",
"value": {
"unit": "kW\u00b7h",
"min": 0,
"max": 200000,
"scale": 2,
"step": 1
}
},
"temp_top": {
"type": "Integer",
"value": {
"unit": "\u2103",
"min": -50,
"max": 150,
"scale": 0,
"step": 1
}
},
"temp_bottom": {
"type": "Integer",
"value": {
"unit": "\u2103",
"min": -50,
"max": 150,
"scale": 0,
"step": 1
}
},
"defrost_state": {
"type": "Boolean",
"value": {}
}
},
"status": {
"switch": true,
"mode": "heating_and_hot_water",
"temp_set": 45,
"water_set": 1,
"power_consumption": 0,
"temp_top": 38,
"temp_bottom": 44,
"defrost_state": false
},
"home_assistant": {
"name": "Inteligentna pompa ciep\u0142a",
"name_by_user": null,
"disabled": false,
"disabled_by": null,
"entities": [
{
"disabled": false,
"disabled_by": null,
"entity_category": null,
"device_class": null,
"original_device_class": null,
"icon": null,
"original_icon": null,
"unit_of_measurement": null,
"state": {
"entity_id": "number.inteligentna_pompa_ciepla_temperatura",
"state": "45.0",
"attributes": {
"min": 5.0,
"max": 75.0,
"step": 1.0,
"mode": "auto",
"friendly_name": "Inteligentna pompa ciep\u0142a Temperatura"
},
"last_changed": "2025-02-20T08:46:12.214000+00:00",
"last_reported": "2025-02-20T08:46:12.214000+00:00",
"last_updated": "2025-02-20T08:46:12.214000+00:00"
}
},
{
"disabled": false,
"disabled_by": null,
"entity_category": null,
"device_class": null,
"original_device_class": null,
"icon": null,
"original_icon": null,
"unit_of_measurement": null,
"state": {
"entity_id": "switch.inteligentna_pompa_ciepla_switch",
"state": "on",
"attributes": {
"friendly_name": "Inteligentna pompa ciep\u0142a Switch"
},
"last_changed": "2025-02-20T08:46:12.242596+00:00",
"last_reported": "2025-02-20T08:46:12.242596+00:00",
"last_updated": "2025-02-20T08:46:12.242596+00:00"
}
}
]
},
"set_up": true,
"support_local": true
}
Czy jestem w stanie z urządzenia wydobyć power_consumption.