AntonioMeireles / homebridge-vieramatic

Homebridge plugin for Panasonic™ Viera™ TVs (includes support for 2018 and later models)
Apache License 2.0
43 stars 9 forks source link

IGNORING '192.168.0.2' as it is not reachable, and we can't relay on cached data as it seems that it was never ever seen and setup before. Please make sure that your TV is powered ON and connected to the network. #71

Closed matheushabitz closed 3 years ago

matheushabitz commented 3 years ago

IGNORING '192.168.0.2' as it is not reachable, and we can't relay on cached data as it seems that it was never ever seen and setup before.

Please make sure that your TV is powered ON and connected to the network.

Issue Context

Please add the following items, when applicable:

  1. the homebridge logs, up from starting until the bug popped up there.
  2. your homebridge's config.json contents.
 "tvs": [
                {
                    "friendlyName": "TV Sala",
                    "ipAddress": "192.168.0.100",
                    "disabledAppSupport": true,
                    "customVolumeSlider": true
                }
            ],
            "platform": "PanasonicVieraTV"
        }
    ]
}
  1. the contents of accessories/vieramatic.json (path is relative to homebridge's datadir)
  2. Details about your specific homebridge setup
    • hardware and arch
    • Operating System and its version - Windows 10 Pro 64bits
    • NodeJS version- v14.15.5
    • Homebridge version - v1.3.2
    • specific vieramatic version being used - v3.1.4
    • Viera TV(s) model(s) being used (and connectivity type being used - wired or wireless) - Panasonic Viera PCTV000144=B576894E80DE7B83EB37 - wired
  3. anything else you may find relevant Normally connects normally with the Panasonic TV Remote 3
AntonioMeireles commented 3 years ago

Hi,

so, some questions to try to sort this out:

thanks in advance!

Marfre888 commented 3 years ago

Hi @AntonioMeireles a recent update just broke this, as I have this same problem, but works correctly as of 3.1.0, will figure out which version did it

AntonioMeireles commented 3 years ago

@Marfre888 see if post 3.1.3 fixes it please ... (and see #70) as i think this is maybe a different issue.

Anyway more details please :-)

Marfre888 commented 3 years ago

No, I have this exact problem as above.. problem started as of 3.1.3

Edit: There is a further problem I've discovered. Last week I changed IP for this TV and this plugin refused to locate it at the new IP I assigned to it even though it is controllable with the Panasonic app. Upon downgrading firmware it found it instantly, so there might be a problem there as well

AntonioMeireles commented 3 years ago

@Marfre888

TV model/specs and vieramatic.json and homebridge config contents plz.

OTOH ...

Last week I changed IP for this TV and this plugin refused to locate it at the new IP (....)

This may or not be expected... if you change TV's IP you then need to also change TV's IP on homebridge's config.json and either resetup TV or edit manually vieramatic.json to update the IP address. If this doesn't fix it would need logs / more data ...

Marfre888 commented 3 years ago

@Marfre888

TV model/specs and vieramatic.json and homebridge config contents plz.

OTOH ...

Last week I changed IP for this TV and this plugin refused to locate it at the new IP (....)

This may or not be expected... if you change TV's IP you then need to also change TV's IP on homebridge's config.json and either resetup TV or edit manually vieramatic.json to update the IP address. If this doesn't fix it would need logs / more data ...

@AntonioMeireles

  1. Coming up

  2. Yes, I did all that and it still wouldn't find it, downgrading firmware fixed whatever bug it was, and now it continues to work after upgrading again

Marfre888 commented 3 years ago
{
  friendlyName: 'Upstairs Living Room Television',
  manufacturer: 'Panasonic',
  modelName: 'Panasonic VIErA',
  modelNumber: 'TX-47AS650E',
  requiresEncryption: false,
  serialNumber: 'xxxx'
}

{
            "tvs": [
                {
                    "friendlyName": "Upstairs Living Room Television",
                    "ipAddress": "192.168.1.xx",
                    "mac": "xx:xx:xx:xx:xx:xx

",
                    "hdmiInputs": [
                        {
                            "id": "1",
                            "name": "STB"
                        },
                        {
                            "id": "3",
                            "name": "Blu-ray Disc"
                        }
                    ],
                    "disabledAppSupport": false,
                    "customVolumeSlider": false
                }
            ],
            "platform": "PanasonicVieraTV",
            "_bridge": {
                "username": "xx:xx:xx:xx:xx:xx",
                "port": xxxxx
            }
        }```

[vieramatic.json.txt](https://github.com/AntonioMeireles/homebridge-vieramatic/files/6115265/vieramatic.json.txt)
AntonioMeireles commented 3 years ago

@Marfre888

just give a try to just published homebridge-vieramatic@3.1.6 and report back. should fix it (if i'm right)

Marfre888 commented 3 years ago

@Marfre888

just give a try to just published homebridge-vieramatic@3.1.6 and report back. should fix it (if i'm right)

You are correct :)

Thank you for that

Sidenote: Is it intended behavior that this plugin isn't exposed through the child bridge but as a separate accessory that bypasses the child bridge? ie; It will still appear in the 'add accessory' page before the child bridge is added to homekit

AntonioMeireles commented 3 years ago

You are correct :)

WooT! Thanks for confirming! @matheushabitz could you test it too and see if it solves your issue too please ?

Sidenote: Is it intended behavior that this plugin isn't exposed through the child bridge but as a separate accessory that bypasses the child bridge? ie; It will still appear in the 'add accessory' page before the child bridge is added to homekit

This is a platform plugin i.e. it can have/managed multiple attached accessories itself (several TVs). AFAIK this kind of plugins are not currently supported under child bridges, per here.

Thanks once again!

Marfre888 commented 3 years ago

This is a platform plugin i.e. it can have/managed multiple attached accessories itself (several TVs). AFAIK this kind of plugins are not currently supported under child bridges, per here.

Thanks once again!

Ahh right, stupid me.

It lets me add it as a child bridge, which is handy in case I want to restart this specific plugin, but that explains why I won't automatically add through the child bridge.

Thanks @AntonioMeireles

AntonioMeireles commented 3 years ago

@matheushabitz

any updates on this ? i.e. does currently shipping version fixed it ?

thanks in advance and have a great weekend!

matheushabitz commented 3 years ago

@matheushabitz

any updates on this ? i.e. does currently shipping version fixed it ?

thanks in advance and have a great weekend!

@AntonioMeireles

Good Morning!

Problem solved. It's working 100%!

Thank you so much!

AntonioMeireles commented 3 years ago

@matheushabitz

great to hear! thanks all!

will close.