question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Setup Help]: Security System together with node-red-contrib-alarm

See original GitHub issue

Setup 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:closed
  • Created 3 years ago
  • Comments:13 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
macinspakcommented, Dec 31, 2020

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.

1reaction
crxportercommented, Dec 31, 2020

Now live

It is MUCH better than what I used before. Thank you @macinspak - awesome node you’ve made!

Read more comments on GitHub >

github_iconTop Results From Across the Web

node-red-contrib-alarm (node)
Powerful and flexible node-red nodes to enable you to build your own home alarm system with any number of panels, zones, sensors, triggers...
Read more >
node-red-contrib-alarm - npm
Nodes to build your own home alarm system. ... node-red-contrib-alarm ... Create an alarmPanel configuration node to tie together states and ...
Read more >
How to Set Up a DIY Home Security System | Family Handyman
1. Save $100s Now—And $30 Every Month Installing a wireless DIY home security system can be as easy as mounting transmitters on doors and...
Read more >
How to Install a Home Security System: It's Easier Than You ...
Though professional installation can be more convenient, the DIY security system options are easier to install & more affordable than you think!
Read more >
Alula: Professional Smart Security System | Home Security ...
We built both the hardware and software, so it all works seamlessly together, and it's delivered with white glove partner support. Fastest Install....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found