We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Smoke sensor should be supported but only dp14 battery is working not dp1 smoke_sensor_state
sensor smoke state is not available
Home Assistant Version Core 2024.4.2 Supervisor 2024.04.0 Operating System 12.1 Frontend 20240404.1
}, "data": { "endpoint": "https://apigw.tuyaeu.com", "terminal_id": "", "mqtt_connected": true, "disabled_by": null, "disabled_polling": false, "id": "61840056483fda328893", "name": "Rookmelder gang", "category": "ywbj", "product_id": "cjlutkuuvxnie17o", "product_name": "Smoke Alarm", "online": true, "sub": false, "time_zone": "+01:00", "active_time": "2024-04-03T10:37:09+00:00", "create_time": "2024-04-03T10:37:09+00:00", "update_time": "2024-04-03T10:37:09+00:00", "function": {}, "status_range": { "battery_state": { "type": "Enum", "value": { "range": [ "low", "middle", "high" ] } } }, "status": { "battery_state": "high" }, "home_assistant": { "name": "Rookmelder gang", "name_by_user": null, "disabled": false, "disabled_by": null, "entities": [ { "disabled": false, "disabled_by": null, "entity_category": "diagnostic", "device_class": null, "original_device_class": null, "icon": null, "original_icon": null, "unit_of_measurement": null, "state": { "entity_id": "sensor.rookmelder_gang_batterijstatus", "state": "high", "attributes": { "friendly_name": "Rookmelder gang Batterijstatus" }, "last_changed": "2024-04-09T12:00:18.444044+00:00", "last_reported": "2024-04-09T12:00:18.444044+00:00", "last_updated": "2024-04-09T12:00:18.444044+00:00" } } ] }, "set_up": true, "support_local": true } } Device specifications (please complete the following information, which can be found in log):
Same device's id, like this: Request URLCopy curl --request GET "https://openapi.tuyaeu.com/v2.0/cloud/thing/61840056483fda328893/shadow/properties" --header "sign_method: HMAC-SHA256" --header "client_id: "" --header "t: 1712674079750" --header "mode: cors" --header "Content-Type: application/json" --header "sign: " --header "access_token: " ResponseCopy { "result": { "properties": [ { "code": "smoke_sensor_state", "custom_name": "", "dp_id": 1, "time": 1712140631289, "value": "normal" }, { "code": "fault", "custom_name": "", "dp_id": 11, "time": 1712140631384, "value": 0 }, { "code": "battery_state", "custom_name": "", "dp_id": 14, "time": 1712140631328, "value": "high" } ] }, "success": true, "t": 1712674078517, "tid": "28227edcf68011ee825bba8975aefeef" }
Add any other context or logs about the problem here.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Smoke sensor should be supported but only dp14 battery is working not dp1 smoke_sensor_state
sensor smoke state is not available
Home Assistant Version
Core
2024.4.2
Supervisor
2024.04.0
Operating System
12.1
Frontend
20240404.1
},
"data": {
"endpoint": "https://apigw.tuyaeu.com",
"terminal_id": "",
"mqtt_connected": true,
"disabled_by": null,
"disabled_polling": false,
"id": "61840056483fda328893",
"name": "Rookmelder gang",
"category": "ywbj",
"product_id": "cjlutkuuvxnie17o",
"product_name": "Smoke Alarm",
"online": true,
"sub": false,
"time_zone": "+01:00",
"active_time": "2024-04-03T10:37:09+00:00",
"create_time": "2024-04-03T10:37:09+00:00",
"update_time": "2024-04-03T10:37:09+00:00",
"function": {},
"status_range": {
"battery_state": {
"type": "Enum",
"value": {
"range": [
"low",
"middle",
"high"
]
}
}
},
"status": {
"battery_state": "high"
},
"home_assistant": {
"name": "Rookmelder gang",
"name_by_user": null,
"disabled": false,
"disabled_by": null,
"entities": [
{
"disabled": false,
"disabled_by": null,
"entity_category": "diagnostic",
"device_class": null,
"original_device_class": null,
"icon": null,
"original_icon": null,
"unit_of_measurement": null,
"state": {
"entity_id": "sensor.rookmelder_gang_batterijstatus",
"state": "high",
"attributes": {
"friendly_name": "Rookmelder gang Batterijstatus"
},
"last_changed": "2024-04-09T12:00:18.444044+00:00",
"last_reported": "2024-04-09T12:00:18.444044+00:00",
"last_updated": "2024-04-09T12:00:18.444044+00:00"
}
}
]
},
"set_up": true,
"support_local": true
}
}
Device specifications (please complete the following information, which can be found in log):
Same device's id, like this:
Request URLCopy
curl --request GET "https://openapi.tuyaeu.com/v2.0/cloud/thing/61840056483fda328893/shadow/properties" --header "sign_method: HMAC-SHA256" --header "client_id: "" --header "t: 1712674079750" --header "mode: cors" --header "Content-Type: application/json" --header "sign: " --header "access_token: "
ResponseCopy
{
"result": {
"properties": [
{
"code": "smoke_sensor_state",
"custom_name": "",
"dp_id": 1,
"time": 1712140631289,
"value": "normal"
},
{
"code": "fault",
"custom_name": "",
"dp_id": 11,
"time": 1712140631384,
"value": 0
},
{
"code": "battery_state",
"custom_name": "",
"dp_id": 14,
"time": 1712140631328,
"value": "high"
}
]
},
"success": true,
"t": 1712674078517,
"tid": "28227edcf68011ee825bba8975aefeef"
}
Add any other context or logs about the problem here.
The text was updated successfully, but these errors were encountered: