ioBroker.zigbee icon indicating copy to clipboard operation
ioBroker.zigbee copied to clipboard

Alarm siren doesn't work anymore

Open kptkip opened this issue 2 years ago • 43 comments

Since several versions of the adapter the sirens in my smoke detectors AV2010/24 are not possible to activate. With my outdoor siren AV2010/29 it is the same issue.

Only the smoke detectors AV2010/24A still work.

In between the first ones and the latter the entire structure of data points as changed.

Has anyone ideas how to reactivate the alarm feature?

Thanks a lot!

Here are some screenshots of the interface and the data points structure: 154448871-5d46005a-1077-45c7-bfed-2622410e7c03 154448875-618dfce0-715d-472e-b6eb-2ca31ec6c5c8 154448878-e7522eb8-d91d-429c-be7e-156bc74f7d70 154448883-d87cb177-d670-43a8-b9a6-5866d23e7720

kptkip avatar Mar 19 '22 16:03 kptkip

After deleting an re-installing the smoke detector I get the following message in the protocol from the adapter: WOW!

zigbee.0 | 2022-03-20 15:57:00.321 | warn | This object will not be created in future versions. Please report this to the developer.
-- | -- | -- | --
zigbee.0 | 2022-03-20 15:57:00.320 | warn | Object 00124b0008e67d8e.mode is invalid: obj.common.states has an invalid type! Expected "object", received "string"
zigbee.0 | 2022-03-20 15:57:00.254 | warn | Device '0x00124b0008e67d8e' announced itself

kptkip avatar Mar 20 '22 15:03 kptkip

  • Which adapter version are you using ?
  • is the smoke detector listed as "to exclude" (ausschliessen) in the adapter ? If not, please add it to the excluded devices. A.

asgothian avatar Mar 20 '22 17:03 asgothian

Currently I am using 1.6.16 - in version 1.6.0 it worked perfectly. I've put on the "to exclude" list - no effect until now.

kptkip avatar Mar 20 '22 18:03 kptkip

  • did you restart the adapter after adding the device to the exclude list ?
  • did you perform a state cleanup after restarting ?

asgothian avatar Mar 20 '22 20:03 asgothian

I restarted the adapter several times. I also deleted the device and re-paired it again. No Changes. Also state cleanup didn't work.

kptkip avatar Mar 20 '22 21:03 kptkip

There is one thing, I can't understand:

The AV2010/24 and the AV2010/24A are identical devices -biside of the type name.

Even the explanation in Zigbee2MQTT is identical and the config in devices.js in this package is also identical.

Why is the device appearing in the adapter GUI in a complete different manner with different data points?

Greetings Alex

kptkip avatar Mar 21 '22 06:03 kptkip

set the duration to 5 .. same reaction ?

arteck avatar Mar 21 '22 09:03 arteck

It is always the same issue - no reaction. I've tried a vast amount of values

It is obvious: We are discussing more about symptoms and workarounds with time-consuming trial & error.

The root-cause lies in the question: For what reason has the implementation of 902010/24 and 902010/29 changed since 1.6.0? The data point structure changed for no clear reason and the reflecting GUI of theses devices in the adapter-overview also (s screenshots here https://github.com/ioBroker/ioBroker.zigbee/issues/1397#issue-1174297803). In MQTT2Zigbee nothing changed. Since this change the devices are no more capable to activate the siren.

While we start thinking in the direction DIFF between AV2010/24 and AV2010/24A we will come closer to a solution.

kptkip avatar Mar 21 '22 10:03 kptkip

For what reason has the implementation of 902010/24 and 902010/29 changed since 1.6.0?

no changes here our site.. check GIT for this device when it is to slow for you.. or our questions are too tedious to answer for you..

check the code.. fix the bug.. make a PR.. and you are lucky... so simple is it

so far I do not see the bug.. in source

arteck avatar Mar 21 '22 11:03 arteck

Your screenshot does not match the definition given by the exposes for the devices on zigbee2mqtt.io.

Please ensure

  • that both devices are active in the exposes

  • that you run the adapter internal state cleanup (with the force clean set) after restarting the adapter ( Screen Shot 2022-03-21 at 12 53 37 )

  • that both devices show the following states:

  • smoke,battery_low,tamper,mode,level,strobe_level,strobe_duty_cycle,duration,link_quality,message_from_zigbee,available,device_query,send_payload

  • Install the fork of the adapter from my repository (https://github.com/asgothian/ioBroker.zigbee)

The initial attempt to set the alarm would be to change the mode state to emergency after setting the duration to 60

The next attempt is to put the following text into the send_payload state:

{"warning": {"mode": "stop","level": "low","strobe_level": "low","strobe": false,"strobe_duty_cycle": 10,"duration": 10}}

asgothian avatar Mar 21 '22 12:03 asgothian

@asgothian OK, I tried my best to find & ensure all theses points:

Your screenshot does not match the definition given by the exposes for the devices on zigbee2mqtt.io.

Sorry, I don't understand, what this means. But my observation is: These kind of devices work all properly: 902010/24A - works properly The devices with this kind of view not: 902010/24 - works not

Please ensure

  • that both devices are active in the exposes

Sorry, I don't understand, what this means. Do you mean this - if yes, they are all active: Bildschirmfoto 2022-03-21 um 13 53 11

  • that you run the adapter internal state cleanup (with the force clean set) after restarting the adapter (

Did this several times - no effect: Bildschirmfoto 2022-03-21 um 13 35 30

  • that both devices show the following states: smoke,battery_low,tamper,mode,level,strobe_level,strobe_duty_cycle,duration,link_quality,message_from_zigbee,available,device_query,send_payload

The latter doesn't exist - neither in the data point structure of 902010/24 nor in 902010/24A: Bildschirmfoto 2022-03-21 um 13 12 38

  • Install the fork of the adapter from my repository (https://github.com/asgothian/ioBroker.zigbee)

I'll gonna check this out later after backing up everything.

The initial attempt to set the alarm would be to change the mode state to emergency after setting the duration to 60

Tried this - no success (1. duration 60sek 2. mode to emergency). (see screenshot above)

The next attempt is to put the following text into the send_payload state:

{"warning": {"mode": "stop","level": "low","strobe_level": "low","strobe": false,"strobe_duty_cycle": 10,"duration": 10}}

Where can I do this - the data point "send_payload" doesn't exist as you can see above. Eventually somewhere here? Bildschirmfoto 2022-03-21 um 13 20 48

kptkip avatar Mar 21 '22 12:03 kptkip

Should we combine/link these threads https://github.com/ioBroker/ioBroker.zigbee/issues/766#issuecomment-1073880750 ? There is the same discussion going on - unfortunately only in german.

kptkip avatar Mar 21 '22 13:03 kptkip

Here my tests and experiencies.

Obviously the current states "execute_warnings" in the objects 902010/24 etc are available not anymore

galegro avatar Mar 21 '22 15:03 galegro

Should we combine/link these threads #766 (comment) ? There is the same discussion going on - unfortunately only in german.

No. 766 has been closed after the initial implementation of the siren.

asgothian avatar Mar 21 '22 16:03 asgothian

The State "send_payload" will be available once you installed from my GitHub branch.

A.

asgothian avatar Mar 21 '22 16:03 asgothian

The State "send_payload" will be available once you installed from my GitHub branch.

In this case, do I use „send_payload“ instead of „execute_warnings“?

Where can I find your branch?

galegro avatar Mar 21 '22 17:03 galegro

OK, here is the update:

  • Install the fork of the adapter from my repository (https://github.com/asgothian/ioBroker.zigbee)

I installed this version successfully. :-)

Now there are the data points "zigbee.0.[DEVICEID].send_payload".

But none of the given hints worked for me - neither putting the JSON part into send_payload nor playing around with the duration length or mode. :-(

kptkip avatar Mar 21 '22 19:03 kptkip

please post the log results from when you entered the data.

asgothian avatar Mar 21 '22 19:03 asgothian

Here you can find the error result for several attempts with 2 devices (902010/24 902010/29):

zigbee.0 | 2022-03-21 21:49:49.253 | error | Send command to 0x00124b0008e757b9 failed with no error code (Timeout - 64365 - 1 - 86 - 1282 - 11 after 10000ms)
zigbee.0 | 2022-03-21 21:49:43.577 | error | Send command to 0x00124b0008d8dba4 failed with no error code (Timeout - 24981 - 1 - 88 - 1282 - 11 after 10000ms)
zigbee.0 | 2022-03-21 21:49:26.206 | error | Send command to 0x00124b0008e757b9 failed with no error code (Timeout - 64365 - 1 - 85 - 1282 - 11 after 10000ms)

kptkip avatar Mar 21 '22 20:03 kptkip

This is an indication that the siren does not respond.

  • Do you get status updates from the siren at all ?
  • Do you get similar messages when the you attempt the test i referenced above ?

A.

asgothian avatar Mar 22 '22 07:03 asgothian

This is an indication that the siren does not respond.

  • Do you get status updates from the siren at all ? I get a response from the device in iobroker. I did a reality-check with real smoke to check weather theDevice reacts and give Information about smoke -> perfectly 😎
  • Do you get similar messages when the you attempt the test i referenced above ?

Do you think of this one? {"warning": {"mode": "stop","level": "low","strobe_level": "low","strobe": false,"strobe_duty_cycle": 10,"duration": 10}}

kptkip avatar Mar 22 '22 10:03 kptkip

No, i was thinking about the separate states mode, level, duration, etc.

asgothian avatar Mar 22 '22 11:03 asgothian

There is no reaction in the siren.

duration tested: 60s , 1s, 5s,10s,.. mode: emergency, fire, stop, burglar strobe false

The protocol says:

zigbee.0 | 2022-03-23 21:33:05.181 | error | Send command to 0x00124b0008e757b9 failed with no error code (Timeout - 64365 - 1 - 15 - 1282 - 11 after 10000ms)
zigbee.0 | 2022-03-23 21:32:38.768 | error | Send command to 0x00124b0008e757b9 failed with no error code (Timeout - 64365 - 1 - 14 - 1282 - 11 after 10000ms)
zigbee.0 | 2022-03-23 21:32:15.715 | error | Send command to 0x00124b0008e757b9 failed with no error code (Timeout - 64365 - 1 - 13 - 1282 - 11 after 10000ms)

kptkip avatar Mar 23 '22 20:03 kptkip

please remove the device and pair it again - at the location you use it. It seems there is an issue with the communication to the device, on top of the actual integration in ioBroker.

asgothian avatar Mar 23 '22 21:03 asgothian

I've done this several times.

kptkip avatar Mar 23 '22 21:03 kptkip

What I wonder:

The never version of the smoke detector 2010/24A has a datapoint "execute_warning". This is the trigger to start the siren.

This trigger doesn't exist in the list of datapoints not - there are only settings datapoints. Can it be that the trigger itself is not there and for that the siren doesn't start?

kptkip avatar Mar 23 '22 21:03 kptkip

The execute_warning state should no longer be active for any of the sirens with the current zigbee-herdsman-converters as that was changed. No communication seems to work as the messages sent to the device are not confirmed - that is what the timeout message signals.

A.

asgothian avatar Mar 23 '22 21:03 asgothian

The recieving of the smoke status works. Ive tried this yesterday.

So it is only the sending direction?

kptkip avatar Mar 23 '22 21:03 kptkip

If I look on the writeable datapoins in the object structure I observe red (not send/confirmed) values. That fits to the hypothesis that the device doesn't receive the data. Bildschirmfoto 2022-03-25 um 07 29 26

A general question: How many and which components are involved in this adapter? As you mentioned not having changed the adapter itself. It would help thinking which of the involved (especially those from koenkk and maybe others) components have made changes in the last month. So we can come closer to the root-cause.

kptkip avatar Mar 25 '22 06:03 kptkip

The relevant components are the zigbee-herdsman and zigbee-herdsman-converters project. There have been a large number of changes in the zigbee-herdsman-converters project as they have been moving towards a system which is called "exposes" - this system is responsible for the states which are generated for devices we do not specify states for directly or for devices entered into the exclude list. Among these changes was the removal of the 'execute_warning' converter, so the state with the same name we have stopped working.

A.

asgothian avatar Mar 25 '22 07:03 asgothian