-
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Siren Support in device sorting by Insteon Type and NodeDefID #74
Comments
I don't use the sirens directly from HA; I have scenes set up in the ISY so that I can send one command and control all of them. Where should I look for the sorting? If I look at the Configuration -> Entities page, yes, they sort in order. (I didn't know they didn't sort in order before). Right now the Names are XX.YY.ZZ.1 Siren Trigger Home, XX.YY.ZZ.2 Siren Arm Home, XX.YY.ZZ.3 Siren Trigger Away, ... and are listed in that order in the Entities page. But yes, you can send On/Off/Fast_On/Fast_Off to those entities in order to Arm/Disarm/Trigger the alarms, so those should probably be switch and not sensor objects. To Untrigger (turn off) the siren I think you need to send an Off/Fast_Off to the ARM target -- sending an Off to the Trigger target didn't seem to do anything, but I cannot test that right now (school is in session). Thinking about this a bit more -- it would be nice if there were some way to show the "armed" status of the siren. I don't know if the Arm targets actually report the current status or not. There isn't anything visible in the ISY about it, except in the primary .1 (Trigger Home) node. |
Thanks for the info. I should have clarified: "sorting" refers to the methods that this integration uses to figure out what an ISY device is (binary_sensor, switch, light, lock, etc.). I was curious if they were being labelled as switches when they should be binary_sensors, etc. In general, if you can control them with an ON/OFF command = switch, if they just report their status = binary_sensor. So yeah, looks like at least the "arm" should be switches (for now; these could eventually be added as an The statuses are blank in what you sent me, but that could also be if they haven't been updated/triggered since the last ISY restart. You can always trigger one (after school) and see if the status is reported in the ISY. If so, we can set them up like motion/leak sensors, with an assumed initial state of "off". Just FYI for anyone curious: there are 5 methods used, in order of most accurate to S.W.A.G.:
|
My understanding is that currently nodes .2 through .6 are responders only. You can send on/off commands to them but there is no queriable data from them. All the "status" data is in .1. |
Moved to automicus/PyISY#270 |
While debugging #72, identified that Insteon Sirens do not have the proper support in the newer sorting mechanisms.
DevTypeIds:
SirenArm
SirenAlert
Siren_ADV
Insteon Type: 7.30.70.0
Subnodes:
.1 Siren Trigger Home
.2 Siren Arm Home
.3 Siren Trigger Away
.4 Siren Arm Away
.5 Siren Trigger Both
.6 Siren Arm Both
_Originated from @derekatkins in #72
@derekatkins, I don't have a siren -- are these sorting properly for you now? What can you do with each subnode?
If you can actually control them directly, they can be added as a switch, if they just report a status, they should be a binary sensor.
The text was updated successfully, but these errors were encountered: