Plugin ist installiert und die Config.json konfiguriert.
Wie startet ich homebridge auf der Raspi Console ? (Raspi Console ist einfach mein putty Fenster, in der ich via SSH auf der PI bin?)
Plugin ist installiert und die Config.json konfiguriert.
Wie startet ich homebridge auf der Raspi Console ? (Raspi Console ist einfach mein putty Fenster, in der ich via SSH auf der PI bin?)
Die Pi ist schon soweit eingerichtet und auch bereits erfolgreich im Einsatz.
Mir fehlt nur noch die Info, wie ich jetzt die PIN eingeben kann, für das Sony Plugin ![]()
habe mir jetzt tesweise mal einen RaspberryPi 3b+ zugelegt.
Sorry für die blöde Frage, allerdings habe ich damit ÜBERHAUPT keine Erfahrung.
Wie starte ich die Homebridge in der Konsole um den RemotePint eingeben zu können?
Was ich jetzt schon schaffe:
Eine Verbindung via SSH zur Pi herzustellen.
mmmmh.
ich glaube wir reden hier von unterschiedlichen Sachen
Habe das o.g. Docker Image (Post 1) installiert.
Dazu gibt es auch ein passendes User Interface, über welches ich auch Terminal Befehle eingeben kann, sudo scheint hier aber nicht bekannt zu sein:
habe jetzt testweise einen RaspberryPi 3b+ zugelegt. Damit klappt es tadellos.
[2018-5-10 21:54:14] [Wohnzimmer] Initializing SoundTouch accessory...
Started Searching...
/usr/local/lib/node_modules/homebridge-soundtouch/node_modules/mdns/lib/resolver_sequence_tasks.js:199
var e = new Error(syscall + ' ' + errorno);
^
Error: getaddrinfo -3008
at errnoException (/usr/local/lib/node_modules/homebridge-soundtouch/node_modules/mdns/lib/resolver_sequence_tasks.js:199:11)
at getaddrinfo_complete (/usr/local/lib/node_modules/homebridge-soundtouch/node_modules/mdns/lib/resolver_sequence_tasks.js:112:10)
at GetAddrInfoReqWrap.oncomplete (/usr/local/lib/node_modules/homebridge-soundtouch/node_modules/mdns/lib/resolver_sequence_tasks.js:120:9)
Startet leider nicht ![]()
/homebridge # npm install --unsafe-perm mdns
> [email protected] install /homebridge/node_modules/mdns
> node-gyp rebuild
make: Entering directory '/homebridge/node_modules/mdns/build'
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_sd.o
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_browse.o
../src/dns_service_browse.cpp: In function 'void node_mdns::OnServiceChanged(DNSServiceRef, DNSServiceFlags, uint32_t, DNSServiceErrorType, const char*, const char*, const char*, void*)':
../src/dns_service_browse.cpp:39:50: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations]
Nan::MakeCallback(this_, callback, argc, info);
^
In file included from ../src/mdns.hpp:12:0,
from ../src/dns_service_browse.cpp:1:
../../nan/nan.h:929:46: note: declared here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^~~~~~~~~~~~
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_enumerate_domains.o
../src/dns_service_enumerate_domains.cpp: In function 'void node_mdns::OnEnumeration(DNSServiceRef, DNSServiceFlags, uint32_t, DNSServiceErrorType, const char*, void*)':
../src/dns_service_enumerate_domains.cpp:29:50: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations]
Nan::MakeCallback(this_, callback, argc, info);
^
In file included from ../src/mdns.hpp:12:0,
from ../src/dns_service_enumerate_domains.cpp:1:
../../nan/nan.h:929:46: note: declared here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^~~~~~~~~~~~
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_get_addr_info.o
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_process_result.o
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_ref.o
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_ref_deallocate.o
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_ref_sock_fd.o
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_register.o
../src/dns_service_register.cpp: In function 'void node_mdns::OnServiceRegistered(DNSServiceRef, DNSServiceFlags, DNSServiceErrorType, const char*, const char*, const char*, void*)':
../src/dns_service_register.cpp:48:54: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations]
Nan::MakeCallback(this_, callback, argc, info);
^
In file included from ../src/mdns.hpp:12:0,
from ../src/dns_service_register.cpp:1:
../../nan/nan.h:929:46: note: declared here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^~~~~~~~~~~~
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_resolve.o
../src/dns_service_resolve.cpp: In function 'void node_mdns::OnResolve(DNSServiceRef, DNSServiceFlags, uint32_t, DNSServiceErrorType, const char*, const char*, uint16_t, uint16_t, const unsigned char*, void*)':
../src/dns_service_resolve.cpp:51:50: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations]
Nan::MakeCallback(this_, callback, argc, info);
^
In file included from ../src/mdns.hpp:12:0,
from ../src/dns_service_resolve.cpp:1:
../../nan/nan.h:929:46: note: declared here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^~~~~~~~~~~~
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_update_record.o
CXX(target) Release/obj.target/dns_sd_bindings/src/mdns_utils.o
CXX(target) Release/obj.target/dns_sd_bindings/src/network_interface.o
CXX(target) Release/obj.target/dns_sd_bindings/src/socket_watcher.o
../src/socket_watcher.cpp: In static member function 'static void node_mdns::SocketWatcher::Callback(uv_poll_t*, int, int)':
../src/socket_watcher.cpp:100:63: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations]
Nan::MakeCallback(watcher->handle(), callback, 2, argv);
^
In file included from ../src/mdns.hpp:12:0,
from ../src/socket_watcher.cpp:1:
../../nan/nan.h:929:46: note: declared here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^~~~~~~~~~~~
CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_ref.o
CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_create.o
CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_deallocate.o
CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_set_value.o
CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_get_length.o
CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_buffer_to_object.o
SOLINK_MODULE(target) Release/obj.target/dns_sd_bindings.node
COPY Release/dns_sd_bindings.node
make: Leaving directory '/homebridge/node_modules/mdns/build'
npm WARN homebridge No description
npm WARN homebridge No repository field.
npm WARN homebridge No license field.
+ [email protected]
added 3 packages in 46.505s
Alles anzeigen
/homebridge # npm rebuild --unsafe-perm
> [email protected] install /homebridge/node_modules/mdns
> node-gyp rebuild
make: Entering directory '/homebridge/node_modules/mdns/build'
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_sd.o
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_browse.o
../src/dns_service_browse.cpp: In function 'void node_mdns::OnServiceChanged(DNSServiceRef, DNSServiceFlags, uint32_t, DNSServiceErrorType, const char*, const char*, const char*, void*)':
../src/dns_service_browse.cpp:39:50: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations]
Nan::MakeCallback(this_, callback, argc, info);
^
In file included from ../src/mdns.hpp:12:0,
from ../src/dns_service_browse.cpp:1:
../../nan/nan.h:929:46: note: declared here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^~~~~~~~~~~~
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_enumerate_domains.o
../src/dns_service_enumerate_domains.cpp: In function 'void node_mdns::OnEnumeration(DNSServiceRef, DNSServiceFlags, uint32_t, DNSServiceErrorType, const char*, void*)':
../src/dns_service_enumerate_domains.cpp:29:50: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations]
Nan::MakeCallback(this_, callback, argc, info);
^
In file included from ../src/mdns.hpp:12:0,
from ../src/dns_service_enumerate_domains.cpp:1:
../../nan/nan.h:929:46: note: declared here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^~~~~~~~~~~~
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_get_addr_info.o
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_process_result.o
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_ref.o
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_ref_deallocate.o
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_ref_sock_fd.o
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_register.o
../src/dns_service_register.cpp: In function 'void node_mdns::OnServiceRegistered(DNSServiceRef, DNSServiceFlags, DNSServiceErrorType, const char*, const char*, const char*, void*)':
../src/dns_service_register.cpp:48:54: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations]
Nan::MakeCallback(this_, callback, argc, info);
^
In file included from ../src/mdns.hpp:12:0,
from ../src/dns_service_register.cpp:1:
../../nan/nan.h:929:46: note: declared here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^~~~~~~~~~~~
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_resolve.o
../src/dns_service_resolve.cpp: In function 'void node_mdns::OnResolve(DNSServiceRef, DNSServiceFlags, uint32_t, DNSServiceErrorType, const char*, const char*, uint16_t, uint16_t, const unsigned char*, void*)':
../src/dns_service_resolve.cpp:51:50: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations]
Nan::MakeCallback(this_, callback, argc, info);
^
In file included from ../src/mdns.hpp:12:0,
from ../src/dns_service_resolve.cpp:1:
../../nan/nan.h:929:46: note: declared here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^~~~~~~~~~~~
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_update_record.o
CXX(target) Release/obj.target/dns_sd_bindings/src/mdns_utils.o
CXX(target) Release/obj.target/dns_sd_bindings/src/network_interface.o
CXX(target) Release/obj.target/dns_sd_bindings/src/socket_watcher.o
../src/socket_watcher.cpp: In static member function 'static void node_mdns::SocketWatcher::Callback(uv_poll_t*, int, int)':
../src/socket_watcher.cpp:100:63: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations]
Nan::MakeCallback(watcher->handle(), callback, 2, argv);
^
In file included from ../src/mdns.hpp:12:0,
from ../src/socket_watcher.cpp:1:
../../nan/nan.h:929:46: note: declared here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^~~~~~~~~~~~
CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_ref.o
CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_create.o
CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_deallocate.o
CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_set_value.o
CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_get_length.o
CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_buffer_to_object.o
SOLINK_MODULE(target) Release/obj.target/dns_sd_bindings.node
COPY Release/dns_sd_bindings.node
make: Leaving directory '/homebridge/node_modules/mdns/build'
[email protected] /homebridge/node_modules/homebridge-hue
[email protected] /homebridge/node_modules/deferred
[email protected] /homebridge/node_modules/d
[email protected] /homebridge/node_modules/es5-ext
[email protected] /homebridge/node_modules/es6-iterator
[email protected] /homebridge/node_modules/es6-symbol
[email protected] /homebridge/node_modules/next-tick
[email protected] /homebridge/node_modules/event-emitter
[email protected] /homebridge/node_modules/timers-ext
[email protected] /homebridge/node_modules/fakegato-history
[email protected] /homebridge/node_modules/debug
[email protected] /homebridge/node_modules/ms
[email protected] /homebridge/node_modules/google-auth-library
[email protected] /homebridge/node_modules/gtoken
[email protected] /homebridge/node_modules/google-p12-pem
[email protected] /homebridge/node_modules/node-forge
[email protected] /homebridge/node_modules/jws
[email protected] /homebridge/node_modules/base64url
[email protected] /homebridge/node_modules/jwa
[email protected] /homebridge/node_modules/buffer-equal-constant-time
[email protected] /homebridge/node_modules/ecdsa-sig-formatter
[email protected] /homebridge/node_modules/safe-buffer
[email protected] /homebridge/node_modules/mime
[email protected] /homebridge/node_modules/request
[email protected] /homebridge/node_modules/aws-sign2
[email protected] /homebridge/node_modules/aws4
[email protected] /homebridge/node_modules/caseless
[email protected] /homebridge/node_modules/combined-stream
[email protected] /homebridge/node_modules/delayed-stream
[email protected] /homebridge/node_modules/extend
[email protected] /homebridge/node_modules/forever-agent
[email protected] /homebridge/node_modules/form-data
[email protected] /homebridge/node_modules/asynckit
[email protected] /homebridge/node_modules/mime-types
[email protected] /homebridge/node_modules/mime-db
[email protected] /homebridge/node_modules/har-validator
[email protected] /homebridge/node_modules/ajv
[email protected] /homebridge/node_modules/co
[email protected] /homebridge/node_modules/fast-deep-equal
[email protected] /homebridge/node_modules/fast-json-stable-stringify
[email protected] /homebridge/node_modules/json-schema-traverse
[email protected] /homebridge/node_modules/har-schema
[email protected] /homebridge/node_modules/hawk
[email protected] /homebridge/node_modules/boom
[email protected] /homebridge/node_modules/hoek
[email protected] /homebridge/node_modules/cryptiles
[email protected] /homebridge/node_modules/cryptiles/node_modules/boom
[email protected] /homebridge/node_modules/sntp
[email protected] /homebridge/node_modules/http-signature
[email protected] /homebridge/node_modules/assert-plus
[email protected] /homebridge/node_modules/jsprim
[email protected] /homebridge/node_modules/extsprintf
[email protected] /homebridge/node_modules/json-schema
[email protected] /homebridge/node_modules/verror
[email protected] /homebridge/node_modules/core-util-is
[email protected] /homebridge/node_modules/sshpk
[email protected] /homebridge/node_modules/asn1
[email protected] /homebridge/node_modules/dashdash
[email protected] /homebridge/node_modules/getpass
[email protected] /homebridge/node_modules/is-typedarray
[email protected] /homebridge/node_modules/isstream
[email protected] /homebridge/node_modules/json-stringify-safe
[email protected] /homebridge/node_modules/oauth-sign
[email protected] /homebridge/node_modules/performance-now
[email protected] /homebridge/node_modules/qs
[email protected] /homebridge/node_modules/stringstream
[email protected] /homebridge/node_modules/tough-cookie
[email protected] /homebridge/node_modules/punycode
[email protected] /homebridge/node_modules/tunnel-agent
[email protected] /homebridge/node_modules/uuid
[email protected] /homebridge/node_modules/lodash.noop
[email protected] /homebridge/node_modules/googleapis
[email protected] /homebridge/node_modules/googleapis/node_modules/async
[email protected] /homebridge/node_modules/googleapis/node_modules/lodash
[email protected] /homebridge/node_modules/string-template
[email protected] /homebridge/node_modules/moment
[email protected] /homebridge/node_modules/homebridge-hue/node_modules/homebridge-hue-utils
[email protected] /homebridge/node_modules/chalk
[email protected] /homebridge/node_modules/ansi-styles
[email protected] /homebridge/node_modules/color-convert
[email protected] /homebridge/node_modules/color-name
[email protected] /homebridge/node_modules/escape-string-regexp
[email protected] /homebridge/node_modules/supports-color
[email protected] /homebridge/node_modules/has-flag
[email protected] /homebridge/node_modules/homebridge-hue/node_modules/debug
[email protected] /homebridge/node_modules/homebridge-hue/node_modules/ws
[email protected] /homebridge/node_modules/async-limiter
[email protected] /homebridge/node_modules/xml2js
[email protected] /homebridge/node_modules/sax
[email protected] /homebridge/node_modules/xmlbuilder
[email protected] /homebridge/node_modules/semver
[email protected] /homebridge/node_modules/homebridge-roomba-stv
[email protected] /homebridge/node_modules/dorita980
[email protected] /homebridge/node_modules/mqtt
[email protected] /homebridge/node_modules/commist
[email protected] /homebridge/node_modules/leven
[email protected] /homebridge/node_modules/commist/node_modules/minimist
[email protected] /homebridge/node_modules/concat-stream
[email protected] /homebridge/node_modules/buffer-from
[email protected] /homebridge/node_modules/inherits
[email protected] /homebridge/node_modules/concat-stream/node_modules/readable-stream
[email protected] /homebridge/node_modules/concat-stream/node_modules/isarray
[email protected] /homebridge/node_modules/process-nextick-args
[email protected] /homebridge/node_modules/concat-stream/node_modules/string_decoder
[email protected] /homebridge/node_modules/util-deprecate
[email protected] /homebridge/node_modules/typedarray
[email protected] /homebridge/node_modules/end-of-stream
[email protected] /homebridge/node_modules/once
[email protected] /homebridge/node_modules/wrappy
[email protected] /homebridge/node_modules/help-me
[email protected] /homebridge/node_modules/callback-stream
[email protected] /homebridge/node_modules/readable-stream
[email protected] /homebridge/node_modules/isarray
[email protected] /homebridge/node_modules/string_decoder
[email protected] /homebridge/node_modules/glob-stream
[email protected] /homebridge/node_modules/glob
[email protected] /homebridge/node_modules/fs.realpath
[email protected] /homebridge/node_modules/inflight
[email protected] /homebridge/node_modules/minimatch
[email protected] /homebridge/node_modules/brace-expansion
[email protected] /homebridge/node_modules/balanced-match
[email protected] /homebridge/node_modules/concat-map
[email protected] /homebridge/node_modules/path-is-absolute
[email protected] /homebridge/node_modules/glob-parent
[email protected] /homebridge/node_modules/is-glob
[email protected] /homebridge/node_modules/is-extglob
[email protected] /homebridge/node_modules/path-dirname
[email protected] /homebridge/node_modules/is-negated-glob
[email protected] /homebridge/node_modules/ordered-read-streams
[email protected] /homebridge/node_modules/ordered-read-streams/node_modules/readable-stream
[email protected] /homebridge/node_modules/ordered-read-streams/node_modules/isarray
[email protected] /homebridge/node_modules/ordered-read-streams/node_modules/string_decoder
[email protected] /homebridge/node_modules/pumpify
[email protected] /homebridge/node_modules/duplexify
[email protected] /homebridge/node_modules/duplexify/node_modules/readable-stream
[email protected] /homebridge/node_modules/duplexify/node_modules/isarray
[email protected] /homebridge/node_modules/duplexify/node_modules/string_decoder
[email protected] /homebridge/node_modules/stream-shift
[email protected] /homebridge/node_modules/pumpify/node_modules/pump
[email protected] /homebridge/node_modules/glob-stream/node_modules/readable-stream
[email protected] /homebridge/node_modules/glob-stream/node_modules/isarray
[email protected] /homebridge/node_modules/glob-stream/node_modules/string_decoder
[email protected] /homebridge/node_modules/remove-trailing-separator
[email protected] /homebridge/node_modules/to-absolute-glob
[email protected] /homebridge/node_modules/is-absolute
[email protected] /homebridge/node_modules/is-relative
[email protected] /homebridge/node_modules/is-unc-path
[email protected] /homebridge/node_modules/unc-path-regex
[email protected] /homebridge/node_modules/is-windows
[email protected] /homebridge/node_modules/unique-stream
[email protected] /homebridge/node_modules/json-stable-stringify
[email protected] /homebridge/node_modules/jsonify
[email protected] /homebridge/node_modules/through2-filter
[email protected] /homebridge/node_modules/through2
[email protected] /homebridge/node_modules/through2/node_modules/readable-stream
[email protected] /homebridge/node_modules/through2/node_modules/isarray
[email protected] /homebridge/node_modules/through2/node_modules/string_decoder
[email protected] /homebridge/node_modules/xtend
[email protected] /homebridge/node_modules/mqtt/node_modules/minimist
[email protected] /homebridge/node_modules/mqtt-packet
[email protected] /homebridge/node_modules/bl
[email protected] /homebridge/node_modules/bl/node_modules/readable-stream
[email protected] /homebridge/node_modules/bl/node_modules/isarray
[email protected] /homebridge/node_modules/bl/node_modules/string_decoder
[email protected] /homebridge/node_modules/pump
[email protected] /homebridge/node_modules/mqtt/node_modules/readable-stream
[email protected] /homebridge/node_modules/mqtt/node_modules/isarray
[email protected] /homebridge/node_modules/mqtt/node_modules/string_decoder
[email protected] /homebridge/node_modules/reinterval
[email protected] /homebridge/node_modules/split2
[email protected] /homebridge/node_modules/websocket-stream
[email protected] /homebridge/node_modules/websocket-stream/node_modules/readable-stream
[email protected] /homebridge/node_modules/websocket-stream/node_modules/isarray
[email protected] /homebridge/node_modules/websocket-stream/node_modules/string_decoder
[email protected] /homebridge/node_modules/ws
[email protected] /homebridge/node_modules/ultron
[email protected] /homebridge/node_modules/request-promise
[email protected] /homebridge/node_modules/bluebird
[email protected] /homebridge/node_modules/request-promise-core
[email protected] /homebridge/node_modules/request-promise-core/node_modules/lodash
[email protected] /homebridge/node_modules/stealthy-require
[email protected] /homebridge/node_modules/node-cache
[email protected] /homebridge/node_modules/clone
[email protected] /homebridge/node_modules/node-cache/node_modules/lodash
[email protected] /homebridge/node_modules/promise-timeout
[email protected] /homebridge/node_modules/homebridge-sonytvremote
[email protected] /homebridge/node_modules/base-64
[email protected] /homebridge/node_modules/http
[email protected] /homebridge/node_modules/ping
[email protected] /homebridge/node_modules/q
[email protected] /homebridge/node_modules/underscore
[email protected] /homebridge/node_modules/prompt
[email protected] /homebridge/node_modules/colors
[email protected] /homebridge/node_modules/pkginfo
[email protected] /homebridge/node_modules/read
[email protected] /homebridge/node_modules/mute-stream
[email protected] /homebridge/node_modules/revalidator
[email protected] /homebridge/node_modules/utile
[email protected] /homebridge/node_modules/async
[email protected] /homebridge/node_modules/deep-equal
[email protected] /homebridge/node_modules/i
[email protected] /homebridge/node_modules/mkdirp
[email protected] /homebridge/node_modules/minimist
[email protected] /homebridge/node_modules/ncp
[email protected] /homebridge/node_modules/rimraf
[email protected] /homebridge/node_modules/winston
[email protected] /homebridge/node_modules/winston/node_modules/async
[email protected] /homebridge/node_modules/winston/node_modules/colors
[email protected] /homebridge/node_modules/cycle
[email protected] /homebridge/node_modules/eyes
[email protected] /homebridge/node_modules/winston/node_modules/pkginfo
[email protected] /homebridge/node_modules/stack-trace
[email protected] /homebridge/node_modules/wake_on_lan
[email protected] /homebridge/node_modules/mdns
[email protected] /homebridge/node_modules/bindings
[email protected] /homebridge/node_modules/nan
[email protected] /homebridge/node_modules/bcrypt-pbkdf
[email protected] /homebridge/node_modules/tweetnacl
[email protected] /homebridge/node_modules/ecc-jsbn
[email protected] /homebridge/node_modules/jsbn
Alles anzeigen
Beide Befehle ausgeführt - ist das jetzt gut oder schlecht?
Was nu? ![]()
sudo npm install -g --unsafe-perm soundtouch -g ??
müsste es nicht heißen:
sudo npm install -g --unsafe-perm homebridge-soundtouch -g
habe beides versucht.
Logfile sagt:
/homebridge # sudo npm install -g --unsafe-perm homebridge-soundtouch -g
/bin/sh: sudo: not found
/homebridge # npm install -g --unsafe-perm homebridge-soundtouch -g
> [email protected] install /usr/local/lib/node_modules/homebridge-soundtouch/node_modules/mdns
> node-gyp rebuild
make: Entering directory '/usr/local/lib/node_modules/homebridge-soundtouch/node_modules/mdns/build'
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_sd.o
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_browse.o
../src/dns_service_browse.cpp: In function 'void node_mdns::OnServiceChanged(DNSServiceRef, DNSServiceFlags, uint32_t, DNSServiceErrorType, const char*, const char*, const char*, void*)':
../src/dns_service_browse.cpp:39:50: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations]
Nan::MakeCallback(this_, callback, argc, info);
^
In file included from ../src/mdns.hpp:12:0,
from ../src/dns_service_browse.cpp:1:
../../nan/nan.h:929:46: note: declared here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^~~~~~~~~~~~
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_enumerate_domains.o
../src/dns_service_enumerate_domains.cpp: In function 'void node_mdns::OnEnumeration(DNSServiceRef, DNSServiceFlags, uint32_t, DNSServiceErrorType, const char*, void*)':
../src/dns_service_enumerate_domains.cpp:29:50: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations]
Nan::MakeCallback(this_, callback, argc, info);
^
In file included from ../src/mdns.hpp:12:0,
from ../src/dns_service_enumerate_domains.cpp:1:
../../nan/nan.h:929:46: note: declared here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^~~~~~~~~~~~
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_get_addr_info.o
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_process_result.o
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_ref.o
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_ref_deallocate.o
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_ref_sock_fd.o
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_register.o
../src/dns_service_register.cpp: In function 'void node_mdns::OnServiceRegistered(DNSServiceRef, DNSServiceFlags, DNSServiceErrorType, const char*, const char*, const char*, void*)':
../src/dns_service_register.cpp:48:54: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations]
Nan::MakeCallback(this_, callback, argc, info);
^
In file included from ../src/mdns.hpp:12:0,
from ../src/dns_service_register.cpp:1:
../../nan/nan.h:929:46: note: declared here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^~~~~~~~~~~~
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_resolve.o
../src/dns_service_resolve.cpp: In function 'void node_mdns::OnResolve(DNSServiceRef, DNSServiceFlags, uint32_t, DNSServiceErrorType, const char*, const char*, uint16_t, uint16_t, const unsigned char*, void*)':
../src/dns_service_resolve.cpp:51:50: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations]
Nan::MakeCallback(this_, callback, argc, info);
^
In file included from ../src/mdns.hpp:12:0,
from ../src/dns_service_resolve.cpp:1:
../../nan/nan.h:929:46: note: declared here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^~~~~~~~~~~~
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_update_record.o
CXX(target) Release/obj.target/dns_sd_bindings/src/mdns_utils.o
CXX(target) Release/obj.target/dns_sd_bindings/src/network_interface.o
CXX(target) Release/obj.target/dns_sd_bindings/src/socket_watcher.o
../src/socket_watcher.cpp: In static member function 'static void node_mdns::SocketWatcher::Callback(uv_poll_t*, int, int)':
../src/socket_watcher.cpp:100:63: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations]
Nan::MakeCallback(watcher->handle(), callback, 2, argv);
^
In file included from ../src/mdns.hpp:12:0,
from ../src/socket_watcher.cpp:1:
../../nan/nan.h:929:46: note: declared here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^~~~~~~~~~~~
CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_ref.o
CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_create.o
CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_deallocate.o
CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_set_value.o
CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_get_length.o
CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_buffer_to_object.o
SOLINK_MODULE(target) Release/obj.target/dns_sd_bindings.node
COPY Release/dns_sd_bindings.node
make: Leaving directory '/usr/local/lib/node_modules/homebridge-soundtouch/node_modules/mdns/build'
> [email protected] install /usr/local/lib/node_modules/homebridge-soundtouch/node_modules/node-expat
> node-gyp rebuild
make: Entering directory '/usr/local/lib/node_modules/homebridge-soundtouch/node_modules/node-expat/build'
CC(target) Release/obj.target/expat/deps/libexpat/lib/xmlparse.o
../deps/libexpat/lib/xmlparse.c: In function 'gather_time_entropy':
../deps/libexpat/lib/xmlparse.c:780:7: warning: variable 'gettimeofday_res' set but not used [-Wunused-but-set-variable]
int gettimeofday_res;
^~~~~~~~~~~~~~~~
CC(target) Release/obj.target/expat/deps/libexpat/lib/xmltok.o
CC(target) Release/obj.target/expat/deps/libexpat/lib/xmlrole.o
AR(target) Release/obj.target/deps/libexpat/libexpat.a
COPY Release/libexpat.a
CXX(target) Release/obj.target/node_expat/node-expat.o
SOLINK_MODULE(target) Release/obj.target/node_expat.node
COPY Release/node_expat.node
make: Leaving directory '/usr/local/lib/node_modules/homebridge-soundtouch/node_modules/node-expat/build'
> [email protected] install /usr/local/lib/node_modules/homebridge-soundtouch/node_modules/websocket
> (node-gyp rebuild 2> builderror.log) || (exit 0)
make: Entering directory '/usr/local/lib/node_modules/homebridge-soundtouch/node_modules/websocket/build'
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
SOLINK_MODULE(target) Release/obj.target/bufferutil.node
COPY Release/bufferutil.node
CXX(target) Release/obj.target/validation/src/validation.o
SOLINK_MODULE(target) Release/obj.target/validation.node
COPY Release/validation.node
make: Leaving directory '/usr/local/lib/node_modules/homebridge-soundtouch/node_modules/websocket/build'
+ [email protected]
added 116 packages in 67.749s
Alles anzeigen
Pin wird ja auch am TV angezeigt.
Aber diesen Pin muss ich ja an der Gegenstelle eingeben (auf der Syno irgendwo)
und das ist das Problem ![]()
Hallo zusammen,
habe folgendes Sony TV Plugin unter Homebridge auf meiner Synology NAS: https://www.npmjs.com/package/homebridge-sonytvremote
Installation verlief ohne Probleme - ich kann den Fernseher problemlos an / ausschalten.
das TV Gerät zeigt mir allerdings an, dass ich einen Code eingeben soll, damit die Fernbedienung registriert werden kann (vermutlich für die Funktion "Umschalten der TV Sender")
ähnliches wird mir auch im Log der Homebridge angezeigt - doch hier kann ich keine Eingabe tätigen.
Wie kann ich das lösen?
Guten Morgen zusammen,
ich bin neu hier und auf der Suche nach Untersützung für meine o.g. Thematik.
Ich habe auf meiner Synology DS718+ Homebridge installiert - habe dafür folgende Anleitung befolgt: https://github.com/oznu/homebridge-syno-spk#how-to-install
- Muss dazu sagen: habe bislang noch nie mit Homebridge gearbeitet - somit ein absoluter Anfänger -
Habe im weiteren Schritt mit meinem iPhone den QR Code in Homekit gescannt und habe jetzt ein Gerät im Homekit, welches sich "Homebridge" nennt.
Ich denke das ist schom mal gut ![]()
Dann bin ich auf Plugins geganngen und habe diese Plugin automatisch installieren lassen: https://www.npmjs.com/package/homebridge-soundtouch
- Möchte gerne mit meinem Bose Lautsprecher anfangen -
Mein Config File sieht aktuell so aus:
{
"bridge": {
"name": "Homebridge",
"username": "xxx",
"port": 51826,
"pin": "xxx"
},
"description": "This is an example configuration file. You can use this as a template for creating your own configuration file containing devices you actually own.",
"platforms": [],
"accessories": []
}
Alles anzeigen
Nach der Anleitung sieht es so aus:
{
"bridge": {
"name": "Homebridge",
"username": "xxx",
"port": 51826,
"pin": "xxx"
},
"description": "This is an example configuration file. You can use this as a template for creating your own configuration file containing devices you actually own.",
"platforms": [],
"accessories": [
{
"accessory": "SoundTouch",
"name": "Lautsprecher Badezimmer",
"room": "Badezimmer"
}
]
}
Alles anzeigen
Habe dann HomeBridge neu gestartet (dachte mir, ich muss das machen, damit die neue config übernommen wird)
Seit dem läuft Homebridge nicht mehr:
Das LogFile gibt das her:
ZitatAlles anzeigenScan this code with your HomeKit app on your iOS device to pair with Homebridge:
Or enter this code with your HomeKit app on your iOS device to pair with Homebridge:
??????????????
? xxx-xx-xxx?
??????????????
[2018-4-7 09:34:35] Homebridge is running on port 51826.
/homebridge/node_modules/mdns/lib/resolver_sequence_tasks.js:199
var e = new Error(syscall + ' ' + errorno);
^
Error: getaddrinfo -3008
at errnoException (/homebridge/node_modules/mdns/lib/resolver_sequence_tasks.js:199:11)
at getaddrinfo_complete (/homebridge/node_modules/mdns/lib/resolver_sequence_tasks.js:112:10)
at GetAddrInfoReqWrap.oncomplete (/homebridge/node_modules/mdns/lib/resolver_sequence_tasks.js:120:9)
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node>
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compa…node&f=DNSServiceRegister>
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compa…node&f=DNSServiceRegister>
[2018-4-7 09:34:43] Loaded plugin: homebridge-soundtouch
[2018-4-7 09:34:43] Registering accessory 'homebridge-soundtouch.SoundTouch'
[2018-4-7 09:34:43] ---
[2018-4-7 09:34:43] Loaded plugin: homebridge-soundtouch-preset
[2018-4-7 09:34:43] Registering accessory 'homebridge-soundtouch.SoundTouch-Preset'
[2018-4-7 09:34:43] ---
[2018-4-7 09:34:43] Loaded plugin: homebridge-config-ui-x
[2018-4-7 09:34:43] Registering platform 'homebridge-config-ui-x.config'
[2018-4-7 09:34:43] ---
[2018-4-7 09:34:43] Loaded config.json with 1 accessories and 0 platforms.
[2018-4-7 09:34:43] ---
[2018-4-7 09:34:43] Loading 0 platforms...
[2018-4-7 09:34:43] Loading 1 accessories...
[2018-4-7 09:34:43] [Lautsprecher Badezimmer] Initializing SoundTouch accessory...
Started Searching...
Setup Payload:
X-HM://0023ISYWYHDDH
Nehme ich die Code in der Config für Soundtouch komplett raus und startet die Homebridge wieder neu -> dann läuft diese wieder.
Was mache ich falsch? ![]()