Git Product home page Git Product logo

Comments (13)

davispw avatar davispw commented on May 23, 2024

How many devices do you have? I’ve split my many devices (over 60) across multiple bridges to help with this and a couple other issues of having too-large configurations.

from node-red-contrib-homekit-bridged.

bolfox avatar bolfox commented on May 23, 2024

from node-red-contrib-homekit-bridged.

Shaquu avatar Shaquu commented on May 23, 2024

Looks like a problem with network configuration.
Closing Issue.

from node-red-contrib-homekit-bridged.

bolfox avatar bolfox commented on May 23, 2024

What kind of network problem?
Dns, wifi name?

How it works hk to find the controller?

from node-red-contrib-homekit-bridged.

Shaquu avatar Shaquu commented on May 23, 2024

If your router or other device blocks port then you will not connect.
I assume HomeKit look for device in network then connects to it on TCP socket.

from node-red-contrib-homekit-bridged.

bolfox avatar bolfox commented on May 23, 2024

But it works, sometimes it keep updating, i need to kilt home in iPhone and reopen or on/off the wifi...

I have tried with different iPhone and router...

What are the port/service to check?

from node-red-contrib-homekit-bridged.

Shaquu avatar Shaquu commented on May 23, 2024

Actual port is set in Bridge configuration.
Can you share your flow with me? Maybe there is a problem in a flow?

from node-red-contrib-homekit-bridged.

bolfox avatar bolfox commented on May 23, 2024

[{"id":"1b6a51d8.5a25ce","type":"tab","label":"Homekit","disabled":false,"info":""},{"id":"3dddf70d.af5fd8","type":"homekit-service","z":"1b6a51d8.5a25ce","bridge":"6f469d83.3b0374","name":"Bianche","serviceName":"Lightbulb","manufacturer":"By-me","model":"Knx","serialNo":"1/6/1","characteristicProperties":"{}","x":580,"y":200,"wires":[["8e336313.06052"]]},{"id":"877058e0.6ec108","type":"function","z":"1b6a51d8.5a25ce","name":"Bianche","func":"msg.payload={"dstgad":"1/6/1","value":msg.hap.newValue.toString(),"dtp":"1"};\nreturn msg;","outputs":1,"noerr":0,"x":940,"y":200,"wires":[["9df62f27.20e68"]]},{"id":"9df62f27.20e68","type":"link out","z":"1b6a51d8.5a25ce","name":"Homekit_OUT","links":["2101b0f4.7de67"],"x":1175,"y":400,"wires":[]},{"id":"a9b99f9.dd7c46","type":"link in","z":"1b6a51d8.5a25ce","name":"Homekit_IN","links":["754636d.fe1e9c8","8684f3fe.86b53","df414b6d.6ff3b8","bc537a3f.84f1d8","ab026286.3ddda"],"x":75,"y":60,"wires":[["82383248.03014","23613f54.c28ea","297cd295.abedfe","f5348a1d.efa988","827c7441.8000c8","d216272.be594d8","908ceadf.494718","511f9921.c7d588","7a26b5fb.f692ec","d6d7c78.2e9df38","f9124289.b29e9","169dc919.c31fd7","3da008e1.6543d8","c4120b1c.22dc68","cebdd537.ff0e48"]]},{"id":"2eea697a.3df2e6","type":"homekit-service","z":"1b6a51d8.5a25ce","bridge":"6f469d83.3b0374","name":"Rosse","serviceName":"Lightbulb","manufacturer":"By-me","model":"Knx","serialNo":"1/6/9","characteristicProperties":"{}","x":570,"y":240,"wires":[["9b23f95f.329258"]]},{"id":"64efdc77.3ecfc4","type":"function","z":"1b6a51d8.5a25ce","name":"Rosse","func":"msg.payload={"dstgad":"1/6/9","value":msg.hap.newValue.toString(),"dtp":"1"};\nreturn msg;","outputs":1,"noerr":0,"x":930,"y":240,"wires":[["9df62f27.20e68"]]},{"id":"1c0b7e15.bb5e12","type":"inject","z":"1b6a51d8.5a25ce","name":"On = 1","topic":"","payload":"{"On":1}","payloadType":"json","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":50,"y":160,"wires":[["3dddf70d.af5fd8"]]},{"id":"839b8eeb.98eb4","type":"inject","z":"1b6a51d8.5a25ce","name":"Off = 0","topic":"","payload":"{"On": 0}","payloadType":"json","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":50,"y":200,"wires":[["3dddf70d.af5fd8"]]},{"id":"82383248.03014","type":"function","z":"1b6a51d8.5a25ce","name":"stato Bianche","func":"if (msg.payload.dstgad == "1/6/1")\n{\n if (msg.payload.value == "1")\n {\n return {payload : {"On" : 1}};\n } else\n {\n return {payload : {"On" : 0}};\n }\n}","outputs":1,"noerr":0,"x":240,"y":200,"wires":[["3dddf70d.af5fd8"]]},{"id":"23613f54.c28ea","type":"function","z":"1b6a51d8.5a25ce","name":"stato Rosse","func":"if (msg.payload.dstgad == "1/6/9")\n{\n if (msg.payload.value == "1")\n {\n return {payload : {"On" : 1}};\n } else\n {\n return {payload : {"On" : 0}};\n }\n}","outputs":1,"noerr":0,"x":230,"y":240,"wires":[["2eea697a.3df2e6"]]},{"id":"297cd295.abedfe","type":"function","z":"1b6a51d8.5a25ce","name":"stato Bagno","func":"if (msg.payload.dstgad == "1/6/25")\n{\n if (msg.payload.value == "1")\n {\n return {payload : {"On" : 1}};\n } else\n {\n return {payload : {"On" : 0}};\n }\n}","outputs":1,"noerr":0,"x":230,"y":280,"wires":[["98388eb8.1b516"]]},{"id":"98388eb8.1b516","type":"homekit-service","z":"1b6a51d8.5a25ce","bridge":"6f469d83.3b0374","name":"Bagno","serviceName":"Lightbulb","manufacturer":"By-me","model":"Knx","serialNo":"1/6/25","characteristicProperties":"{}","x":570,"y":280,"wires":[["97963393.0b84"]]},{"id":"973f8790.2c1f88","type":"function","z":"1b6a51d8.5a25ce","name":"Bagno","func":"msg.payload={"dstgad":"1/6/25","value":msg.hap.newValue.toString(),"dtp":"1"};\nreturn msg;","outputs":1,"noerr":0,"x":930,"y":280,"wires":[["9df62f27.20e68"]]},{"id":"f5348a1d.efa988","type":"function","z":"1b6a51d8.5a25ce","name":"stato Lavandino","func":"if (msg.payload.dstgad == "1/5/241")\n{\n if (msg.payload.value == "1")\n {\n return {payload : {"On" : 1}};\n } else\n {\n return {payload : {"On" : 0}};\n }\n}","outputs":1,"noerr":0,"x":240,"y":320,"wires":[["cb12df5f.a0977"]]},{"id":"cb12df5f.a0977","type":"homekit-service","z":"1b6a51d8.5a25ce","bridge":"6f469d83.3b0374","name":"Lavandino","serviceName":"Lightbulb","manufacturer":"By-me","model":"Knx","serialNo":"1/5/241","characteristicProperties":"{}","x":590,"y":320,"wires":[["6fb5e573.e0704c"]]},{"id":"ad4e2730.fe46b8","type":"function","z":"1b6a51d8.5a25ce","name":"Lavandino","func":"msg.payload={"dstgad":"1/5/241","value":msg.hap.newValue.toString(),"dtp":"1"};\nreturn msg;","outputs":1,"noerr":0,"x":950,"y":320,"wires":[["9df62f27.20e68"]]},{"id":"827c7441.8000c8","type":"function","z":"1b6a51d8.5a25ce","name":"stato Cappa","func":"if (msg.payload.dstgad == "1/5/233")\n{\n if (msg.payload.value == "1")\n {\n return {payload : {"On" : 1}};\n } else\n {\n return {payload : {"On" : 0}};\n }\n}","outputs":1,"noerr":0,"x":230,"y":360,"wires":[["a3aafc9d.c3a31"]]},{"id":"a3aafc9d.c3a31","type":"homekit-service","z":"1b6a51d8.5a25ce","bridge":"6f469d83.3b0374","name":"Cappa","serviceName":"Lightbulb","manufacturer":"By-me","model":"Knx","serialNo":"1/5/233","characteristicProperties":"{}","x":570,"y":360,"wires":[["ae0e9e19.3db95"]]},{"id":"cf5e375e.b751e8","type":"function","z":"1b6a51d8.5a25ce","name":"Cappa","func":"msg.payload={"dstgad":"1/5/233","value":msg.hap.newValue.toString(),"dtp":"1"};\nreturn msg;","outputs":1,"noerr":0,"x":930,"y":360,"wires":[["9df62f27.20e68"]]},{"id":"d216272.be594d8","type":"function","z":"1b6a51d8.5a25ce","name":"stato Angolo Elia","func":"if (msg.payload.dstgad == "1/5/249")\n{\n if (msg.payload.value == "1")\n {\n return {payload : {"On" : 1}};\n } else\n {\n return {payload : {"On" : 0}};\n }\n}","outputs":1,"noerr":0,"x":250,"y":400,"wires":[["1aa6be4a.d9d322"]]},{"id":"1aa6be4a.d9d322","type":"homekit-service","z":"1b6a51d8.5a25ce","bridge":"6f469d83.3b0374","name":"Angolo Elia","serviceName":"Lightbulb","manufacturer":"By-me","model":"Knx","serialNo":"1/5/249","characteristicProperties":"{}","x":590,"y":400,"wires":[["c3ba4b48.e80058"]]},{"id":"1ad747ea.7b25a8","type":"function","z":"1b6a51d8.5a25ce","name":"Angolo Elia","func":"msg.payload={"dstgad":"1/5/249","value":msg.hap.newValue.toString(),"dtp":"1"};\nreturn msg;","outputs":1,"noerr":0,"x":950,"y":400,"wires":[["9df62f27.20e68"]]},{"id":"908ceadf.494718","type":"function","z":"1b6a51d8.5a25ce","name":"stato Banco","func":"if (msg.payload.dstgad == "1/5/225")\n{\n if (msg.payload.value == "1")\n {\n return {payload : {"On" : 1}};\n } else\n {\n return {payload : {"On" : 0}};\n }\n}","outputs":1,"noerr":0,"x":230,"y":440,"wires":[["3dc4ee72.4fb482"]]},{"id":"3dc4ee72.4fb482","type":"homekit-service","z":"1b6a51d8.5a25ce","bridge":"6f469d83.3b0374","name":"Banco","serviceName":"Lightbulb","manufacturer":"By-me","model":"Knx","serialNo":"1/5/225","characteristicProperties":"{}","x":570,"y":440,"wires":[["a5b183af.a6986"]]},{"id":"f75257aa.613358","type":"function","z":"1b6a51d8.5a25ce","name":"Banco","func":"msg.payload={"dstgad":"1/5/225","value":msg.hap.newValue.toString(),"dtp":"1"};\nreturn msg;","outputs":1,"noerr":0,"x":930,"y":440,"wires":[["9df62f27.20e68"]]},{"id":"511f9921.c7d588","type":"function","z":"1b6a51d8.5a25ce","name":"stato Tavolo","func":"if (msg.payload.dstgad == "1/5/185")\n{\n if (msg.payload.value == "1")\n {\n return {payload : {"On" : 1}};\n } else\n {\n return {payload : {"On" : 0}};\n }\n}","outputs":1,"noerr":0,"x":230,"y":480,"wires":[["f5d34103.fa4e4"]]},{"id":"f5d34103.fa4e4","type":"homekit-service","z":"1b6a51d8.5a25ce","bridge":"6f469d83.3b0374","name":"Tavolo","serviceName":"Lightbulb","manufacturer":"By-me","model":"Knx","serialNo":"1/5/185","characteristicProperties":"{}","x":570,"y":480,"wires":[["7a518f87.85365"]]},{"id":"9ab35a27.d45af8","type":"function","z":"1b6a51d8.5a25ce","name":"Tavolo","func":"msg.payload={"dstgad":"1/5/185","value":msg.hap.newValue.toString(),"dtp":"1"};\nreturn msg;","outputs":1,"noerr":0,"x":930,"y":480,"wires":[["9df62f27.20e68"]]},{"id":"7a26b5fb.f692ec","type":"function","z":"1b6a51d8.5a25ce","name":"stato Righe","func":"if (msg.payload.dstgad == "1/5/193")\n{\n if (msg.payload.value == "1")\n {\n return {payload : {"On" : 1}};\n } else\n {\n return {payload : {"On" : 0}};\n }\n}","outputs":1,"noerr":0,"x":230,"y":520,"wires":[["594f7cee.1fab54"]]},{"id":"594f7cee.1fab54","type":"homekit-service","z":"1b6a51d8.5a25ce","bridge":"6f469d83.3b0374","name":"Righe","serviceName":"Lightbulb","manufacturer":"By-me","model":"Knx","serialNo":"1/5/193","characteristicProperties":"{}","x":570,"y":520,"wires":[["7bb32f4e.bb585"]]},{"id":"f9b0742e.7d0118","type":"function","z":"1b6a51d8.5a25ce","name":"Righe","func":"msg.payload={"dstgad":"1/5/193","value":msg.hap.newValue.toString(),"dtp":"1"};\nreturn msg;","outputs":1,"noerr":0,"x":930,"y":520,"wires":[["9df62f27.20e68"]]},{"id":"565c305c.bcd63","type":"homekit-service","z":"1b6a51d8.5a25ce","bridge":"6f469d83.3b0374","name":"Libreria","serviceName":"Lightbulb","manufacturer":"By-me","model":"Knx","serialNo":"1/5/201","characteristicProperties":"{}","x":580,"y":560,"wires":[["48253c5.87e44c4"]]},{"id":"d009f6cf.c65ba8","type":"function","z":"1b6a51d8.5a25ce","name":"Libreria","func":"msg.payload={"dstgad":"1/5/201","value":msg.hap.newValue.toString(),"dtp":"1"};\nreturn msg;","outputs":1,"noerr":0,"x":940,"y":560,"wires":[["9df62f27.20e68"]]},{"id":"d6d7c78.2e9df38","type":"function","z":"1b6a51d8.5a25ce","name":"stato Libreria","func":"if (msg.payload.dstgad == "1/5/201")\n{\n if (msg.payload.value == "1")\n {\n return {payload : {"On" : 1}};\n } else\n {\n return {payload : {"On" : 0}};\n }\n}","outputs":1,"noerr":0,"x":230,"y":560,"wires":[["565c305c.bcd63"]]},{"id":"f9124289.b29e9","type":"function","z":"1b6a51d8.5a25ce","name":"T cucina","func":"if (msg.payload.dstgad == "1/4/53")\n{\n msg.payload = msg.payload.value\n return msg\n}","outputs":1,"noerr":0,"x":220,"y":40,"wires":[["eadd55ff.a0dd88"]]},{"id":"eadd55ff.a0dd88","type":"function","z":"1b6a51d8.5a25ce","name":"msg","func":"msg.payload = {\n CurrentTemperature: parseFloat(msg.payload)\n};\nreturn msg;","outputs":1,"noerr":0,"x":350,"y":40,"wires":[["f7c9f0.7ec4c61"]]},{"id":"f7c9f0.7ec4c61","type":"homekit-service","z":"1b6a51d8.5a25ce","bridge":"6f469d83.3b0374","name":"Cucina","serviceName":"TemperatureSensor","manufacturer":"By-me","model":"Knx","serialNo":"1/4/53","characteristicProperties":"{}","x":500,"y":40,"wires":[[]]},{"id":"c1ca92a5.6d33e","type":"function","z":"1b6a51d8.5a25ce","name":"Garage","func":"msg.payload={"dstgad":"1/6/177","value":msg.hap.newValue.toString(),"dtp":"1"};\nreturn msg;","outputs":1,"noerr":0,"x":940,"y":600,"wires":[["9df62f27.20e68"]]},{"id":"4952c7fd.cc85e8","type":"homekit-service","z":"1b6a51d8.5a25ce","bridge":"6f469d83.3b0374","name":"Garage","serviceName":"Lightbulb","manufacturer":"By-me","model":"Knx","serialNo":"1/6/177","characteristicProperties":"{}","x":580,"y":600,"wires":[["df55c051.93474"]]},{"id":"169dc919.c31fd7","type":"function","z":"1b6a51d8.5a25ce","name":"stato Garage","func":"if (msg.payload.dstgad == "1/6/177")\n{\n if (msg.payload.value == "1")\n {\n return {payload : {"On" : 1}};\n } else\n {\n return {payload : {"On" : 0}};\n }\n}","outputs":1,"noerr":0,"x":230,"y":600,"wires":[["4952c7fd.cc85e8"]]},{"id":"3da008e1.6543d8","type":"function","z":"1b6a51d8.5a25ce","name":"stato Cancello","func":"if (msg.payload.dstgad == "15/0/2")\n{\n if (msg.payload.value == "1")\n {\n return {payload : {"ContactSensorState" : 1} \n };\n } else\n {\n return {payload : {"ContactSensorState" : 0}\n };\n }\n}","outputs":1,"noerr":0,"x":240,"y":740,"wires":[["f46c3688.8b9d88"]]},{"id":"6f517310.06e91c","type":"inject","z":"1b6a51d8.5a25ce","name":"","topic":"","payload":"{"foo":"bar"}","payloadType":"json","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":730,"y":40,"wires":[[]]},{"id":"f46c3688.8b9d88","type":"homekit-service","z":"1b6a51d8.5a25ce","bridge":"6f469d83.3b0374","name":"Cancello","serviceName":"ContactSensor","manufacturer":"By-me","model":"Knx","serialNo":"15/0/2","characteristicProperties":"{}","x":460,"y":740,"wires":[[]]},{"id":"df55c051.93474","type":"switch","z":"1b6a51d8.5a25ce","name":"HomeApp","property":"hap.context","propertyType":"msg","rules":[{"t":"nnull"}],"checkall":"true","repair":false,"outputs":1,"x":780,"y":600,"wires":[["c1ca92a5.6d33e"]]},{"id":"7a518f87.85365","type":"switch","z":"1b6a51d8.5a25ce","name":"HomeApp","property":"hap.context","propertyType":"msg","rules":[{"t":"nnull"}],"checkall":"true","repair":false,"outputs":1,"x":780,"y":480,"wires":[["9ab35a27.d45af8"]]},{"id":"7bb32f4e.bb585","type":"switch","z":"1b6a51d8.5a25ce","name":"HomeApp","property":"hap.context","propertyType":"msg","rules":[{"t":"nnull"}],"checkall":"true","repair":false,"outputs":1,"x":780,"y":520,"wires":[["f9b0742e.7d0118"]]},{"id":"48253c5.87e44c4","type":"switch","z":"1b6a51d8.5a25ce","name":"HomeApp","property":"hap.context","propertyType":"msg","rules":[{"t":"nnull"}],"checkall":"true","repair":false,"outputs":1,"x":780,"y":560,"wires":[["d009f6cf.c65ba8"]]},{"id":"a5b183af.a6986","type":"switch","z":"1b6a51d8.5a25ce","name":"HomeApp","property":"hap.context","propertyType":"msg","rules":[{"t":"nnull"}],"checkall":"true","repair":false,"outputs":1,"x":780,"y":440,"wires":[["f75257aa.613358"]]},{"id":"c3ba4b48.e80058","type":"switch","z":"1b6a51d8.5a25ce","name":"HomeApp","property":"hap.context","propertyType":"msg","rules":[{"t":"nnull"}],"checkall":"true","repair":false,"outputs":1,"x":780,"y":400,"wires":[["1ad747ea.7b25a8"]]},{"id":"ae0e9e19.3db95","type":"switch","z":"1b6a51d8.5a25ce","name":"HomeApp","property":"hap.context","propertyType":"msg","rules":[{"t":"nnull"}],"checkall":"true","repair":false,"outputs":1,"x":780,"y":360,"wires":[["cf5e375e.b751e8"]]},{"id":"6fb5e573.e0704c","type":"switch","z":"1b6a51d8.5a25ce","name":"HomeApp","property":"hap.context","propertyType":"msg","rules":[{"t":"nnull"}],"checkall":"true","repair":false,"outputs":1,"x":780,"y":320,"wires":[["ad4e2730.fe46b8"]]},{"id":"97963393.0b84","type":"switch","z":"1b6a51d8.5a25ce","name":"HomeApp","property":"hap.context","propertyType":"msg","rules":[{"t":"nnull"}],"checkall":"true","repair":false,"outputs":1,"x":780,"y":280,"wires":[["973f8790.2c1f88"]]},{"id":"9b23f95f.329258","type":"switch","z":"1b6a51d8.5a25ce","name":"HomeApp","property":"hap.context","propertyType":"msg","rules":[{"t":"nnull"}],"checkall":"true","repair":false,"outputs":1,"x":780,"y":240,"wires":[["64efdc77.3ecfc4"]]},{"id":"8e336313.06052","type":"switch","z":"1b6a51d8.5a25ce","name":"HomeApp","property":"hap.context","propertyType":"msg","rules":[{"t":"nnull"}],"checkall":"true","repair":false,"outputs":1,"x":780,"y":200,"wires":[["877058e0.6ec108"]]},{"id":"f106d5f6.3e9108","type":"function","z":"1b6a51d8.5a25ce","name":"Studio","func":"msg.payload={"dstgad":"1/6/97","value":msg.hap.newValue.toString(),"dtp":"1"};\nreturn msg;","outputs":1,"noerr":0,"x":930,"y":640,"wires":[["9df62f27.20e68"]]},{"id":"2c1d9c69.48c714","type":"homekit-service","z":"1b6a51d8.5a25ce","bridge":"6f469d83.3b0374","name":"Studio","serviceName":"Lightbulb","manufacturer":"By-me","model":"Knx","serialNo":"1/6/97","characteristicProperties":"{}","x":570,"y":640,"wires":[["cb245357.3741d"]]},{"id":"c4120b1c.22dc68","type":"function","z":"1b6a51d8.5a25ce","name":"stato Studio","func":"if (msg.payload.dstgad == "1/6/97")\n{\n if (msg.payload.value == "1")\n {\n return {payload : {"On" : 1}};\n } else\n {\n return {payload : {"On" : 0}};\n }\n}","outputs":1,"noerr":0,"x":230,"y":640,"wires":[["2c1d9c69.48c714"]]},{"id":"cb245357.3741d","type":"switch","z":"1b6a51d8.5a25ce","name":"HomeApp","property":"hap.context","propertyType":"msg","rules":[{"t":"nnull"}],"checkall":"true","repair":false,"outputs":1,"x":780,"y":640,"wires":[["f106d5f6.3e9108"]]},{"id":"599f1879.a43af8","type":"homekit-service","z":"1b6a51d8.5a25ce","bridge":"6f469d83.3b0374","name":"Tenda Sala","serviceName":"WindowCovering","manufacturer":"By-me","model":"Knx","serialNo":"15/0/2","characteristicProperties":"{}","x":470,"y":820,"wires":[["abd2aa0a.3cd238","7f7cb8aa.05d898"]]},{"id":"3e4f3a6.6016ac6","type":"function","z":"1b6a51d8.5a25ce","name":"Tenda sala","func":"if (msg.payload.TargetPosition >= "1")\n{\n msg.payload={"dstgad":"15/0/2","value":"0","dtp":"1"};\n return msg\n}\nelse\n{\n msg.payload={"dstgad":"15/0/2","value":"1","dtp":"1"};\n return msg\n}","outputs":1,"noerr":0,"x":830,"y":820,"wires":[[]]},{"id":"abd2aa0a.3cd238","type":"change","z":"1b6a51d8.5a25ce","name":"","rules":[{"t":"set","p":"payload.CurrentPosition","pt":"msg","to":"payload.TargetPosition","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":540,"y":860,"wires":[["a46e35f3.85a1d8"]]},{"id":"a46e35f3.85a1d8","type":"delay","z":"1b6a51d8.5a25ce","name":"","pauseType":"delay","timeout":"1","timeoutUnits":"milliseconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":470,"y":900,"wires":[["599f1879.a43af8"]]},{"id":"893a94d6.cdf488","type":"function","z":"1b6a51d8.5a25ce","name":"stato Tenda sala","func":"if (msg.payload.dstgad == "15/0/2")\n{\n if (msg.payload.value == "1")\n {\n return {payload : {"CurrentPosition" : 100}};\n } else\n {\n return {payload : {"CurrentPosition" : 0}};\n }\n}","outputs":1,"noerr":0,"x":240,"y":820,"wires":[["599f1879.a43af8"]]},{"id":"7f7cb8aa.05d898","type":"switch","z":"1b6a51d8.5a25ce","name":"HomeApp","property":"hap.context","propertyType":"msg","rules":[{"t":"nnull"}],"checkall":"true","repair":false,"outputs":1,"x":660,"y":820,"wires":[["3e4f3a6.6016ac6"]]},{"id":"cf6ac0e5.2329a","type":"link in","z":"1b6a51d8.5a25ce","name":"Scene_IN","links":["13bd4cf3.0833c3"],"x":315,"y":160,"wires":[["3dddf70d.af5fd8","2eea697a.3df2e6","98388eb8.1b516","cb12df5f.a0977","a3aafc9d.c3a31","1aa6be4a.d9d322","3dc4ee72.4fb482","f5d34103.fa4e4","594f7cee.1fab54","565c305c.bcd63"]]},{"id":"26f8be35.799ae2","type":"homekit-service","z":"1b6a51d8.5a25ce","bridge":"6f469d83.3b0374","name":"Umidità","serviceName":"HumiditySensor","topic":"","manufacturer":"By-me","model":"Knx","serialNo":"1/4/46","characteristicProperties":"{}","x":500,"y":80,"wires":[[]]},{"id":"cebdd537.ff0e48","type":"function","z":"1b6a51d8.5a25ce","name":"H cucina","func":"if (msg.payload.dstgad == "1/4/46")\n{\n msg.payload = msg.payload.value\n return msg\n}","outputs":1,"noerr":0,"x":220,"y":80,"wires":[["3284607f.e5588"]]},{"id":"3284607f.e5588","type":"function","z":"1b6a51d8.5a25ce","name":"msg","func":"msg.payload = {\n CurrentRelativeHumidity: parseFloat(msg.payload)\n};\nreturn msg;","outputs":1,"noerr":0,"x":350,"y":80,"wires":[["26f8be35.799ae2"]]},{"id":"6f469d83.3b0374","type":"homekit-bridge","z":"","bridgeName":"NR-bridge","pinCode":"222-22-222","port":"","manufacturer":"NodeRED","model":"Rpi3","serialNo":"222-22-222"}]

from node-red-contrib-homekit-bridged.

Shaquu avatar Shaquu commented on May 23, 2024

First look. You port is always random.
Go to the bridge settings and type your port number yourself. Then reassure it’s open in the network.

When I’m back home I will check your whole flow.

from node-red-contrib-homekit-bridged.

bolfox avatar bolfox commented on May 23, 2024

Tnx i will try this evening, the port is used in local right? Suggestion on number to use?

from node-red-contrib-homekit-bridged.

Shaquu avatar Shaquu commented on May 23, 2024

Yes, it’s a port on device which host node-red.
Idk maybe this one will be good 34567

from node-red-contrib-homekit-bridged.

bolfox avatar bolfox commented on May 23, 2024

Seems to work better now...Tnx for the help...

from node-red-contrib-homekit-bridged.

Shaquu avatar Shaquu commented on May 23, 2024

Closing this Issue.
@bolfox if you come to this problem again then feel free to comment here or open a new one.

from node-red-contrib-homekit-bridged.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.