Closed mensa84 closed 2 years ago
@mensa84 Hello and thanks for reporting this! This error usually indicates that there is something wrong with the configuration of your TV. Are you able to perform actions on your TV and see the state via Home?
I see the correct state, but turning off or on does not work. I am on Debian Linux. Must i install netifaces for newest release? Cause apt install netifaces does not work.
RemoteNow App from Hisense works without problems.
The newest release needs netifaces
, yes: on Debian it should be available in the default repo:
apt install python3-netifaces
If you're unable to control the state of the TV, I can assume something is wrong in the configuration. Are you able to send command using the Python script directly?
You are right, thanks! The command line scripts also did not work anymore cause due to the update the ssl files were deleted from /usr/lib/node_modules/homebridge-hisense-tv-remotenow/
.
Is this normal behavior? Where do you suggest to store that ssl files to not get deleted by an update?
@mensa84 unfortunately, yes, but it's out of our hands. When npm
(the package manager that Homebridge uses to install plugins) finds a new version, the entire folder is deleted and replaced with the version that's on the repo.
You can put your certificates anywhere else, outside of the /usr/lib/node_modules
folder. The important thing is that wherever you move them, they are still readable from the Homebridge user.
I'll add this to the README file.
I have created following subfolder in the homebridge directory:
/var/lib/homebridge/hisense-ssl
Do you think this is a good idea and will survive all updates?
Is /var/lib/homebridge
the folder where also the config.json
file of Homebridge is? In that case, yes.
Yes, it is that folder.
Then it should be fine, because updates of Homebridge usually don't override the config.json
.
Hello,
my homebridge log is full with that error:
An error occurred while fetching inputs: TypeError: Cannot read properties of null (reading 'join')
How to fix that?