αlphaWerk
Blog

Cytech Zone Input to Homekit Motion Sensor

by Ben Stinton - 13th January 2021

Apple Homekit UCM-Pi Flows Back

You can copy this flow and import it, to map an input to a motion sensor in Homekit. All you need to do is update the Zone in the Cytech node, and the bridge in the Homekit node.



[
{
"id": "9860838e.78a9",
"type": "homekit-service",
"z": "aa4b52ba.85317",
"isParent": true,
"bridge": "53a9eb34.b6ef84",
"parentService": "",
"name": "OfficePIR",
"serviceName": "MotionSensor",
"topic": "",
"filter": false,
"manufacturer": "Default Manufacturer",
"model": "Default Model",
"serialNo": "Default Serial Number",
"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",
"characteristicProperties": "{}",
"outputs": 2,
"x": 720,
"y": 940,
"wires": [
[],
[]
]
},
{
"id": "6cb5a664.ee39c8",
"type": "cytech zone event",
"z": "aa4b52ba.85317",
"name": "Office",
"zone": "13",
"event": "value",
"trigger": true,
"setvirtualinput": false,
"setvirtualinputparam": "payload.value",
"setbypass": false,
"setbypassparam": "payload.bypass",
"inputtype": "off",
"activewait": 5,
"outputtype": "simplified",
"outputsimplifiedvalue": "boolean",
"outputsimplifiedkey": "payload.MotionDetected",
"x": 70,
"y": 940,
"wires": [
[
"9860838e.78a9"
]
]
},
{
"id": "53a9eb34.b6ef84",
"type": "homekit-bridge",
"bridgeName": "HomekitBridge Node",
"pinCode": "111-11-111",
"port": "",
"allowInsecureRequest": false,
"manufacturer": "Default Manufacturer",
"model": "Default Model",
"serialNo": "Default Serial Number",
"customMdnsConfig": false,
"mdnsMulticast": true,
"mdnsInterface": "",
"mdnsPort": "",
"mdnsIp": "",
"mdnsTtl": "",
"mdnsLoopback": true,
"mdnsReuseAddr": true
}
]

Comments: Send us an Email

Loading…
Loading the web debug toolbar…
Attempt #