lwitzani / homebridgeStatusWidget

MIT License
371 stars 143 forks source link

Not working anymore #43

Closed many7695 closed 1 year ago

many7695 commented 2 years ago

I’m not sure what has happened but I haven’t gotten it to work again for the last month

lwitzani commented 2 years ago

I guess you need to give me more information here or i can‘t help you. I got no problem using it. I did not yet test it with the newest homebridge version. What did you change in your setup?

many7695 commented 2 years ago

I guess you need to give me more information here or i can‘t help you. I got no problem using it. I did not yet test it with the newest homebridge version. What did you change in your setup?

I haven’t changed anything from my setup, it was working great before the last month, the widget says error the request has timed out

lwitzani commented 2 years ago

Try setting const overwritePersistedConfig = false; to true (instead of false) at around line 9.

and at around line 27 you can increase the timeout with this line requestTimeoutInterval = 2; it is 2 seconds currently in my local script. Try 4.

if this somehow fixes it for you then eventually set overwritePersistedConfig to false again at the end

Of course you need to be in the same network where your homebridge is, i hope this is clear

many7695 commented 2 years ago

Thanks that worked