-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
can't get plugin installed #1
Comments
Sorry, the README is missing something here...
|
No that was actually already in the readme. |
Okay can you please try
|
exact same result |
Sorry for the inconvenience... I'll try to find out what I did differently on my RPi |
Could it have something to do with the install file of the plugin pointing to version 2.1.7 instead of 2.1.1
|
Thanks for the hint, I tried an dev-version with 2.1.1 as dependency but that didn't help. What I found out is that
doesn't work. But doing
does work!?! |
I'm updating the README accordingly until I've found a better way or migrated to puppeteer |
The github work around works! |
@werthdavid First of all thanks for your work and sharing. I tried the above workaround, but unfortunately that didn't work for me.
Log enclosed. Hope this helps to investigate. Could it be that in my case the folder for the modules is not Running Homebridge (system.d) @0.4.44 | n@2.1.12 | node@10.1.0 | npm@6.1.0 Thanks again for the time you are investing. |
By the way with the usually common command
|
I have the same issue as other mentioned above. Could the issue be, that your your package-lock.json always refers to phantomjs@2.1.7 and not phantomjs@2.1.1. Even if I try to change the information in your file I get the same error code:
npm ERR! A complete log of this run can be found in: |
@DJay-X @misanthrophy |
I updated to plugin to use Puppeteer/Chrome instead of Phantomjs. Please try with v1.1.0, take a look at the README first! |
Thanks for the update. Will install it later today to verify if it is working now. While I checked the config.json, is it possible to add more websites as cameras with different websites? For example: "platforms": [ And so on...? |
Definitely! |
Okay, the plugin works now for installation, but I do not see a picture... What I am trying to do is: I have an old iPhone 3GS on which I open a camera app which creates a livestream over a local IP Adress: 10.0.4.XX. I then thought it could be a problem with the address itself, so I just used https://apple.com/de/ to verify that I can even get a picture. But still the same issue. Even after removing the camera from HomeKit adding it again, still the same issue. How could I troubleshoot further to see whats the problem here? Thanks in advance for your help :) |
Ps: I never had a HK enabled camera added to my home, so I don‘t know if thats normal, but when I add this plugin to HomeKit it shows me two devives:
I have to add both of them and when I delete the bridge from HK, the cam itself remains. Is that normal? |
So you see a camera but the camera itself shows a white screen?
|
I made a new version that should log more to the log-file |
hi, no the camera window is black with a camera symbol crossed out. Both on the overview section and when I tap on it. I also updated the config.json according to your read.me file. When I start the chromium browser I got that message: `[21550:21550:0704/121219.617505:ERROR:browser_main_loop.cc(670)] Failed to put Xlib into threaded mode. (chromium-browser:21550): Gtk-WARNING **: cannot open display:` It looks very similar to your message. I ping'd google.com with that output:
Livelog tells me:
|
Okay so you're running homebridge as root... In general I'd recommend to not do that but of course it should work anyway. I published a new version, can you please try with that? |
Now it is working with a general website, will test it later with the internal IP adress of my iPhone Livestream Thanks in advance! |
on debian stretch:
[code]Unexpected platform or architecture: linux/arm
It seems there is no binary available for your platform/architecture
Try to install PhantomJS globally
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! phantomjs@2.1.7 install:
node install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the phantomjs@2.1.7 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-07-02T08_39_43_685Z-debug.log
[/code]
I've tried several ways of installing PhantomJS, but it keeps on returning the same error.
Any ideas here?
The text was updated successfully, but these errors were encountered: