You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
body { "alert": "select" } and { "alert": "lselect" } and { "alert": "none" }
select and lselect would turn on the siren and none should turn it off.
sending select and none does nothing. (sending lselect, turn on siren which has to be manually reset/turned off by pressing the button on the smoke alarm (front))
deCONZ version (not Home assistant Addon version!): 2.29.0 and 2.28.1
Device: ConBee II
Do you use an USB extension cable: no
Is there any other USB or serial devices connected to the host system? no
-Frient smoke alarm has firmware 4.0.8 (latest from what I could tell)
deCONZ Logs
No response
Additional context
From what I could see reading the code the DDF have been changed lately (August 8) and actually tested with my device... So it could have something to do with this part of the DDF, if this issue didn't exist before:
For anybody reading this and have the same issues, using the previous ddf file solved the issue for me. Seems like this line introduces the bug: "eval": "if (Item.val=='select') { '1701000000' } else if (Item.val=='none') { '0000000000' }",
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.
Does the issue really belong here?
Is there already an existing issue for this?
Describe the bug
The Frient Intelligent smoke alarm should support setting 3 states via the rest apis on the "warning device" endpoint:
select and lselect would turn on the siren and none should turn it off.
sending select and none does nothing. (sending lselect, turn on siren which has to be manually reset/turned off by pressing the button on the smoke alarm (front))
Steps to reproduce the behavior
use put command on endpoint:
https://ip-address-to-rest-plugin/api//lights//state
first with body: { "alert": "select" }, siren does not go off
then with body: { "alert": "lselect" } siren goes off
then with body { "alert": "none" } siren does not stop
Expected behavior
{ "alert": "none" } stops the siren
{ "alert": "select" } start the siren
Screenshots
Environment
-Frient smoke alarm has firmware 4.0.8 (latest from what I could tell)
deCONZ Logs
No response
Additional context
From what I could see reading the code the DDF have been changed lately (August 8) and actually tested with my device... So it could have something to do with this part of the DDF, if this issue didn't exist before:
{
"name": "attr/uniqueid"
},
{
"name": "state/alert",
"description": "Start warning command payload has 5 Bytes. Byte 1: Options. 0x17 = Warning mode 1 (burglar), Strobe, Very high sound. Byte 2-3: Duration, Byte 4: Strobe duty cycle, Byte 5: Strobe level",
"read": {
"fn": "none"
},
"write": {
"cl": "0x0502",
"cmd": "0x00",
"ep": "0x01",
"eval": "if (Item.val=='select') { '1701000000' } else if (Item.val=='none') { '0000000000' }",
"fn": "zcl:cmd"
},
"default": "none"
},
{
"name": "state/reachable"
}
]
The text was updated successfully, but these errors were encountered: