Add RelayAddr/Chan to Alarmdecoder#5645
Add RelayAddr/Chan to Alarmdecoder#5645frenck merged 4 commits intohome-assistant:nextfrom digiblur:next
Conversation
| 02: | ||
| name: 'Front Door' | ||
| type: 'opening' | ||
| 03: |
There was a problem hiding this comment.
We try to keep all configuration samples minimal. Thus, no optional requirement in the default sample. This helps a user to get started quickly by copy-&-paste the sample without worrying about optional parameters which they most likely not need. If required, insert a full configuration sample later that covers special setups or alike.
There was a problem hiding this comment.
I do agree with the changes. To follow with this the rule rfid should also be removed from zone 1 that is not part of my current proposed changes.
| - **panel_display** (*Optional*): Create a sensor called sensor.alarm_display to match the Alarm Keypad display. Default: `off` | ||
| - **zones** (*Optional*): AlarmDecoder has no way to tell us which zones are actually in use, so each zone must be configured in Home Assistant. For each zone, at least a name must be given. For more information on the available zone types, take a look at the [Binary Sensor](/components/binary_sensor.alarmdecoder/) docs. *Note: If no zones are specified, Home Assistant will not load any binary_sensor components.* | ||
| - **rfid** (*Optional*): The RF serial-number associated with RF zones. Providing this field allows Home Assistant to associate raw sensor data to a given zone, allowing direct monitoring of the state, battery, and supervision status. | ||
| - **relayaddr** (*Optional*): Address of the relay expander board to associate with the zone. (ex: 12, 13, 14, or 15). Typically used in cases where a panel will not send bypassed zones such as motion during an armed home state, the Vista 20P is an example of this. Alarmdecoder can emulate a zone expander board and the panel can be programmed to push zone events to this virtual expander. This allows the bypassed zone binary sensors to be utilized. One example is using bypassed motion sensors at night for motion based automated lights while the system is armed with the motion sensor bypassed. |
There was a problem hiding this comment.
All sounds good, new to the whole PR process/procedures with HA, how do you accept these changes? Do I make them on my side and commit them?
|
Thank you, @digiblur for this PR. |
Zone 3 example not needed
|
Corrections done. |
|
Thanks for the quick actions @digiblur! ✅ Approved. Can be merged as soon as the parent PR gets merged. |
|
Thanks for the review and help with my first PR of this project @frenck ! |
| - **panel_display** (*Optional*): Create a sensor called sensor.alarm_display to match the Alarm Keypad display. Default: `off` | ||
| - **zones** (*Optional*): AlarmDecoder has no way to tell us which zones are actually in use, so each zone must be configured in Home Assistant. For each zone, at least a name must be given. For more information on the available zone types, take a look at the [Binary Sensor](/components/binary_sensor.alarmdecoder/) docs. *Note: If no zones are specified, Home Assistant will not load any binary_sensor components.* | ||
| - **rfid** (*Optional*): The RF serial-number associated with RF zones. Providing this field allows Home Assistant to associate raw sensor data to a given zone, allowing direct monitoring of the state, battery, and supervision status. | ||
| - **relayaddr** (*Optional*): Address of the relay expander board to associate with the zone. (ex: 12, 13, 14, or 15). Typically used in cases where a panel will not send bypassed zones such as motion during an armed home state, the Vista 20P is an example of this. Alarmdecoder can emulate a zone expander board and the panel can be programmed to push zone events to this virtual expander. This allows the bypassed zone binary sensors to be utilized. One example is using bypassed motion sensors at night for motion-based automated lights while the system is armed with the motion sensor bypassed. |
There was a problem hiding this comment.
Looks like there are two spaces between "this." and "Alarmdecoder can emulate".
|
Fixed the line above it too as I noticed the double space there as well. |
Description:
Adds the two optional configuration options referenced in the PR to the component.
home-assistant/core#15242
Pull request in home-assistant (if applicable): home-assistant/core#15242
Checklist:
current. New documentation for platforms/components and features should go tonext.