deconz-rest-plugin
deconz-rest-plugin copied to clipboard
Woox R7052 Smart SOS Button
Device
- Product name: Woox R7052 Smart SOS Button
- Manufacturer: _TZ_3000_ssp0maqm
- Model identifier: TS0215
- Device type : Please remove all unrelated device types.
- Switch
Product page: https://wooxhome.com/new-c8/woox-r7052-smart-sos-button-p50
Screenshots

Missing screen of the device on deconz (and what clusters it houses).
Is this the screenshot I forgot to do?

Yes. But now also missing Time, IAS zone and IAS ACE.
Okay, I'm sorry, I'm new to the process. Is this what you need?
Basic

Time

Power Configuration

IAS Zone

IAS ACE (part 1 of 2)

IAS ACE (part 2 of 2)

OTAU

Yes. Well, not me, but the developers.
Hello friends, are you still missing data from my side, since it has still the mark "incomplete issue"? If so, could you let me know what it is, please?
As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.
Bump to keep it active
As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.
As there has not been any response in 28 days, this issue will be closed. @ OP: If this issue is solved post what fixed it for you. If it is not solved, request to get this opened again.
Re opened on user request.
As there has not been any response in 28 days, this issue will be closed. @ OP: If this issue is solved post what fixed it for you. If it is not solved, request to get this opened again.
Bump to keep it active
As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.
Bump to keep it active
As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.
Bump to keep it active
As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.
Bump to keep it active
@Smanar Can this be done you think?
Yep, can try this DDF
{
"schema": "devcap1.schema.json",
"manufacturername": "_TZ3000_ssp0maqm",
"modelid": "TS0215A",
"vendor": "Woox",
"product": "R7052 Smart SOS Button",
"sleeper": true,
"status": "Gold",
"subdevices": [
{
"type": "$TYPE_SWITCH",
"restapi": "/sensors",
"uuid": [
"$address.ext",
"0x01",
"0x0500"
],
"fingerprint": {
"profile": "0x0104",
"device": "0x0401",
"endpoint": "0x01",
"in": [
"0x0000",
"0x0500",
"0x0501"
]
},
"items": [
{
"name": "attr/id"
},
{
"name": "attr/lastannounced"
},
{
"name": "attr/lastseen"
},
{
"name": "attr/manufacturername"
},
{
"name": "attr/modelid"
},
{
"name": "attr/name"
},
{
"name": "attr/swversion"
},
{
"name": "attr/type"
},
{
"name": "attr/uniqueid"
},
{
"name": "config/enrolled"
},
{
"name": "config/on"
},
{
"name": "config/pending"
},
{
"name": "config/reachable"
},
{
"name": "state/buttonevent",
"awake": true
},
{
"name": "state/lastupdated"
},
{
"name": "state/lowbattery"
}
]
}
],
"bindings": [
{
"bind": "unicast",
"src.ep": 1,
"cl": "0x0500"
},
{
"bind": "unicast",
"src.ep": 1,
"cl": "0x0501"
}
]
}
With this DDF the device will be reconized but not working. Pls check deconz log with flag "info" and "info_l2" and pressing button, you will see error about missing button map, can you share them ?
But I think you will have thoses one
"immaxKeyfobMap": {
"vendor": "Immax",
"doc": "Smart Keyfob 07046L",
"modelids": ["Keyfob-ZB3.0"],
"map": [
[1, "0x01", "IAS_ACE", "ARM", "1", "S_BUTTON_1", "S_BUTTON_ACTION_SHORT_RELEASED", "Arm day/home zones only"],
[1, "0x01", "IAS_ACE", "ARM", "0", "S_BUTTON_2", "S_BUTTON_ACTION_SHORT_RELEASED", "Disarm"],
[1, "0x01", "IAS_ACE", "EMERGENCY", "0", "S_BUTTON_3", "S_BUTTON_ACTION_SHORT_RELEASED", "Emergency"],
[1, "0x01", "IAS_ACE", "ARM", "3", "S_BUTTON_4", "S_BUTTON_ACTION_SHORT_RELEASED", "Arm all zones"]
]
},
Hi.
I will try something tomorrow . It seems that i did not receive SOS from Woox but from Tuya even I ordered Woox so i am bumping wrong case for some time :-p
Regards.
My DDF is based on the one on the first post, and this one is not a tuya.
Hi friends,
thanks for providing the start of the DDF.
The Log says:
19:42:11:912 [INFO] - No button map for: TS0215A, unicast to: 0x0000, endpoint: 0x01, cluster: IAS_ACE (0x0501), command: EMERGENCY (0x02), payload: None, zclSeq: 110 19:42:11:942 Websocket 172.30.32.1:37604 send message: {"attr":{"id":"103","lastannounced":null,"lastseen":"2022-10-12T17:42Z","manufacturername":"_TZ3000_ssp0maqm","modelid":"TS0215A","name":"Switch 103","swversion":null,"type":"ZHASwitch","uniqueid":"bc:33:ac:ff:fe:xx:xx:xx-xx-xxxx"},"e":"changed","id":"103","r":"sensors","t":"event","uniqueid":"bc:33:ac:ff:fe:xx:xx:xx-xx-xxxx"} (ret = 328)
Is this what you need? Since I'm having 73 nodes it's pretty hard to get the right portion of the log to me...
There is a small typo in the DDF,
you wrote "modelid": "TS0215"
but it should be "modelid": "TS0215A"
Couldn't get it working without the "A" at the end.
Ha thx, have correctyed the DDF
Is this what you need?
Yes exactly and this one is the same than
No button map for: TS0215A, unicast to: 0x0000, endpoint: 0x01, cluster: IAS_ACE (0x0501), command: EMERGENCY (0x02), payload: None,
[1, "0x01", "IAS_ACE", "EMERGENCY", "0", "S_BUTTON_3", "S_BUTTON_ACTION_SHORT_RELEASED", "Emergency"],
So we can suppose all are same. You can edit the file "button_maps.json" you can find it in the "devices" folder too
And add inside
"TuyaKeyfobMap": {
"vendor": "Woox",
"modelids": ["TS0215A"],
"map": [
[1, "0x01", "IAS_ACE", "ARM", "1", "S_BUTTON_1", "S_BUTTON_ACTION_SHORT_RELEASED", "Arm day/home zones only"],
[1, "0x01", "IAS_ACE", "ARM", "0", "S_BUTTON_2", "S_BUTTON_ACTION_SHORT_RELEASED", "Disarm"],
[1, "0x01", "IAS_ACE", "EMERGENCY", "0", "S_BUTTON_3", "S_BUTTON_ACTION_SHORT_RELEASED", "Emergency"],
[1, "0x01", "IAS_ACE", "ARM", "3", "S_BUTTON_4", "S_BUTTON_ACTION_SHORT_RELEASED", "Arm all zones"]
]
},
Hi and thanks, I implemented the part to button_maps.json then I had to restart deCONZ the changes to take effect. Now I can see an action connected to the device in Home Assistant (before there was nothing):
but when I use it in an Automation, nothing happens.
I tried it with two more automations to be sure there's nothing wrong with that - same result. Nothing happens.
I pressed it, pressed it long, pressed it twice, pressed it really long like 10 secsonds - the automation was never triggered.
I relogged with INFO and INFO_L2, maybe this can help you to identify the problem?
22:43:07:138 Websocket 172.30.32.1:37758 send message: {"attr":{"id":"105","lastannounced":null,"lastseen":"2022-10-13T20:43Z","manufacturername":"_TZ3000_ssp0maqm","modelid":"TS0215A","name":"Woox R7052 Smart SOS Button 1","swversion":null,"type":"ZHASwitch","uniqueid":"bc:33:ac:ff:xx:xx:xx:xx-xx-xxxx"},"e":"changed","id":"105","r":"sensors","t":"event","uniqueid":"bc:33:ac:ff:xx:xx:xx:xx-xx-xxxx"} (ret = 347)
The API Information from Phoscon states as follows (I edited the etag and uniqueid field for safety reasons):
{ "config": { "enrolled": 0, "on": true, "pending": [], "reachable": true }, "ep": 1, "etag": "ff5bfac77c156167f0a6f67xxxxxxxxx", "lastannounced": null, "lastseen": "2022-10-13T20:53Z", "manufacturername": "_TZ3000_ssp0maqm", "mode": 1, "modelid": "TS0215A", "name": "Woox R7052 Smart SOS Button 1", "state": { "buttonevent": null, "lastupdated": "none", "lowbattery": null, "tampered": false }, "type": "ZHASwitch", "uniqueid": "bc:33:ac:ff:xx:xx:xx:xx-xx-xxxx" }
Or do you need something else I can support you with? Kind regards.
"buttonevent": null
I have something wrong. You still have same error message in deconz when using a button ?
No button map for: TS0215A, unicast to: 0x0000, endpoint: 0x01, cluster: IAS_ACE (0x0501), command: EMERGENCY (0x02), payload: None
Hi @Smanar, I think there was no message like "No button map". Btw. the "Woox R7052 Smart SOS Button" has only one button, in case that is important for the button map.
Now there is something weird happening.
I deleted the node via deCONZ, to have a new clean pairing.
I reset the Woox device.
Then I tried to re-pair it with Phoscon, as I did before. But Phoscon will no more recognise it, but in deCONZ I see it with the randomly generated name (0x48BD):

I restarted the deCONZ addon, no luck. I shutdown the Raspi, took it off power for 1 min, rebooted it. Still the same, Phoscon is not recognising the device again, although I can see in deCONZ that it has loaded the correct DDF file...
Can you help me?
Kind regards.
@Smanar, I got it working again...
it seems that the DDF-file that I created, woox_r7052_ts0215a.json got deleted as well as the new button_maps.json was overwritten during restart or reboot of deCONZ and the changes are gone. I had to reupload the files in the usr/share/deCONZ/devices/woox -folder.
Strange.
At the moment, with the by deCONZ cleaned button_maps.json I get the following when pressing the button:
19:16:03:547 [INFO] - No button map for: TS0215A, unicast to: 0x0000, endpoint: 0x01, cluster: IAS_ACE (0x0501), command: EMERGENCY (0x02), payload: None, zclSeq: 42
Does this help to get it working?
Yes :( Ha use docker system, lot of stuff are not permanent.
Btw. the "Woox R7052 Smart SOS Button" has only one button, in case that is important for the button map.
Only one button ? So yes, no need to use the button map, can make something faster
{
"schema": "devcap1.schema.json",
"manufacturername": "_TZ3000_ssp0maqm",
"modelid": "TS0215A",
"vendor": "Woox",
"product": "R7052 Smart SOS Button",
"sleeper": true,
"status": "Gold",
"subdevices": [
{
"type": "$TYPE_SWITCH",
"restapi": "/sensors",
"uuid": [
"$address.ext",
"0x01",
"0x0500"
],
"fingerprint": {
"profile": "0x0104",
"device": "0x0401",
"endpoint": "0x01",
"in": [
"0x0000",
"0x0500",
"0x0501"
]
},
"items": [
{
"name": "attr/id"
},
{
"name": "attr/lastannounced"
},
{
"name": "attr/lastseen"
},
{
"name": "attr/manufacturername"
},
{
"name": "attr/modelid"
},
{
"name": "attr/name"
},
{
"name": "attr/swversion"
},
{
"name": "attr/type"
},
{
"name": "attr/uniqueid"
},
{
"name": "config/enrolled"
},
{
"name": "config/on"
},
{
"name": "config/pending"
},
{
"name": "config/reachable"
},
{
"name": "state/buttonevent",
"awake": true,
"parse": {
"cl": "0x0501",
"cmd": "0x02",
"eval": "Item.val = 1002"
}
},
{
"name": "state/lastupdated"
},
{
"name": "state/lowbattery"
}
]
}
],
"bindings": [
{
"bind": "unicast",
"src.ep": 1,
"cl": "0x0500"
},
{
"bind": "unicast",
"src.ep": 1,
"cl": "0x0501"
}
]
}