[Setup Help]: Security System together with node-red-contrib-alarm
See original GitHub issueSetup Help Physical hardware device: node-red @ rasp3 and alarm components from homematic HomeKit Service being used: SecuritySystem
Current Flow
[{"id":"7779032.8e668fc","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"1f227af9.cf9645","type":"group","z":"7779032.8e668fc","style":{"stroke":"#999999","stroke-opacity":"1","fill":"none","fill-opacity":"1","label":true,"label-position":"nw","color":"#a4a4a4"},"nodes":["4cce9609.961778","a6e0fdea.7190f","2b787d83.814e32"],"x":54,"y":199,"w":672,"h":82},{"id":"c7194ee3.90da8","type":"group","z":"7779032.8e668fc","style":{"stroke":"#999999","stroke-opacity":"1","fill":"none","fill-opacity":"1","label":true,"label-position":"nw","color":"#a4a4a4"},"nodes":["b08534e2.268f28","34c8ac87.751214","579dbba8.492614"],"x":54,"y":99,"w":672,"h":82},{"id":"b08534e2.268f28","type":"homekit-service","z":"7779032.8e668fc","g":"c7194ee3.90da8","isParent":true,"bridge":"22d4e8fc.af3ef8","parentService":"","name":"Alarmanlage","serviceName":"SecuritySystem","topic":"","filter":false,"manufacturer":"NRCHKB","model":"1.2.0","serialNo":"Default Serial Number","firmwareRev":"1.2.0","hardwareRev":"1.2.0","softwareRev":"1.2.0","cameraConfigVideoProcessor":"ffmpeg","cameraConfigSource":"","cameraConfigStillImageSource":"","cameraConfigMaxStreams":2,"cameraConfigMaxWidth":1280,"cameraConfigMaxHeight":720,"cameraConfigMaxFPS":10,"cameraConfigMaxBitrate":300,"cameraConfigVideoCodec":"libx264","cameraConfigAudioCodec":"libfdk_aac","cameraConfigAudio":false,"cameraConfigPacketSize":1316,"cameraConfigVerticalFlip":false,"cameraConfigHorizontalFlip":false,"cameraConfigMapVideo":"0:0","cameraConfigMapAudio":"0:1","cameraConfigVideoFilter":"scale=1280:720","cameraConfigAdditionalCommandLine":"-tune zerolatency","cameraConfigDebug":false,"cameraConfigSnapshotOutput":"disabled","cameraConfigInterfaceName":"","characteristicProperties":"{}","waitForSetupMsg":false,"outputs":2,"x":390,"y":140,"wires":[["579dbba8.492614"],[]]},{"id":"34c8ac87.751214","type":"AnamicoAlarmStateChanged","z":"7779032.8e668fc","g":"c7194ee3.90da8","name":"State Changed","panel":"3a8de6f2.bd172a","format":"1","sendInitialState":1,"x":160,"y":140,"wires":[["b08534e2.268f28"]]},{"id":"579dbba8.492614","type":"AnamicoAlarmChangeState","z":"7779032.8e668fc","g":"c7194ee3.90da8","name":"Change State","panel":"3a8de6f2.bd172a","format":"1","x":620,"y":140,"wires":[]},{"id":"4cce9609.961778","type":"AnamicoAlarmStateChanged","z":"7779032.8e668fc","g":"1f227af9.cf9645","name":"State Changed","panel":"3a8de6f2.bd172a","format":"2","sendInitialState":1,"x":160,"y":240,"wires":[["2b787d83.814e32"]]},{"id":"a6e0fdea.7190f","type":"AnamicoAlarmChangeState","z":"7779032.8e668fc","g":"1f227af9.cf9645","name":"Change State","panel":"3a8de6f2.bd172a","format":"2","x":620,"y":240,"wires":[]},{"id":"2b787d83.814e32","type":"ui_dropdown","z":"7779032.8e668fc","g":"1f227af9.cf9645","name":"","label":"","tooltip":"","place":"Select option","group":"cd8db9ac.c86458","order":4,"width":0,"height":0,"passthru":false,"multiple":false,"options":[{"label":"Home","value":0,"type":"num"},{"label":"Away","value":"1","type":"str"},{"label":"Night","value":"2","type":"str"},{"label":"Off","value":"3","type":"str"}],"payload":"","topic":"","x":390,"y":240,"wires":[["a6e0fdea.7190f"]]},{"id":"22d4e8fc.af3ef8","type":"homekit-bridge","bridgeName":"HomeKitNodRed","pinCode":"111-11-111","port":"","allowInsecureRequest":true,"manufacturer":"NRCHKB","model":"1.2.0","serialNo":"Default Serial Number","firmwareRev":"1.2.0","hardwareRev":"1.2.0","softwareRev":"1.2.0","customMdnsConfig":false,"mdnsMulticast":true,"mdnsInterface":"","mdnsPort":"","mdnsIp":"","mdnsTtl":"","mdnsLoopback":true,"mdnsReuseAddr":true,"allowMessagePassthrough":true},{"id":"3a8de6f2.bd172a","type":"AnamicoAlarmPanel","name":"@Home"},{"id":"cd8db9ac.c86458","type":"ui_group","name":"Außen","tab":"855c3b15.563748","order":1,"disp":true,"width":"4","collapse":false},{"id":"855c3b15.563748","type":"ui_tab","name":"Steuerung","icon":"dialpad","order":4,"disabled":false,"hidden":false}]
Help Needed Do you have any example how to setup security system? there is no doc. the flow works basicly, but together with node-red-contrib-alarm i’m facing some problems. i’m not sure if it errors occours by this package or node-red-contrib-alarm.
i can control the security system with my ios home app very well. if i create a dropdown in my node-red dash. if i set for example “night” at this dropdown the securitysystem node does not sent or sent a wrong message to the change state node. the status on the security remains in the old “mode”.
in ios the button appears as working, but never stops
maybe its just an setup error.
kind regards
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (9 by maintainers)
Top GitHub Comments
I just stumbled on this while searching for something else. I’m the author of node-red-contrib-alarm.
You just neglected to set the topic on the dashboard widget. It’s not an issue with either nodes, node-red-contrib-homekit (and node-red-contrib-alarm) needs the topic : payload.SecuritySystemTargetState so it knows what to apply the value to.
Let me know if you think it doesn’t need it, or there is a better way, and I’ll look to updating the package.
Please close at bountysource.
Now live
It is MUCH better than what I used before. Thank you @macinspak - awesome node you’ve made!