tavicu / homebridge-samsung-tizen

Homebridge plugin for Samsung TV's with Tizen OS
MIT License
638 stars 86 forks source link

TV Accessory Temporarily Goes Away on Router Restart or Power Outage #537

Closed jackklink closed 1 year ago

jackklink commented 2 years ago

Whenever I have a power outage and my router restarts, my television accessories remove themselves and then add themselves back upon restart. This causes any automations that use the television accessories to get deleted. I have to remake them every single time the power goes out or the router is restarted

Any advice? This doesn’t happen with any other homebridge accessories.

Thanks

tavicu commented 2 years ago

Hi.

Sounds like your problem comes from the router. But from what you described I don't know what to suggest and check other than make sure your IPs are set to static in DHCP. You could also set an interval for ports on homebridge to use for other bridges lile this:

{
    "bridge": {
        "name": "Main Bridge",
        "username": "*****",
        "port": 51500,
        "pin": "****",
        "advertiser": "bonjour-hap"
    },
    "ports": {
        "start": 51510,
        "end": 51550
    },
    ...
}

I never hear of something like this (to unpair then pair again). The plugin is using a function from Homebridge to declare the accessory.

scottleestrange commented 2 years ago

I would guess it has to do with IP as well

I have never seen the issue described

However

Critical devices that go through homebridge I set to static IP’s.

My router user DHCP, but all TV’s , Harmony Hubs, NVR, cameras, etc are set to static IP addresses

On Jun 24, 2022, at 4:00 AM, Octavian Ruda @.***> wrote:

Hi.

Sounds like your problem comes from the router. But from what you described I don't know what to suggest and check other than make sure your IPs are set to static in DHCP. You could also set an interval for ports on homebridge to use for other bridges lile this:

{ "bridge": { "name": "Main Bridge", "username": "*", "port": 51500, "pin": "", "advertiser": "bonjour-hap" }, "ports": { "start": 51510, "end": 51550 }, ... } I never hear of something like this (to unpair then pair again). The plugin is using a function from Homebridge to declare the accessory.

— Reply to this email directly, view it on GitHub https://github.com/tavicu/homebridge-samsung-tizen/issues/537#issuecomment-1165460907, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT2J4BTSJU26GG6TOFW4KADVQWIONANCNFSM5ZVF3FPQ. You are receiving this because you are subscribed to this thread.

tavicu commented 2 years ago

@scottleestrange do you also have this problem?

Does the homebridge server have static IP?

scottleestrange commented 2 years ago

I was commenting because I never have seen the problem

And yes, I have two home bridge servers and both have static IP's

On Jun 24, 2022, at 7:56 AM, Octavian Ruda @.***> wrote:

@scottleestrange https://github.com/scottleestrange do you also have this problem?

Does the homebridge server have static IP?

— Reply to this email directly, view it on GitHub https://github.com/tavicu/homebridge-samsung-tizen/issues/537#issuecomment-1165657581, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT2J4BT2LRBBVTZLZI7O5PTVQXEDVANCNFSM5ZVF3FPQ. You are receiving this because you were mentioned.

tavicu commented 1 year ago

Since @jackklink was not responding, I will close this issue.

jackklink commented 1 year ago

Hey sorry I disappeared on this! For some reason, GitHub stopped emailing me when there were updates to threads.

This issue did appear to go away without my really doing anything so I will let you know if it happens again and try to provide more details as well. Thanks to everyone for being so responsive.