home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.72k stars 30.84k forks source link

Doorbell Siren #104145

Closed milandzuris closed 10 months ago

milandzuris commented 1 year ago

The problem

Hi, for my Doorbell PoE Camera is not working Siren image

What version of Home Assistant Core has the issue?

*

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

No response

Link to integration documentation on our website

Reolink

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

jpbede commented 12 months ago

Please fill out the the issue informations completely and provide us with the necessary information so that we can look into the problem.

issue-triage-workflows[bot] commented 11 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

milandzuris commented 11 months ago

Please fill out the the issue informations completely and provide us with the necessary information so that we can look into the problem.

@jpbede change to Reolink

home-assistant[bot] commented 11 months ago

Hey there @starkillerog, mind taking a look at this issue as it has been labeled with an integration (reolink) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `reolink` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign reolink` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


reolink documentation reolink source (message by IssueLinks)

jpbede commented 11 months ago

Thank you for providing us with the integration name, but could you please also provide us with some logs?

starkillerOG commented 11 months ago

Enable debug logging of the Reolink integration: https://www.home-assistant.io/docs/configuration/troubleshooting/#enabling-debug-logging Then press the siren on button, wait 2 minutes and disable debug logging and post the log.txt file here.

Please also look at the "volume" entity and tell me at which value 0-100 it is set, it could be that the volume of the siren is just set really low.

milandzuris commented 11 months ago

Enable debug logging of the Reolink integration: https://www.home-assistant.io/docs/configuration/troubleshooting/#enabling-debug-logging Then press the siren on button, wait 2 minutes and disable debug logging and post the log.txt file here.

Please also look at the "volume" entity and tell me at which value 0-100 it is set, it could be that the volume of the siren is just set really low.

config_entry-reolink-b0944ab025031c8818006a6ccdcc6a80.json.txt

starkillerOG commented 11 months ago

Thats not debug log, its diagnostics, please read the link

milandzuris commented 11 months ago

@starkillerOG home-assistant_reolink_2023-12-03T22-29-06.676Z.log

starkillerOG commented 11 months ago

@milandzuris what time pressed siren?

milandzuris commented 11 months ago

@starkillerOG 17:09 home-assistant_reolink_2023-12-04T16-09-51.087Z.log

starkillerOG commented 11 months ago

No AudioAlarmPlay in log

kylepyke commented 11 months ago

Hi, I'm also having this issue. I have a doorbell camera and a POE RLC830a. Both sirens are showing as "Unkown", when previously they'd show as on/off.

Screen Shot 2023-12-13 at 8 00 06 PM

The debug log is too large to upload, but these are the entries for my siren.side_yard_siren:

2023-12-13 17:25:16.005 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=siren.side_yard_siren, old_state=None, new_state=<state siren.side_yard_siren=unknown; icon=mdi:alarm-light, friendly_name=Side Yard Siren, supported_features=27 @ 2023-12-13T17:25:16.005052-06:00>>
2023-12-13 17:25:21.542 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=siren.side_yard_siren, old_state=<state siren.side_yard_siren=unknown; icon=mdi:alarm-light, friendly_name=Side Yard Siren, supported_features=27 @ 2023-12-13T17:25:16.005052-06:00>, new_state=<state siren.side_yard_siren=unknown; icon=mdi:alarm-light, friendly_name=Sideyard Siren, supported_features=27 @ 2023-12-13T17:25:16.005052-06:00>>
2023-12-13 19:51:59.076 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=siren, service=turn_on, service_data=volume_level=1, entity_id=['siren.doorbell_siren', 'siren.side_yard_siren']>
2023-12-13 19:52:00.709 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=siren, service=turn_off, service_data=entity_id=['siren.doorbell_siren', 'siren.side_yard_siren']>
2023-12-13 19:53:57.823 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=siren, service=turn_on, service_data=volume_level=1, entity_id=['siren.doorbell_siren', 'siren.side_yard_siren']>
2023-12-13 19:53:59.932 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=siren, service=turn_off, service_data=entity_id=['siren.doorbell_siren', 'siren.side_yard_siren']>
2023-12-13 19:55:42.631 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=siren, service=turn_on, service_data=volume_level=1, entity_id=['siren.doorbell_siren', 'siren.side_yard_siren']>
2023-12-13 19:55:44.980 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=siren, service=turn_off, service_data=entity_id=['siren.doorbell_siren', 'siren.side_yard_siren']>
2023-12-13 19:57:00.534 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=siren.side_yard_siren, old_state=<state siren.side_yard_siren=unknown; icon=mdi:alarm-light, friendly_name=Sideyard Siren, supported_features=27 @ 2023-12-13T17:25:16.005052-06:00>, new_state=<state siren.side_yard_siren=unavailable; restored=True, icon=mdi:alarm-light, friendly_name=Siren, supported_features=27 @ 2023-12-13T19:57:00.534424-06:00>>
2023-12-13 19:57:18.075 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=siren.side_yard_siren, old_state=<state siren.side_yard_siren=unavailable; restored=True, icon=mdi:alarm-light, friendly_name=Siren, supported_features=27 @ 2023-12-13T19:57:00.534424-06:00>, new_state=<state siren.side_yard_siren=unknown; icon=mdi:alarm-light, friendly_name=Side Yard Siren, supported_features=27 @ 2023-12-13T19:57:18.075516-06:00>>
2023-12-13 20:00:36.239 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=siren, service=turn_on, service_data=volume_level=1, entity_id=['siren.doorbell_siren', 'siren.side_yard_siren']>
2023-12-13 20:00:40.834 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=siren, service=turn_off, service_data=entity_id=['siren.doorbell_siren', 'siren.side_yard_siren']>
2023-12-13 20:01:04.414 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=siren, service=turn_on, service_data=entity_id=siren.side_yard_siren>
2023-12-13 20:01:04.452 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=siren, service=turn_on, service_data=volume_level=1, entity_id=['siren.doorbell_siren', 'siren.side_yard_siren']>
2023-12-13 20:01:05.955 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=siren, service=turn_off, service_data=entity_id=siren.side_yard_siren>
2023-12-13 20:01:05.992 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=siren, service=turn_off, service_data=entity_id=['siren.doorbell_siren', 'siren.side_yard_siren']>

Here is are the logs for AudioAlarmPlay

2023-12-13 20:00:36.205 DEBUG (MainThread) [reolink_aio.api] Sending command: "AudioAlarmPlay" to: 192.168.1.110:443 with body: [{'cmd': 'AudioAlarmPlay', 'action': 0, 'param': {'alarm_mode': 'manul', 'manual_switch': 1, 'channel': 0}}]
{'cmd': 'AudioAlarmPlay', 'token': 'a863f74a4064f03'}
[{'cmd': 'AudioAlarmPlay', 'action': 0, 'param': {'alarm_mode': 'manul', 'manual_switch': 1, 'channel': 0}}]
      "cmd" : "AudioAlarmPlay",
2023-12-13 20:00:37.330 DEBUG (MainThread) [reolink_aio.api] Response from cmd 'AudioAlarmPlay' from 192.168.1.110:443: [{'cmd': 'AudioAlarmPlay', 'code': 0, 'value': {'rspCode': 200}}]
2023-12-13 20:00:40.827 DEBUG (MainThread) [reolink_aio.api] Sending command: "AudioAlarmPlay" to: 192.168.1.110:443 with body: [{'cmd': 'AudioAlarmPlay', 'action': 0, 'param': {'alarm_mode': 'manul', 'manual_switch': 0, 'channel': 0}}]
{'cmd': 'AudioAlarmPlay', 'token': 'a863f74a4064f03'}
[{'cmd': 'AudioAlarmPlay', 'action': 0, 'param': {'alarm_mode': 'manul', 'manual_switch': 0, 'channel': 0}}]
2023-12-13 20:00:40.835 DEBUG (MainThread) [reolink_aio.api] Sending command: "AudioAlarmPlay" to: 192.168.1.110:443 with body: [{'cmd': 'AudioAlarmPlay', 'action': 0, 'param': {'alarm_mode': 'manul', 'manual_switch': 0, 'channel': 0}}]
{'cmd': 'AudioAlarmPlay', 'token': 'a863f74a4064f03'}
[{'cmd': 'AudioAlarmPlay', 'action': 0, 'param': {'alarm_mode': 'manul', 'manual_switch': 0, 'channel': 0}}]
2023-12-13 20:00:40.835 DEBUG (MainThread) [reolink_aio.api] Sending command: "AudioAlarmPlay" to: 192.168.1.13:443 with body: [{'cmd': 'AudioAlarmPlay', 'action': 0, 'param': {'alarm_mode': 'manul', 'manual_switch': 0, 'channel': 0}}]
{'cmd': 'AudioAlarmPlay', 'token': '404888c060497a9'}
[{'cmd': 'AudioAlarmPlay', 'action': 0, 'param': {'alarm_mode': 'manul', 'manual_switch': 0, 'channel': 0}}]
      "cmd" : "AudioAlarmPlay",
2023-12-13 20:00:41.210 DEBUG (MainThread) [reolink_aio.api] Response from cmd 'AudioAlarmPlay' from 192.168.1.110:443: [{'cmd': 'AudioAlarmPlay', 'code': 0, 'value': {'rspCode': 200}}]
2023-12-13 20:01:04.417 DEBUG (MainThread) [reolink_aio.api] Sending command: "AudioAlarmPlay" to: 192.168.1.13:443 with body: [{'cmd': 'AudioAlarmPlay', 'action': 0, 'param': {'alarm_mode': 'manul', 'manual_switch': 1, 'channel': 0}}]
{'cmd': 'AudioAlarmPlay', 'token': '404888c060497a9'}
[{'cmd': 'AudioAlarmPlay', 'action': 0, 'param': {'alarm_mode': 'manul', 'manual_switch': 1, 'channel': 0}}]
      "cmd" : "AudioAlarmPlay",
2023-12-13 20:01:04.713 DEBUG (MainThread) [reolink_aio.api] Response from cmd 'AudioAlarmPlay' from 192.168.1.13:443: [{'cmd': 'AudioAlarmPlay', 'code': 0, 'value': {'rspCode': 200}}]
2023-12-13 20:01:05.958 DEBUG (MainThread) [reolink_aio.api] Sending command: "AudioAlarmPlay" to: 192.168.1.13:443 with body: [{'cmd': 'AudioAlarmPlay', 'action': 0, 'param': {'alarm_mode': 'manul', 'manual_switch': 0, 'channel': 0}}]
{'cmd': 'AudioAlarmPlay', 'token': '404888c060497a9'}
[{'cmd': 'AudioAlarmPlay', 'action': 0, 'param': {'alarm_mode': 'manul', 'manual_switch': 0, 'channel': 0}}]
2023-12-13 20:01:05.993 DEBUG (MainThread) [reolink_aio.api] Sending command: "AudioAlarmPlay" to: 192.168.1.110:443 with body: [{'cmd': 'AudioAlarmPlay', 'action': 0, 'param': {'alarm_mode': 'manul', 'manual_switch': 0, 'channel': 0}}]
{'cmd': 'AudioAlarmPlay', 'token': 'a863f74a4064f03'}
[{'cmd': 'AudioAlarmPlay', 'action': 0, 'param': {'alarm_mode': 'manul', 'manual_switch': 0, 'channel': 0}}]
2023-12-13 20:01:05.993 DEBUG (MainThread) [reolink_aio.api] Sending command: "AudioAlarmPlay" to: 192.168.1.13:443 with body: [{'cmd': 'AudioAlarmPlay', 'action': 0, 'param': {'alarm_mode': 'manul', 'manual_switch': 0, 'channel': 0}}]
{'cmd': 'AudioAlarmPlay', 'token': '404888c060497a9'}
[{'cmd': 'AudioAlarmPlay', 'action': 0, 'param': {'alarm_mode': 'manul', 'manual_switch': 0, 'channel': 0}}]
      "cmd" : "AudioAlarmPlay",
2023-12-13 20:01:06.343 DEBUG (MainThread) [reolink_aio.api] Response from cmd 'AudioAlarmPlay' from 192.168.1.13:443: [{'cmd': 'AudioAlarmPlay', 'code': 0, 'value': {'rspCode': 200}}]

@starkillerOG Should 'alarm_mode': 'manul' be "manual'?

starkillerOG commented 11 months ago

@kylepyke The siren entities are expected to always have state "Unknown", they can be used to trigger the siren or silence it when it is ringing. There is no API command to see if the siren is ringing or not.

'alarm_mode': 'manul' is correct, that is what is needed.

Does your doorbell actually play sound when pressing the siren (enable) button? At what volume is the doorbell set? The responses in your log seem to be correct.

I am pretty sure the siren entity never showed on/off. I think you are confusing it with the Siren on event switch entity, that will show an on/off state.

issue-triage-workflows[bot] commented 10 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.