-
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Address Collision #30
Comments
Exactly the same thing happens to me, in fact, my Homebridge instance on Ubuntu Core is sending it to take studs. @louis49, do you know if you put any conditionals to check that the device exists before registering it again? |
I check only if the device exist on json config :
I publish this device as an external device, then, it's not saved in homebridge memory : the device is newly created after reboot. Is this working better after cleaning all homebridge working directories ? |
The subject of "After cleaning the Homebridge working directories" I did not fully understand. I guess it will be due to the limitation of English not being a mother tongue on my part. Ignoring that detail, I understand that you meant after a server restart, in which case it takes time for the problem to appear, but it does. This especially happens with the power modes of commercial Android TV devices, which enter a deep sleep state and disappear from the Network, so this plugin will try to connect without success, destroying the object. When it detects it again, it rebuilds the object, sometimes causing the problem we described. By the way, there is a detail that has been going around my head these days, and it is the fact why don't you register the devices to the Homebridge memory from the private JSON information that you have, and not instead of waiting for the device is online? This would avoid having to re-register known devices after server startup, and even if it is not available, automation services such as Apple's own or Node-Red would not be violently unconfigured because they saw that the device was not registered in the Homebridge memory. In addition to the fact that it would be quite useful to you since you could control that object instance representing the device, even if you are within the network or not, apart from saving you the problem of address collision. In advance, I apologize that I couldn't read your comment before @louis49. We stay in touch through this issue to see how we can resolve this. ;D Greetings. |
Hi @Neirth Thank you for your precise and well-explained message ;D |
I have the exact same problem which is annoying cause it crashes the homebridge. I am thinking it is in some kind of deep sleep mode as I checked :8182 it says my TV is off. However I looked through all the settings but I can't find anything to disable deep sleep. And the TV somehow keeps switching online and offline which causes this issue. |
I solved this issue by adding checking on discovery: check if the uuid of the TV exists. |
I am receiving an address collision error in the Homebridge log. This is the only Homebridge instance I have and I don't use any other remote apps for the TV. I do have the Google Home app on my phone but the TV is not paired with the app and shows up only as a local device. I see the TV and the speaker listed as accessories in Homebridge and I manually added the TV in the Apple Home app.
The text was updated successfully, but these errors were encountered: