Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connections #2

Open
amitgandhinz opened this issue Apr 24, 2016 · 4 comments
Open

Connections #2

amitgandhinz opened this issue Apr 24, 2016 · 4 comments

Comments

@amitgandhinz
Copy link

Hi
Thanks for contributing this. I am looking forward to getting it going.

A few questions:

  1. Does this only control devices plugged into the single HDMI port of the Pi? You have settings for TV and AMP. Assuming only one of these devices can plug into the Rasp Pi, how do you control the other one? Or can you only control one HDMI device that is plugged into the Pi? I am probably missing something basic in my understanding of how this works.
  2. I manually installed libCEC for the Pi per their instructions (and they align with what you did in your ansible playbook), but when I run homebridge, it stalls on [TV] Initializing TV accessory. I get no further log lines after that. Any ideas?

Apr 24 15:26:42 raspberrypi homebridge[1691]: Loaded plugin: homebridge-hdmi
Apr 24 15:26:42 raspberrypi homebridge[1691]: Registering accessory 'homebridge-hdmi.TV'
Apr 24 15:26:42 raspberrypi homebridge[1691]: Registering accessory 'homebridge-hdmi.AMP'
Apr 24 15:26:42 raspberrypi homebridge[1691]: ---
...
...
Apr 24 15:26:50 raspberrypi homebridge[1691]: [TV] Initializing TV accessory...

@amitgandhinz
Copy link
Author

amitgandhinz commented Apr 24, 2016

Regarding #2 - when i "sudo npm uninstall -g homebridge-hdmi", my homebridge server continues to work. After I "sudo npm install -g homebridge-hdmi", my homebridge server stops working. ie. Freezes after initializing all the accessories. This happens regardless of if i have the new HDMI accessories added to the config.json for homebridge. After the initialization, I expect the next logged line to be the Scan this code ... [number], but it never gets there.

The issue appears to be introduced by having the homebridge-hdmi package installed. Did you come across this at all @x2c ?

@x2c
Copy link
Owner

x2c commented Apr 28, 2016

I don't get this issue with my installation, is the cec lib installed correctly?

Try running "cec-client -l" on your Pi

@amitgandhinz
Copy link
Author

amitgandhinz commented Apr 29, 2016

$ cec-client -l
libCEC version: 3.1.0, git revision: libcec-3.1.0+5-6d68d21, compiled on Fri 29 Apr 02:19:00 UTC 2016 by pi@raspberrypi on Linux 4.4.8-v7+ (armv7l), features: P8_USB, DRM, P8_detect, randr, RPi
Found devices: 1

device: 1
com port: RPI
vendor id: 2708
product id: 1001
firmware version: 1
type: Raspberry Pi

@sneg55
Copy link

sneg55 commented Jul 10, 2016

I got the same issue, after installing homebridge-hdmi main hombridge process stops working.

pi@raspberrypi:~ $ cec-client -l
libCEC version: 3.1.0, git revision: libcec-3.1.0+5-6d68d21, compiled on Sun Jul 10 01:02:46 UTC 2016 by pi@raspberrypi on Linux 4.4.13-v7+ (armv7l), features: P8_USB, DRM, P8_detect, randr
Found devices: NONE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@amitgandhinz @sneg55 @x2c and others