Aber es ist genau umgekehrt der tv gibt einen code aus der an der Homebridge eingegeben werden soll.
Beiträge von null89er
-
-
Wie muss man das starten? Sorry das ich so blöd frage
-
Eigentlich ist das Config-UI-X installiert. Habe extra darauf geachtet weil ich gelesen hatte das das andere nicht mehr gepflegt wird.
Ich hätte das andere nur drinnen um einen Vergleich zu haben finde das Config-UI-X sehr gut und praktisch. Es hat mir die Arbeit erheblich erleichtert. ?
-
Hallo,
Ich habe folgendes Plugin genommen
https://www.npmjs.com/package/homebridge-bravia
Es wird soweit alles in Homekit angezeigt muss aber noch durch einen Code bestätigt werden damit man die Funktionen ausführen kann.
Leider ist mir nicht klar wo ich den am TV gezeigten Code eingeben muss Bzw wie man/ wo man das per command line abgefragt wird.
Kann mir hier einer sagen wie ich das Plugin starten muss damit dann die Abfrage des Codes erfolgt? In der Anleitung zum Plugin heißt es:
First run + registration
When you run the plugin for the first time you will have to run homebridge directly from command line as the plugin prompts you for a PIN that the TV will give you. This way the TV doesn't have to be set to the unsafe "Basic" login mode.
Vg
Tarek
-
Also bei mir läuft sie nach anfänglichen Schwierigkeiten Problemlos. Ich hoffe es bleibt dabei.
-
So sieht sie jetzt aus: und läuft ??
Code
Alles anzeigen{ "bridge": { "name": "Homebridge", "username": "CC:22:3D:E3:CE:30", "port": 51826, "pin": "031-45-154" }, "accessories": [ { "accessory": "DenonMarantzAVR", "name": "Denon AVR", "ip": "192.168.xxx.xxx", "defaultInput": "IRADIO", "defaultVolume": 35, "minVolume": 10, "maxVolume": 75, "doPolling": true, "pollingInterval": 60 }, { "accessory": "Synology", "name": "Synology Server", "ip": "192.XXX.xxx.xxx", "mac": "00:11:32:3A:7A:94", "port": "5000", "secure": false, "account": "xxxxx", "password": "Xxxx", "version": 6, "timeout": 5000, "disabled": [ "switch", "temp" ], "doPolling": true, "pollingInterval": 60 } ], "platforms": [ { "platform": "Fritz!Box", "name": "Router", "username": "xxxx", "password": "Xxxx", "url": "http://192.Xxx.xxx.xxx", "interval": 120, "hide": [ "<ain>" ], "concurrent": false, "options": { "strictSSL": false } }, { "platform": "config", "name": "Config", "port": 8080, "restart": "sudo -n systemctl restart homebridge", "log": "systemd" }, { "platform": "Server", "port": 8765, "name": "Homebridge Server", "log": "<PATH_TO_YOUR_LOG_FILE>", "restart": "<COMMAND_TO_EXECUTE>" }, { "platform": "People", "threshold": 15, "anyoneSensor": true, "nooneSensor": false, "webhookPort": 51828, "cacheDirectory": "./.node-persist/storage", "pingInterval": 10000, "ignoreReEnterExitSeconds": 0, "people": [ { "name": "Xxxx", "target": "192.Xxx.xxx.xx", "threshold": 15, "pingInterval": 10000, "ignoreReEnterExitSeconds": 0 }, { "name": "Xxxx", "target": "192.Xxx.xxx.xxx", "threshold": 15, "pingInterval": 10000, "ignoreReEnterExitSeconds": 0 } ] } ] } -
hat jetzt geklappt! Merci
-
ok dann werde ich es noch einmal so probieren.
-
Homebridge läuft bis ich was an der config verändere. Ich denke alle Plugins laufen nicht. Wenn ich Homebridge manuell starte bekommen ich folgende ausgabe:
pi@raspberrypi:~ $ homebridge
*** 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>
[1/22/2018, 9:29:20 PM] Loaded plugin: homebridge-config-ui-x
[1/22/2018, 9:29:20 PM] Registering platform 'homebridge-config-ui-x.config'
[1/22/2018, 9:29:20 PM] ---
[1/22/2018, 9:29:22 PM] Loaded plugin: homebridge-fritz
[1/22/2018, 9:29:22 PM] Registering platform 'homebridge-fritz.Fritz!Box'
[1/22/2018, 9:29:22 PM] ---
[1/22/2018, 9:29:22 PM] Loaded plugin: homebridge-people
[1/22/2018, 9:29:22 PM] Registering platform 'homebridge-people.People'
[1/22/2018, 9:29:22 PM] Registering accessory 'homebridge-people.PeopleAccessory'
[1/22/2018, 9:29:22 PM] Registering accessory 'homebridge-people.PeopleAllAccessory'
[1/22/2018, 9:29:22 PM] ---
[1/22/2018, 9:29:22 PM] Loaded config.json with 0 accessories and 3 platforms.
[1/22/2018, 9:29:22 PM] ---
[1/22/2018, 9:29:22 PM] Loading 3 platforms...
[1/22/2018, 9:29:22 PM] [Config] Initializing config platform...
[1/22/2018, 9:29:22 PM] [My FritzBox] Initializing Fritz!Box platform...
/usr/local/lib/node_modules/homebridge/lib/api.js:108
if (name.indexOf('.') == -1) {
^
TypeError: Cannot read property 'indexOf' of undefined
at API.platform (/usr/local/lib/node_modules/homebridge/lib/api.js:108:11)
at Server._loadPlatforms (/usr/local/lib/node_modules/homebridge/lib/server.js:294:45)
at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:85:36)
at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:40:10)
at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:509:3
-
Hallo,
und erst einmal vielen Dank! Ich habe es dank der Anleitungen von euch geschafft mein System aufzusetzen. Allerdings habe ich nun Probleme irgendwie will es nicht so. Ich habe zwei Plugins Installiert People & Fritzbox & config
pi@raspberrypi:~ $ homebridge
*** 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>
[1/22/2018, 9:29:20 PM] Loaded plugin: homebridge-config-ui-x
[1/22/2018, 9:29:20 PM] Registering platform 'homebridge-config-ui-x.config'
[1/22/2018, 9:29:20 PM] ---
[1/22/2018, 9:29:22 PM] Loaded plugin: homebridge-fritz
[1/22/2018, 9:29:22 PM] Registering platform 'homebridge-fritz.Fritz!Box'
[1/22/2018, 9:29:22 PM] ---
[1/22/2018, 9:29:22 PM] Loaded plugin: homebridge-people
[1/22/2018, 9:29:22 PM] Registering platform 'homebridge-people.People'
[1/22/2018, 9:29:22 PM] Registering accessory 'homebridge-people.PeopleAccessory'
[1/22/2018, 9:29:22 PM] Registering accessory 'homebridge-people.PeopleAllAccessory'
[1/22/2018, 9:29:22 PM] ---
[1/22/2018, 9:29:22 PM] Loaded config.json with 0 accessories and 3 platforms.
[1/22/2018, 9:29:22 PM] ---
[1/22/2018, 9:29:22 PM] Loading 3 platforms...
[1/22/2018, 9:29:22 PM] [Config] Initializing config platform...
[1/22/2018, 9:29:22 PM] [My FritzBox] Initializing Fritz!Box platform...
/usr/local/lib/node_modules/homebridge/lib/api.js:108
if (name.indexOf('.') == -1) {
^
TypeError: Cannot read property 'indexOf' of undefined
at API.platform (/usr/local/lib/node_modules/homebridge/lib/api.js:108:11)
at Server._loadPlatforms (/usr/local/lib/node_modules/homebridge/lib/server.js:294:45)
at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:85:36)
at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:40:10)
at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:509:3
Meine Config File sieht so aus:
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154"
},
"accessories": [
],
"platforms": [{
"platform": "config",
"name": "Config",
"port": 8080,
"log": "/var/log/homebridge.log"
},
{
"platform": "Fritz!Box",
"name": "My FritzBox",
"username": "xxxxx",
"password": "Xxxxxx",
"url": "http://fritz.box",
"interval": 1800,
"hide": ["wifi", "<ain>"],
"concurrent": false,
"options": {
"strictSSL": false
}
},
[{
"platform": "People",
"threshold": 15,
"anyoneSensor": true,
"nooneSensor": false,
"webhookPort": 51828,
"cacheDirectory": "./.node-persist/storage",
"pingInterval": 10000,
"ignoreReEnterExitSeconds": 0,
"people": [{
"name": "Xxxxx",
"target": "192.168.2.154",
"threshold": 15,
"pingInterval": 10000,
"ignoreReEnterExitSeconds": 0
},
{
"name": "Xxxx",
"target": "192.168.2.157",
"threshold": 15,
"pingInterval": 10000,
"ignoreReEnterExitSeconds": 0
}
]
}]
]
}
Könnt ihr mir einen Tip gegeben woran es scheitert?
Vielen Dank im voraus.
vg