config-ui-x im Browser
ssh terminal hab ich offen,
Komischerweise gehts jetzt! Ich fasse es nicht.
Vielleicht durch das letzte Update vorhin?
Ich Danke dir trotzdem für deine Mühe
config-ui-x im Browser
ssh terminal hab ich offen,
Komischerweise gehts jetzt! Ich fasse es nicht.
Vielleicht durch das letzte Update vorhin?
Ich Danke dir trotzdem für deine Mühe
Ich mache zb. ein PlugIn Update und er macht danach ein Neustart.
Ich sehe auf dem iPad wie die Geräte ausgegraut sind und es tut sich nichts mehr.
Es kommt kurz das Grüne Kästchen wo steht das es ungewöhnlich lange braucht um neu zu Starten und eventuell ein Manueles Starten Notwendig ist.
Das selbe auch wenn ich es oben über den Button Neustart mache.
PS:
Über Server Neustarten bei den 3 Punkten gehts.
Bei klick auf Server Neustart oder nach jedem Update:
steht im Display: Neustart angestoßen: sudo -n systemctl restart homebridge
danach geht nix mehr, muß dann USB Stecker ziehen und Neustarten.
Wo nach Fehler suchen?
Danke
Raspberry 3 und Aktuellstes Homebridge
OK Danke für die Info.
Habe nur Homekit im Haus, und ein Raspberry mit Homebridge um eine Homematic IP Thermostat ins Homekit zu Integrieren.
Funzt soweit seit ca. 1,5 Jahren reibungslos.
Wie könnte ich den diesen Paulmann Integrieren ohne zusätzliche Hardware?
Danke
Also falls jemand probleme hat mit dem ffmpeg.
Das:
sudo apt-get update
sudo apt-get install ffmpeg
sudo npm install -g homebridge-camera-ffmpeg
hat bei mir geholfen.
Und den cache in /.homebridge löschen, dann erscheinen die Kameras wieder die man schon mal hatte.
Nein!
Aber jetzt.
Klasse und Daaanke
Hab noch n kleines Problem!
Wenn ich im Webbrowser Restart drücke oder auch im config Editor restart mache Startet die Homebridge nicht mehr.
Muss dann Manuel im Terminal starten per sudo service homebridge start.
Log sagt folgendes:
[2018-5-17 22:06:47] [Config] Changes to config.json saved.
[2018-5-17 22:07:02] [Config] Homebridge restart request received
[2018-5-17 22:07:02] [Config] No restart command defined, killing process...
Danke für eure Hilfe
Habe es nochmals komplett NEU aufgesetzt und jetzt funzt alles
Weit und breit nichts mit ...Server
Kann es sein das man das Installieren muss? Plugin oder Aktivieren?
OK Wir kommen weiter
Habe mal das Homebridge logen mit su - root -c "homebridge >> /var/log/homebridge.log 2>> /var/log/homebridge.err &" eingeschaltet!
Restart
Jetzt kommt was!
[2018-5-16 18:46:23] Warning: skipping plugin found at '/usr/local/lib/node_modules/homebridge-config-ui-x' since we already loaded the same plugin from '/usr/lib/node_modules/homebridge-config-ui-x'.
[2018-5-16 18:46:43] config.json (/root/.homebridge/config.json) not found.
Dabei macht mich auch das ... /root/.homebridge/config.json etwas stutzig!
Meine config.json ist in /home/pi/.homebridge/config.json
Grüsse
Robert
Werde es heute Nachmittag in Angriff nehmen.
Danke schon mal
Bitteschön
tail -f /var/log/daemon.log
May 15 16:10:37 homebridge systemd[1]: Started Hostname Service.
May 15 16:10:53 homebridge systemd[1]: Time has been changed
May 15 16:10:53 homebridge systemd[544]: Time has been changed
May 15 16:10:54 homebridge dhcpcd[394]: eth0: no IPv6 Routers available
May 15 16:12:15 homebridge systemd[1]: Starting Session c4 of user pi.
May 15 16:12:15 homebridge systemd[1]: Started Session c4 of user pi.
May 15 16:25:49 homebridge systemd[1]: Starting Cleanup of Temporary Directories...
May 15 16:25:49 homebridge systemd[1]: Started Cleanup of Temporary Directories.
May 15 18:45:52 homebridge systemd[1]: Starting Session c5 of user pi.
May 15 18:45:52 homebridge systemd[1]: Started Session c5 of user pi.
pi@homebridge:~ $ ls -l /var/log
insgesamt 1452
-rw-r--r-- 1 root root 0 Mai 14 06:25 alternatives.log
drwxr-xr-x 2 root root 4096 Mai 14 06:25 apt
-rw-r----- 1 root adm 106240 Mai 15 20:32 auth.log
-rw-r--r-- 1 root root 3726 Mai 15 16:10 boot.log
-rw-r--r-- 1 root root 74848 Nov 25 2016 bootstrap.log
-rw------- 1 root utmp 3840 Mai 13 22:31 btmp
-rw-r----- 1 root adm 384104 Mai 15 18:45 daemon.log
-rw-r----- 1 root adm 990 Mai 12 21:38 daemon.log.1
-rw-r----- 1 root adm 1749 Mai 15 16:10 debug
-rw-r----- 1 root adm 22841 Mai 15 05:17 debug.1
-rw-r----- 1 root adm 31 Nov 25 2016 dmesg
-rw-r--r-- 1 root root 0 Mai 14 06:25 dpkg.log
-rw-r--r-- 1 root root 24024 Nov 25 2016 faillog
-rw-r--r-- 1 root root 2373 Nov 25 2016 fontconfig.log
drwxr-xr-x 2 root root 4096 Nov 25 2016 fsck
-rw-r----- 1 root adm 22276 Mai 15 16:10 kern.log
-rw-rw-r-- 1 root utmp 292292 Mai 15 18:45 lastlog
drwx--x--x 2 root root 4096 Mai 15 16:10 lightdm
-rw-r----- 1 root adm 333679 Mai 15 20:32 messages
drwxr-xr-x 2 ntp ntp 4096 Jul 26 2016 ntpstats
drwxr-x--- 2 root adm 4096 Jun 1 2016 samba
-rw-r----- 1 root adm 56666 Mai 15 20:32 syslog
-rw-r----- 1 root adm 1201 Mai 15 16:10 user.log
-rw-rw-r-- 1 root utmp 73344 Mai 15 18:45 wtmp
-rw-r--r-- 1 root root 6988 Mai 15 16:10 Xorg.0.log
Bitteschön:
pi@homebridge:~ $ sudo /etc/init.d/homebridge restart; tail -f /var/log/homebridge.log
Homebridge closed
Homebridge starting
Homebridge is not running
tail: „/var/log/homebridge.log“ kann nicht zum Lesen geöffnet werden: Datei oder Verzeichnis nicht gefunden
tail: Keine Dateien mehr übrig
pi@homebridge:~ $ sudo /etc/init.d/homebridge restart; tail -f /var/log/syslog
Homebridge closed
Homebridge starting
Homebridge is not running
May 15 16:46:32 homebridge rsyslogd-2007: action 'action 17' suspended, next retry is Tue May 15 16:47:02 2018 [try http://www.rsyslog.com/e/2007 ]
May 15 16:47:02 homebridge rsyslogd-2007: action 'action 17' suspended, next retry is Tue May 15 16:47:32 2018 [try http://www.rsyslog.com/e/2007 ]
May 15 16:49:35 homebridge rsyslogd-2007: action 'action 17' suspended, next retry is Tue May 15 16:50:05 2018 [try http://www.rsyslog.com/e/2007 ]
May 15 17:17:01 homebridge rsyslogd-2007: action 'action 17' suspended, next retry is Tue May 15 17:17:31 2018 [try http://www.rsyslog.com/e/2007 ]
May 15 17:17:01 homebridge CRON[1523]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
May 15 18:17:01 homebridge rsyslogd-2007: action 'action 17' suspended, next retry is Tue May 15 18:17:31 2018 [try http://www.rsyslog.com/e/2007 ]
May 15 18:17:01 homebridge CRON[1557]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
May 15 18:45:52 homebridge rsyslogd-2007: action 'action 17' suspended, next retry is Tue May 15 18:46:52 2018 [try http://www.rsyslog.com/e/2007 ]
May 15 18:45:52 homebridge systemd[1]: Starting Session c5 of user pi.
May 15 18:45:52 homebridge systemd[1]: Started Session c5 of user pi.
Was mich etwas stutzig macht! Diese Meldungen beim Installieren von der homebridge-config-ui-x
Hat es vielleicht damit was zu tun?
sudo npm install -g --unsafe-perm homebridge-config-ui-x
/usr/local/bin/homebridge-config-ui-x -> /usr/local/lib/node_modules/homebridge-config-ui-x/dist/bin/standalone.js
> [email protected] install /usr/local/lib/node_modules/homebridge-config-ui-x/node_modules/node-pty
> node scripts/install.js
make: Entering directory '/usr/local/lib/node_modules/homebridge-config-ui-x/node_modules/node-pty/build'
CXX(target) Release/obj.target/pty/src/unix/pty.o
../src/unix/pty.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE PtyFork(Nan::NAN_METHOD_ARGS_TYPE)':
../src/unix/pty.cc:154:49: warning: 'v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)' is deprecated (declared at /root/.node-gyp/10.0.0/include/node/v8.h:2821): Use Isolate version [-Wdeprecated-declarations]
v8::String::Utf8Value file(info[0]->ToString());
^
../src/unix/pty.cc:165:79: warning: 'v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)' is deprecated (declared at /root/.node-gyp/10.0.0/include/node/v8.h:2821): Use Isolate version [-Wdeprecated-declarations]
v8::String::Utf8Value arg(argv_->Get(Nan::New<v8::Integer>(i))->ToString());
^
../src/unix/pty.cc:176:79: warning: 'v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)' is deprecated (declared at /root/.node-gyp/10.0.0/include/node/v8.h:2821): Use Isolate version [-Wdeprecated-declarations]
v8::String::Utf8Value pair(env_->Get(Nan::New<v8::Integer>(i))->ToString());
^
../src/unix/pty.cc:181:49: warning: 'v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)' is deprecated (declared at /root/.node-gyp/10.0.0/include/node/v8.h:2821): Use Isolate version [-Wdeprecated-declarations]
v8::String::Utf8Value cwd_(info[3]->ToString());
^
../src/unix/pty.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE PtyGetProc(Nan::NAN_METHOD_ARGS_TYPE)':
../src/unix/pty.cc:389:49: warning: 'v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)' is deprecated (declared at /root/.node-gyp/10.0.0/include/node/v8.h:2821): Use Isolate version [-Wdeprecated-declarations]
v8::String::Utf8Value tty_(info[1]->ToString());
^
../src/unix/pty.cc: In function 'void pty_after_waitpid(uv_async_t*)':
../src/unix/pty.cc:489:69: warning: 'v8::Local<v8::Value> Nan::Callback::Call(v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const' is deprecated (declared at ../../nan/nan.h:1596) [-Wdeprecated-declarations]
Nan::Callback(cb).Call(Nan::GetCurrentContext()->Global(), 2, argv);
^
SOLINK_MODULE(target) Release/obj.target/pty.node
COPY Release/pty.node
make: Leaving directory '/usr/local/lib/node_modules/homebridge-config-ui-x/node_modules/node-pty/build'
> [email protected] postinstall /usr/local/lib/node_modules/homebridge-config-ui-x/node_modules/node-pty
> node scripts/post-install.js
> [email protected] postinstall /usr/local/lib/node_modules/homebridge-config-ui-x
> node dist/bin/fake-nsp.js
+ [email protected]
added 171 packages from 189 contributors in 56.859s
Alles anzeigen
Mit "kommt nix" meinte ich "zum Server kann keine Verbindung aufgebaut werden"
Hab kein Chrome sondern Safari!
Da ich ja schon sagte das port 8080 gar nicht offen ist dachte ich man müsste das noch irgendwo extra einschalten.
Bin auf Arbeit und kann daher nicht die Config posten aber es ist die Standard Config aus der Beschreibung.
Nachtrag!
Hier die Ports und Config:
Hier die offenen Ports:
pi@homebridge:~ $ sudo netstat -lptn
Aktive Internetverbindungen (Nur Server)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:5900 0.0.0.0:* LISTEN 471/vncserver-x11-c
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 531/sshd
tcp 0 0 192.168.3.107:9090 0.0.0.0:* LISTEN 584/homebridge
tcp 0 0 192.168.3.107:9093 0.0.0.0:* LISTEN 584/homebridge
tcp6 0 0 :::5900 :::* LISTEN 471/vncserver-x11-c
tcp6 0 0 :::51826 :::* LISTEN 584/homebridge
tcp6 0 0 :::45331 :::* LISTEN 584/homebridge
tcp6 0 0 :::22 :::* LISTEN 531/sshd
tcp6 0 0 :::40697 :::* LISTEN 584/homebridge
Und hier die Config:
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:xxxxx",
"port": 51826,
"pin": "150-41-xxx"
},
"ios10": true,
"accessories": [{
"accessory": "Brematic",
"name": "Stehlampe",
"host": "192.168.3.113",
"port": 49880,
"vendor": "Pollin",
"device": "2605",
"address": {
"systemCode": "12005",
"unitCode": "10000"
}
}],
"platforms": [
{
"platform": "HomeMatic",
"name": "HomeMatic CCU",
"ccu_ip": "192.168.3.106",
"filter_device": [],
"filter_channel": [],
"outlets": [],
"doors": [],
"programs": [],
"subsection": "Homekit"
},
{
"platform": "config",
"name": "Config",
"port": 8080,
"sudo": true,
"log": {
"method": "file",
"path": "/var/log/homebridge.log"
}
},
{
"platform": "Fritz!Box",
"name": "My FritzBox",
"username": "xxxxxxxx",
"password": "xxxxxxxxxx",
"url": "http://fritz.box",
"interval": 60,
"options": {
"strictSSL": false
}
}
]
}
Alles anzeigen
Blöde Frage:
Installation config-ui-x war OK, Homebridge läuft.
Bei 192.168.3.107:8080 kommt aber nix?
Mein IP Scanner mit Port Scan sagt auch das nur Port 22, 5900, 9090, 9093 und noch n paar andere offen sind.
Muß ich das noch irgendwo eintragen oder freigeben.
Danke