Comments (20)
Hi @AndreWillems ,
The codes in the old, short format should work without any issues, simply by entering them as they are (without dashes).
There are many older, official HomeKit devices with old code format, they are working also very well.
@crxporter did you experience anything similar lately?
from node-red-contrib-homekit-bridged.
This came up last week on discord, was tested.
Just type in the 8 digits. The -
character is not important. Don't worry about the new length codes, old ones will work.
Try again to pair by just using the 8 digits. Let us know if it doesn't work, provide screenshots please.
from node-red-contrib-homekit-bridged.
hi @TheNON75 , @crxporter ,
thanks for your quick responses.
I tried, but my accessory gets denied;
see screenshots; 1. I can see the Bridge (IOT2023), 2. I type in the 8-digit pin from this config node as defined in NodeRED and then got 3. refused. (sorry all in Dutch, but I'm sure you'll get it).
Other comments:
- After a few retries, I dont see the bridge anymore in HomeKit. if I make a new config node, I see it again.
- I do full deploys in NodeRED to be sure.
- I tried to restart NodeRED several times. doesnt help either.
from node-red-contrib-homekit-bridged.
Which iOS/tvOS are you using?
Is it the same nodered instance or a separate install?
from node-red-contrib-homekit-bridged.
tvOS = 16.5 (latest)
iphone = 16.6 (latest)
they are all on the same VLAN (always been)
I've never specified a port in the config node (see screenshot); not sure which port is chosen (auto config) ?
from node-red-contrib-homekit-bridged.
A couple of things:
1- change your PIN code and try again. Pick just some other random code
2- I would recommend against doing too many full deploys
this is definitely odd. I would be surprised if it's a pin thing, I would guess something else. @TheNON75 someone else, could you test at your house with a new bridge? I wont be home to test mine until Wednesday
from node-red-contrib-homekit-bridged.
Sure, within 8 hours (in the morning, after coffee and co)
Btw i would uncheck the "allow insecure connections"
Aaand tvOS 16.6 is the latest. Just installed.
from node-red-contrib-homekit-bridged.
I did create again another config node, with a new, unique name and managed to get it connected now and a few accessoiries linked to it as well.
its works, but seems to be unstable; after 5-10 min or so, all accessoiries are unavailabe (homekit: 'no response') and I cant see the bridge anymore either. now, it doesnt seem to update (/connect) anymore at all, strange. restarting NodeRED doesnt solve it either.
as a test, I added another new config node and that appears immediately in HomeKit when I search for new accessoiries.
i will try to test more later today...
for me to understand; I thought the AppleTV is only needed as a hub for external (outside my LAN) access and NRCHKB connects directy as a bridge to HomeKit ?
did update to 16.6, but no difference.
guess I'll have to go in debug mode for NRCHKB/HapNodeJS... ?
from node-red-contrib-homekit-bridged.
Apple is now using the home hub to do all communications and the iOS or other device asks the hub what's happening. The Apple TV is always used.
I'm glad it paired - that's progress. Next questions are about your network setup:
-any fancy firewalls?
-how are you running nodered (docker or on a pi or?)
-is everything on a single subnet?
from node-red-contrib-homekit-bridged.
hi @crxporter,
thanks for the clarification on the AppleTV role.... to answer your questions:
-
I'm running NodeRED (+Mosquitto, Zigbee2MQTT, Influx, Grafana) in Debian (10) on a Virtual Machine on my QNAP NAS
-
Network: yes, all is on the same subnet. it's a seperate VLAN for IoT.
-
Router: I checked and tried the LAN ports (tagged / untagged), but no difference. (remember, it initially connects, always)
-
Firewall; using Unify DreamMachine Pro, but no specific rules/blockers on the internal network. any specifics on firewall rules/ports or forwarding ? (again, it initially connects)
Status:
-HomeKit always connects to AppleTV, no problems at all
-the bridge I configured this morning is not there anymore and all accessoiries are offline ('no response').
-a newly configured brigde (config node in NodeRED) is still available (I see it when I search for new accessoiries), as I've made no connections yet; I'm sure it will dissapear once I try to connect to it.... I would hope this helps you/us pointing in the right direction ?
Thanks again,
Andre
from node-red-contrib-homekit-bridged.
yes, all is on the same subnet. it's a seperate VLAN for IoT.
Are the Apple TV and iOS devices on the same subnet as the debian machine?
@marcus-j-davies do you have any tips on running separate vlans for HomeKit devices?
Does the vm have host mode network or is it bridged from qnap? I'm running the same setup but on synology NAS.
Do you have MDNS enabled and "multicast enhancement" disabled on your dream machine? I had "no response" problems a lot when multicast enhancement was enabled on my dream machine...
from node-red-contrib-homekit-bridged.
Interesting that you are searching the problem in the network...
yes, MDNS is enabled (setting for a specific VLAN) and 'multicast enhancement' is disabled (setting for specific WIFI network in config part of Unify).
but the discovery of the (new) bridge still works, as long as I dont connect to it. once I make a connection, it will initially work (and very responsive/fast, when I click a light switch on/off) but then it stops and somehow looses the connection....
from node-red-contrib-homekit-bridged.
Connections are being made - so I can't imagine it's anything network related.
My only comment is to ensure that Multicast DNS is enabled on the networks that need to communicate with each other.
Example
- IoT
- Main
iOS devices can also send beacons used by HomeKit, hence to enable MDNS on their networks also.
from node-red-contrib-homekit-bridged.
hi @marcus-j-davies ,
agree, I dont think its a network issue either and I got all the network settings checked as @crxporter suggested.
I think I'll have to do some debugging in NodeRED on HKCNRB ?
from node-red-contrib-homekit-bridged.
It still feels like some kind of connection problem to me... The initial pair works - then it drops after some time and never recovers.
Let's see if @Shaquu has any comments?
In the meantime, you could try changing your bridge advertiser between Bonjour, Ciao, and Avahi?
Also you could humor me and put the VM on the same vlan as your apple devices... I really think that could help things.
from node-red-contrib-homekit-bridged.
thinking about this... i did see my Unifi DreamMachine did an update (to 3.1.15) recently; maybe the Homekit connection issues started after that (but not 100% sure). checking the release notes, I dont see anything specific/related to this but maybe you can check/confirm: https://www.reddit.com/r/unifi_versions/comments/1592fat/unifi_os_dream_machines_3115/
but if it would be anything with the Unifi OS version, I would assume more people would face HomeKit issues now...
I'm on holidays for the next 2 weeks.... will investigate further when I get back...
thanks again for all your help guys (!),
Andre
from node-red-contrib-homekit-bridged.
Is this issues still about PIN? :)
from node-red-contrib-homekit-bridged.
Ha no, its about connectivity between end device and nodered...
Back home on friday and will investigate/debug further...
Should we initiate a new/other issue ?
from node-red-contrib-homekit-bridged.
Should we initiate a new/other issue ?
We should continue here. I'll rename this issue.
from node-red-contrib-homekit-bridged.
hi all,
I did some further investigations on this and it seems to be solved, somehow.
I did create 2 new bridges (/config nodes) in NodeRED, one BONJOUR en one AVAHI. I can discover both in HomeKit, add accessoires and all function well, also after a few hours/days (last time it only worked for a few minutes).
I've not changed anything on my netwerk / MDNS settings since then.
I cannot reproduce the error/disconnect.
I'm happy with the fact that all works again, but have no answer to the issues I had last month.... I suggest to close the issue if nobody else came up with similar issues.
Thanks all for your support.
Andre
from node-red-contrib-homekit-bridged.
Related Issues (20)
- [Help needed]: bind EADDRINUSE <someIP>:5353 on macOS HOT 7
- [Bug]: High and increasing CPU usage over time HOT 20
- [Help needed]: Set a device as unreachable HOT 1
- [Bug]: Homekit PIN saved to flows.json HOT 6
- [Bug]: Output of TV service repeated every time nodered is deployed HOT 1
- UnhandledPromiseRejectionWarning: .../nrchkb does not exist HOT 2
- [Feature]: Pass through `meta` from `msg` HOT 2
- [Bug]: Service re-uses last received topic value HOT 2
- [Help needed]: Camera - no stream with rtmp:// and rtsp:// HOT 3
- [Bug]: Since v1.5 Siri tells me that my devices react slow HOT 1
- [Help needed]: Failed to install HOT 2
- [Bug]: Window Covering -> Multiple Ouput Payloads at the same Time with the same Value HOT 5
- Update failed to 1.5.0 HOT 7
- [Bug]: Cannot link sensors to AirPurifier. HOT 15
- [Help needed]: Can't install homekit-bridge HOT 2
- [Bug]: FFMPEG HOT 16
- Simple status update for devices HOT 4
- [Feature]: new buttons in the tv remote HOT 3
- [Help needed]: live camera streaming doesn't work on apple tv 4k 1gen HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-red-contrib-homekit-bridged.