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

hap nodejs #1

Open
kontur11 opened this issue Mar 19, 2019 · 6 comments
Open

hap nodejs #1

kontur11 opened this issue Mar 19, 2019 · 6 comments

Comments

@kontur11
Copy link

Антон, подскажите сдвоенный аксессуар показывает на иконке в Homekit показания 2-x датчиков?

@Tony-Pa
Copy link
Owner

Tony-Pa commented Mar 25, 2019

Homekit показывает их как 2 отдельных аксессуара

@kontur11
Copy link
Author

kontur11 commented Aug 2, 2019

Добрый день! Подскажите, а можно камеру запустить как отдельный аксессуар для hap-nodejs?

@Tony-Pa
Copy link
Owner

Tony-Pa commented Aug 2, 2019

Можно, посмотрите в сторону homebridge и https://github.com/KhaosT/homebridge-camera-ffmpeg

@kontur11
Copy link
Author

kontur11 commented Aug 2, 2019

Интересно запустить под hap-nodejs сервером. Под homebridge работает и так)

@kontur11
Copy link
Author

kontur11 commented Aug 2, 2019

Уже получилось ваш запустить, но при включении потока выдает ошибку
/home/dim/HAP-NodeJS/Camera.js:236
this.pendingSessions[uuid.unparse(sessionID)] = sessionInfo;
^

TypeError: Cannot read property 'unparse' of undefined
at Camera.prepareStream (/home/dim/HAP-NodeJS/Camera.js:236:29)

@kontur11
Copy link
Author

Добрый день! Вы не возьметесь платно мои аксессуары до ума довести. Вроде все работает но как-то на костылях все.

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

2 participants