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

Smoke alarm not triggered in Homekit #401

Open
Mebbz opened this issue Nov 13, 2024 · 1 comment
Open

Smoke alarm not triggered in Homekit #401

Mebbz opened this issue Nov 13, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Mebbz
Copy link

Mebbz commented Nov 13, 2024

Describe the bug
I have a smoke alarm in Smart Life which seems to be correctly exposed to Homekit through this plugin, as it shows up in Homekit. But when testing it with smoke, the alarm only triggers in Smart Life. No response in Homekit.

Expected behavior
I expected the alarm to go off in Homekit as well

Screenshots
No screenshots as the alarm didn't trigger in Homekit

Device info:
13.11.2024, 12:38:07Tuya Platform BridgeTuyaOpenMQ onMessage: topic = cloud/token/in/newc4d7f8d8073b629db681deaf0df9515b, message = {"protocol":20,"data":{"devId":"01174721083a8de4a726","bizCode":"online","bizData":{"time":1731497887403},"productKey":"5teb6ilyaahaf7o2","ts":1731497887574},"t":1731497887403,"pv":"2.0","sign":"036724ffe3b4144f52093e48cd5add59"}

13.11.2024, 12:38:13Tuya Platform BridgeTuyaOpenMQ onMessage: topic = cloud/token/in/newc4d7f8d8073b629db681deaf0df9515b, message = {"protocol":4,"data":{"devId":"01174721083a8de4a726","dataId":"6c7a5cb6-0855-41af-95a6-be756d26f336","productKey":"5teb6ilyaahaf7o2","status":[{"106":"3","code":"smoke_sensor_state","t":1731497893,"value":"3"}]},"t":1731497893,"pv":"2.0","sign":"26b1b2bb06dc15538648e6c7eafcd116"}

13.11.2024, 12:39:35Tuya Platform BridgeTuyaOpenMQ onMessage: topic = cloud/token/in/newc4d7f8d8073b629db681deaf0df9515b, message = {"protocol":20,"data":{"devId":"01174721083a8de4a726","bizCode":"online","bizData":{"time":1731497975079},"productKey":"5teb6ilyaahaf7o2","ts":1731497975212},"t":1731497975079,"pv":"2.0","sign":"7cacbe84137257b50c65a5e9bc5bc750"}

13.11.2024, 12:39:41Tuya Platform BridgeTuyaOpenMQ onMessage: topic = cloud/token/in/newc4d7f8d8073b629db681deaf0df9515b, message = {"protocol":4,"data":{"devId":"01174721083a8de4a726","dataId":"db3c608a-7dfc-4f3e-b7e7-d688b3a3e6d2","productKey":"5teb6ilyaahaf7o2","status":[{"106":"1","code":"smoke_sensor_state","t":1731497981,"value":"1"}]},"t":1731497981,"pv":"2.0","sign":"bcaad3ab2bed51a

13.11.2024, 12:40:36Tuya Platform BridgeTuyaOpenMQ onMessage: topic = cloud/token/in/newc4d7f8d8073b629db681deaf0df9515b, message = {"protocol":20,"data":{"devId":"01174721083a8de4a726","bizCode":"online","bizData":{"time":1731498036614},"productKey":"5teb6ilyaahaf7o2","ts":1731498036810},"t":1731498036614,"pv":"2.0","sign":"978f511d00413f5e4ea3d8307569d1a4"}

13.11.2024, 12:40:42Tuya Platform BridgeTuyaOpenMQ onMessage: topic = cloud/token/in/newc4d7f8d8073b629db681deaf0df9515b, message = {"protocol":4,"data":{"devId":"01174721083a8de4a726","dataId":"405ba5a8-0083-42e6-8d44-05ae9ef35536","productKey":"5teb6ilyaahaf7o2","status":[{"106":"0","code":"smoke_sensor_state","t":1731498042,"value":"0"}]},"t":1731498042,"pv":"2.0","sign":"0b10342694fd2708adce3ef89fc6c138"}

The time stamp in Smart Life for the alarm is 12:39:41

request path = /v1.0/iot-01/associated-users/devices

{"active_time":1714687690,
"biz_type":18,
"category":"ywbj",
"create_time":1714405617,
"icon":"smart/icon/bay1660725958050ZyQT/7924bd85ba4a3dd2f093b84c59ed3898.jpg",
"id":"01174721083a8de4a726",
"ip":"81.167.123.122",
"lat":"",
"local_key":"O$Djy1yto^a5Jg|R",
"lon":"",
"model":"024673",
"name":"Røykvarsler hobbygarasje\t",
"online":true,
"owner_id":"59740084",
"product_id":"5teb6ilyaahaf7o2",
"product_name":"Bright WIFI SMART SMOKE ALARM",
"status":[{"code":"battery_percentage",
"value":73},
{"code":"smoke_sensor_state",
"value":"0"}],
"sub":false,"time_zone":"+01:00",
"uid":"eu1656071288985kDxmZ",
"update_time":1731021516,
"uuid":"01174721083a8de4a726"},

Device functions:

/v1.0/devices/functions
12.11.2024, 08:22:00 Tuya Platform Bridge [ DEBUG ] Adding: Røykvarsler hobbygarasje (ywbj / 01174721083a8de4a726)
12.11.2024, 08:22:00 Tuya Platform Bridge [ DEBUG ] Existing Accessory found Røykvarsler hobbygarasje 01174721083a8de4a726 5bfd3f3e-e75d-454c-af7b-ffa8ac90c923

Same device Id, like this:
{
"category":"cl",
"devices":[
"aaaaaaaaaaa"
],
"functions":[
{
"code":"control",
"desc":"control",
"name":"control",
"type":"Enum",
"values":"{"range":["open","stop","close"]}"
},
{
"code":"percent_control",
"desc":"percent control",
"name":"percent control",
"type":"Integer",
"values":"{"unit":"%","min":0,"max":100,"scale":0,"step":1}"
},
{
"code":"control_back",
"desc":"control back",
"name":"control back",
"type":"Boolean",
"values":"{}"
}
],
"product_id":"xaabybja"
}

The smoke alarm (uuid":"01174721083a8de4a726") is the only one of my Smart Life devices in the log which is missing the information above. All other switches and irrigation systems have the function section in the log

Additional context
Nothing which is not already covered

@Mebbz Mebbz added the bug Something isn't working label Nov 13, 2024
Copy link

Thank you for your feedback, we will solve this issue soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant