Closed dresende closed 1 year ago
targetStateValues
etc. should not be within topics
- i.e. try
{
accessory : "mqttthing",
type : "securitySystem",
name : "Alarm",
topics : {
setTargetState : "home/main/alarm/home/status/set",
getTargetState : "home/main/alarm/home/status/target",
getCurrentState : "home/main/alarm/home/status"
},
targetStateValues : [ "arm_stay", "arm", "armm_sleep", "disarm" ],
currentStateValues : [ "stay", "armed", "sleep", "disarmed", "alarm" ],
restrictTargetState : [ 1, 2, 3 ],
}
oh... how stupid of me. Sorry. Let me just test it out.
Perfect.
Excellent! Thanks for confirming.
The alarm (Paradox) is proxied to specific topics of my own, so I control the values. I configured the accessory like this:
The test I did was arming/disarming using homekit and what I see are the default values, not the ones I specify.
It should have published
arm
and notAA
.