MrAsterisco / homebridge-hisense-tv

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

Can someone help me pair the tv with Homebridge #48

Closed xXMrEzXx closed 1 year ago

xXMrEzXx commented 1 year ago

Describe Your Problem: After moving the Node_Modules folder into hisense-tv-remotenow i cannot run the script. I've tried this in windows first, now im running a Hyper-V instance with Ubuntu and Docker. Could someone help me or remote support me?

Environment:

MrAsterisco commented 1 year ago

Hey @xXMrEzXx !

In order to help you, we're going to need more information 😊 What error exactly are you seeing? What commands are you giving?

xXMrEzXx commented 1 year ago

I get a syntax error

xXMrEzXx commented 1 year ago

could you maybe explain me how i have to pair the TV with homebridge when using the hyper-V version?

MrAsterisco commented 1 year ago

Hey @xXMrEzXx !

First thing I'd verify is that you're running the correct version of Python. Please, refer to the Requirements section for further details.

The procedure to pair your TV with the plugin is also described in the Readme. 😊

Your specific configuration shouldn't affect how this plugin works, but you should be aware that it's impossible for me to test every single possible combination of hardware, software, and virtual machine provider, so you'll have to adapt the instructions for your specific case. As you were able to install the machine in Hyper-V, I assume you know more than me on that system. 😉

xXMrEzXx commented 1 year ago

now i get this:

python3.8 hisensetv.py 192.168.1.140 --authorize --ifname eth0 python3.8: can't open file 'hisensetv.py': [Errno 2] No such file or directory

MrAsterisco commented 1 year ago

Well, the error is telling you that there is no file called hysensetv.py in the folder you're executing this command in. Verify that you are in the right folder.

xXMrEzXx commented 1 year ago

now im getting following error:

Traceback (most recent call last): File "hisensetv.py", line 3, in from hisensetv import main File "/var/lib/homebridge-hisense-tv-remotenow/bin/hisensetv/init.py", line 17, in import netifaces ModuleNotFoundError: No module named 'netifaces'

MrAsterisco commented 1 year ago

Hey @xXMrEzXx ! It looks like you haven't followed the instructions to install the required dependencies on your machine: please, review the Readme and make sure you follow all the steps described there. Specifically, you haven't installed netifaces.

I will close this issue for now, as this seems to be a configuration issue on your end. Feel free to reopen it, if you encounter an actual issue with the plugin. Thank you!