tavicu / homebridge-samsung-tizen

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

Only of two TV's can be added? #480

Closed hanses89 closed 2 years ago

hanses89 commented 2 years ago

I have two TV's. I can only find one of them when trying to add accessory in HomeKit... The one missing has been there before, but got lost after i had to switch IP-adress on the tv... now im not able to find it again...

tavicu commented 2 years ago

Hi, even if you changed the IP the device has the same UUID because that is generated from the MAC address of TV. You somehow removed something from somewhere (yeah ...) and HomeKit still see the TV as paired.

Are you sure the TV is not already paired and visible in the home app? Because only changing the IP should not affect the sync and it should be the same device. You should not add the device again in the Home if you changed only the IP.

Other option is to change the uuid. https://github.com/tavicu/homebridge-samsung-tizen/wiki/Common-Issues#--cant-add-tv-after-removing-or-making-changes

{
    "name": "Bedroom TV",
    "ip": "10.20.30.40",
    "mac": "A0:B1:C2:D3:E4:F5",
    "uuid": "A1"
}
hanses89 commented 2 years ago

The thing is that i changed from wifi to ethernet, and then the mac changed to... i had to remove the accessory and the bridge from homekit too.. So now i cant seem to add it back again.. changing the uuis did not change this either:(

The weird thing is that the logs says this: 2/22/2022, 1:28:00 PMSamsung Tizen BridgeLoaded plugin 'homebridge-samsung-tizen' 2/22/2022, 1:28:00 PMSamsung Tizen BridgeLoading 1 platforms... 2/22/2022, 1:28:00 PMSamsung Tizen BridgeBridge is running on port 51846. 2/22/2022, 1:28:00 PMSamsung Tizen BridgeQE65Q90R 7D63 is running on port 44303. 2/22/2022, 1:28:00 PMSamsung Tizen BridgeQE82Q950R 70AB is running on port 42693.

tavicu commented 2 years ago

Try to force close the Home app and also make sure you are on the same network with the Phone as the Homebridge server.

Changing the MAC already generated a new UUID so the uuid attribute it's not needed.

hanses89 commented 2 years ago

I have already tried that:( I see.. the weird thing is that the second tv gets added even if i remove it from homekit and change uuid and then add it again.. but the first tv is just gone.. cant find it in homekit at all:(

tavicu commented 2 years ago

You could remove the persist and cached accessories from homebridge but that will means you will have to add everything again in your home app, which is not fun if you have a lot of accessories.

How do you run your homebridge service? docker? Are you using config-ui-x?

hanses89 commented 2 years ago

I dont think that will cause an issue for me, because i run hoobs on a raspberry pi.. Hoobs has one bridge for each plugin.. so it will just effect the plugin for Samsung Tizen....

hanses89 commented 2 years ago

So.... Remove accessories from homekit -> remove bridge from homekit -> remove cahce from the samsung tizen bridge -> add bridge and accessories back to homekit?

tavicu commented 2 years ago

I am not using Hoobs so the best will be to search on the google how to remove persist.

Removing the cache from Hoobs don't know if it will helps. I could see some Issues open on the Hoobs that even if you remove the plugin the persist still remains.

hanses89 commented 2 years ago

I wanted to get homebridge up and running on unraid... but i cant seem to get it working... wanted to get everything away from hoobs.. all though having 1 bridge for every plugin is quiet nice?!

tavicu commented 2 years ago

I recommend switching to homebridge when you have time. Running it in a docker will be even better. https://github.com/oznu/docker-homebridge

And with homebridge you can also run what plugins you want in a separate bridge :)

hanses89 commented 2 years ago

image

Clearing the cache for the bridge actually worked!! Thanks man!

hanses89 commented 2 years ago

i use docker on Unraid server.. but i cant get it to work:/

tavicu commented 2 years ago

Awesome! Glad it worked :)

Regarding the docker, i suggest looking at docker-compose. It's even easier :)

Install docker (and docker compose), create a folder and in that folder make a file docker-compose.yml. My content of file for example on a raspberry pi:

version: '2'
services:
  homebridge:
    image: oznu/homebridge:no-avahi-raspberry-pi
    restart: always
    network_mode: host
    volumes:
      - ./volumes:/homebridge
    environment:
      - PGID=1001
      - PUID=1001
      - HOMEBRIDGE_INSECURE=1
      - HOMEBRIDGE_CONFIG_UI=1
      - HOMEBRIDGE_CONFIG_UI_PORT=8080

Then run docker-compose up -d and everything it's up and running! :)

Play with it when you have some spare time! Nothing you need to be afraid off and nothing that you may brake :)

hanses89 commented 2 years ago

Do you know how to switch from hoobs to homebridge?

Mvh Hans Erik


Fra: Octavian Ruda @.> Sendt: Tuesday, February 22, 2022 4:00:51 PM Til: tavicu/homebridge-samsung-tizen @.> Kopi: Hans Erik Sæbø @.>; Author @.> Emne: Re: [tavicu/homebridge-samsung-tizen] Only of two TV's can be added? (Issue #480)

Closed #480https://github.com/tavicu/homebridge-samsung-tizen/issues/480.

— Reply to this email directly, view it on GitHubhttps://github.com/tavicu/homebridge-samsung-tizen/issues/480#event-6118727032, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AO3GH3AR2HUKTXOVNPGY6L3U4OQKHANCNFSM5PBGRSSA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.Message ID: @.***>