MrAsterisco / homebridge-hisense-tv

A Homebridge plugin to control RemoteNow-compatible HiSense TVs.
MIT License
21 stars 8 forks source link

Installation instructions #44

Closed ljhudson01 closed 3 months ago

ljhudson01 commented 1 year ago
installation instructions **Describe Your Problem:** I am not understanding how to install the dependencies, I am using the windows platform to install plugins but my homebridge on a pi **Logs:** ``` Show the Homebridge logs here, remove any sensitive information. ``` **Plugin Config:** ```json Show your Homebridge config.json here, remove any sensitive information. ``` **Screenshots:**

image image

Environment:

MrAsterisco commented 1 year ago

Hey @ljhudson01 !

I don't understand why you opened a new issue. 😊 But anyway, if you're running Homebridge on your Rasbperry Pi, you will need to install the dependencies on the Raspberry itself. This means connecting to the Raspberry either directly, with a mouse and keyboard, or via SSH.

I cannot help you further on this, because I do not own a Raspberry Pi, but the procedure should be straightforward.

ljhudson01 commented 1 year ago

Can you leave this issue open, so someone that understands can help? I have also been on the homebridge Reddit site and the same questions are asked there. It's not self explanatory. We have a homebridge plugin and we are having trouble understanding your Readme

MrAsterisco commented 1 year ago

I reopened the issue 😊 But, your problem is understanding how to interact with your setup, right? It is not specific of this plugin.

As I already said, you need to install the required dependencies on the machine that is executing Homebridge. You need to login into your Raspberry Pi where you installed Homebridge and install the dependencies, including Python.

Do you know how to log into your Raspberry Pi? If not, I recommend you start from there.

Once again, please let me be super clear: I'm happy to help, but you're having issues with your setup, not with this plugin. In any case, I will leave the issue open, if that helps you.

LeLunZ commented 4 months ago

@ljhudson01 From what I am getting of this issue: you have problems with installing the dependencies?

Regarding installation of the dependencies, open the terminal on your raspberry pi (over ssh or with a display) and run the install instructions: apt install python3-paho-mqtt python3-netifaces

Then just open your Homebridge website. Click on the 3 dots.

Screenshot 2024-05-17 at 15 04 59

click on terminal

Screenshot 2024-05-17 at 15 06 21

use cd node_modules/homebridge-hisense-tv-remotenow/bin

Screenshot 2024-05-17 at 15 08 10

run the authorization: python3.8 hisensetv.py <TV_IP_ADDRESS> --authorize --ifname <NETWORK_INTERFACE_NAME> (its possible you need to add certificates in that step)

That should be everything.

LeLunZ commented 4 months ago

But regarding the first screenshot: I get similar errors which I want to debug in the coming days

Screenshot 2024-05-17 at 15 17 04
MrAsterisco commented 4 months ago

@LeLunZ those errors are usually caused by the TV not responding when asked to list the available inputs. In my experience, they are always caused by not having paired the TV before or by an incompatible model.

LeLunZ commented 3 months ago

Closing as this got answered twice now.

If you still need help. Feel free to answer to this comment, and I can help you with your setup.