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
Homebridge v1.3.0-beta.x Endless Loop #2774
Comments
I have just tried this on the latest |
Hey. First of all, huge thanks for the detailed issue description 👍 You have a pretty huge homebridge configuration, so might take us some time to track down which combination of plugins is having issues with the latest beta release. Just to be on the latest and greatest, would you mind running the latest beta again (maybe excluding the wiz plugin?) so the log messages reflect the latest state. In the mean time I'm booting up a test instance with some of you installed plugins and check if I may be able to produce the issue myself. |
No worries Andi :) always happy to try help find the issues in the beta tests! Yeah cmd4 and broadlink have made my config pretty large... I am just on night shift at the moment, but in some 8-9hrs I will be home and give this a go for you and place what it outputs here just to make sure it is all up-to-date with the latest version. Please let me know if there is anything else you need to me to do. |
As a comparison it would be a huge benefit if you could provide the log output running homebridge 1.2.5. Maybe we can see any change there indicating what went wrong. The huge amount of logging message make it hard to spot anything odd. |
@Supereg I did not get a chance to get these logs for you but it is on my to-do-list. I have just had a breaking issue with a plug-in that just updated and wanted to make sure that is sorted so I do not muddy the waters with the logs you have requested. Now that I have rolled back and recovered from that; I need to sleep. |
Here are the logs again for Click to expand
Here are the logs for Click to expand
I have removed all sensitive data again and replaced with |
Also I did not see |
I try to have a look at the logs in the the next few days.
Not seeing that error message isn't a "problem". The existence or non existence of such a log message already helps to isolate the issue, or rather cross out possibilities of issues. |
No rush Andi, I can imagine you are a busy person! Just let me know if you need anything further to help. |
I'm still investigating. But looking at the log differences, I still got the assumption that it might be related to cmd4 (in some or another way). As the plugin is quite complex it isn't really easy to catch the issue directly. Also I noted that in both cases the log message As a next step, would you maybe be able to again install 1.3.0, but this time enabling debug message of the underlying HomeKit library as depicted in the picture below. If you got the time, again doing the same to 1.2.5 in order to compare them. Referenced log output (Click to expand)[12/01/2021, 15:36:33] [Cmd4] getValue TemperatureDisplayUnits function for:My_Thermostat returned:0 |
The reason behind not running the latest cmd4 v1.2.5 Logs (click to expand)
v1.3.0-beta.46 Logs (click to expand)
I have not removed homerbidge-wiz-lan this time (I have to put all my automations back together everytime I take it out haha), but please let me know if you need logs with me removing this plug-in again. Hopefully the developer will merge that PR soon. |
Andi I also had a look over your PR for homebridge-wiz-lan and saw it was easy enough to apply to my local install; so I did just that and there seems to be no issues on Click to expand
|
Hey @Supereg is there anything else I can try and chase up for you to help out? |
Sorry for the long response time. |
All good Andi :) sadly the latest beta is still the same for me... |
Noted. Don't really have time over the next week to dig deeper into the issue. Just wanted to keep you updated. |
That is a bit of a bugger, but completely understand! Thanks for all your efforts so far and please let me know if there is anything you need me to do when you do get time to look at this again in the future. I will stay on |
@Supereg I have finally had some time to try some step by step installation to isolate which plug-in/plug-ins break homebridge In the end I have narrowed it down to two plug-ins; Is there anything in my logs that lends to an issue I can report to the developers of these plug-ins? |
This is some great news that you have nailed it down to specific plugins 👍 This will definitely allow be to investigate this quicker. I'll check the plugin sources and see if that gives any hints I can work with, what is here at fault 👍 |
Hey Andi one of the developers was able to find a problem in There still seems to be an issue with |
@mitch7391 did you figure out which plugin was causing the restart loop? I'm having trouble following the above conversation. |
Sorry if I was not clear @oznu, |
Both issues are fixed in the 1.3.1 beta? |
Sadly it is not fixed for When I tested it by installing the plug-in again on |
Without an inverter I can't really see anything wrong with homebridge-sma-inverter that might cause the entire bridge to not respond. You should probably create an issue on that plugin's project page directly. |
That is fair, I was hoping maybe something was obvious in the the logs I posted; that way I can point the developer for that plug-in in the right direction. I know you have bigger things to worry about so don’t stress :) this should be good to close out now I would say. |
Yeah I can't see anything in those logs that should not have been fixed by the 1.3.1 beta. |
No worries :) thanks Oznu |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Describe The Bug:
Homebridge
v1.3.0-beta.42
appears to be caught in an endless loop and does not create accessories in the web UI and therefore leaves everything on ‘no response’ in HomeKit.I am on a Raspberry Pi 4 using the official image connected via ethernet, my hub is an Apple TV 4K also connected via ethernet. I have tried using both the mdns setting and without. I have rebooted Homebrigde many times, I have rebooted my Apple TV and my router. Reverting back to
v1.2.5
works for me with no issues.It was mentioned by @Supereg that homebridge-wiz-lan might be causing the loop; however uninstalling the plug-in and removing the config made no difference. Mentioned in ‘Testers Wanted’ and this issue.
To Reproduce:
Update to latest beta version. I started with
v1.3.0-beta.40
which presented the issue;beta.41
andbeta.42
still have the issue. Reverting back tov1.2.5
fixes the issue for me.Expected behavior:
For homebridge to run with no issues ;) expected some minor issues as it is beta testing.
Logs from initial issue.
Secondary Logs after removing homebridge-wiz-lan plug-in and config.
Homebridge Config:
Click to expand
Screenshots:
N/A
Environment:
The text was updated successfully, but these errors were encountered: