Kann es sein das es an dem Huebridge Update (vers. 01039019) liegt?
Ich hatte sie davor schon mal am laufen, aber man will seine Devices ja auch aktuell halten.
Ich hoffe jemand hat etwas Zeit für mich und kann mir da helfen.
device.db
► Text zeigen
[{"id":"1","uniqueid":"00:17:88:5E:D3:01-01","name":"Computertest","mapId":"7c:b0:3e:aa:00:a3:69:b2-05","mapType":"httpDevice","deviceType":"passthru","targetDevice":"Encapsulated","offUrl":"[{\"item\":\"{\\\"ipAddress\\\":\\\"192.168.178.28\\\",\\\"deviceId\\\":\\\"5\\\",\\\"hueName\\\":\\\"Philips-Hue\\\"}\",\"type\":\"httpDevice\",\"delay\":\"200\"}]","onUrl":"[{\"item\":\"{\\\"ipAddress\\\":\\\"192.168.178.28\\\",\\\"deviceId\\\":\\\"5\\\",\\\"hueName\\\":\\\"Philips-Hue\\\"}\",\"type\":\"httpDevice\",\"delay\":\"200\"}]","inactive":false,"noState":false,"offState":false,"description":"Computertest","comments":"Computertest"},{"id":"2","uniqueid":"00:17:88:5E:D3:02-02","name":"Computer","mapId":"","mapType":"httpDevice","deviceType":"passthru","targetDevice":"Encapsulated","offUrl":"[{\"item\":\"{\\\"ipAddress\\\":\\\"192.168.178.28\\\",\\\"deviceId\\\":\\\"5\\\",\\\"hueName\\\":\\\"Philips-Hue\\\"}\",\"type\":\"hueDevice\"},{\"item\":\"[{\\\"item\\\":\\\"/home/pi/habridge/meinescripte/pcherunterfahren.sh\\\",\\\"type\\\":\\\"cmdDevice\\\"}]\",\"type\":\"cmdDevice\"}]","onUrl":"[{\"item\":\"{\\\"ipAddress\\\":\\\"192.168.178.28\\\",\\\"deviceId\\\":\\\"5\\\",\\\"hueName\\\":\\\"Philips-Hue\\\"}\",\"type\":\"hueDevice\"},{\"item\":\"[{\\\"item\\\":\\\"/home/pi/habridge/meinescripte/pcstarten.sh\\\",\\\"type\\\":\\\"cmdDevice\\\"}]\",\"type\":\"cmdDevice\"}]","inactive":false,"noState":false,"offState":false,"description":"Computer","comments":"Computer"},{"id":"3","uniqueid":"00:17:88:5E:D3:03-03","name":"Brokoli","onUrl":"[{\"item\":\"/home/pi/habridge/meinescripte/pcherunterfahren.sh\",\"type\":\"cmdDevice\"}]","inactive":false,"noState":false,"offState":false},{"id":"4","uniqueid":"00:17:88:5E:D3:04-04","name":"Hanz","deviceType":"exec","onUrl":"[{\"item\":\"/home/pi/habridge/meinescripte/pcstarten.sh\",\"type\":\"cmdDevice\"}]","inactive":false,"noState":false,"offState":false}]
► Text zeigen
{"upnpconfigaddress":"172.17.0.1","serverport":81,"upnpresponseport":50000,"upnpdevicedb":"data/device.db","buttonsleep":100,"upnpstrict":true,"traceupnp":true,"farenheit":true,"configfile":"/home/pi/habridge/data/habridge.config","numberoflogmessages":512,"hueaddress":{"devices":[{"name":"Philips-Hue","ip":"192.168.178.28"}]},"myechourl":"echo.amazon.com/#cards","webaddress":"0.0.0.0","hubversion":"01039019","securityData":"Qd29J/vcDO5HRVLZkrLiW/t91cmJIJppDCYmoeLtCdeKBvn2HwMDPqLZJSxWPgFX97vG33sQpBmRoVhkN0f8WQ\u003d\u003d","settingsChanged":false,"veraconfigured":false,"harmonyconfigured":false,"hueconfigured":true,"nestconfigured":false,"halconfigured":false,"mqttconfigured":false,"hassconfigured":false,"domoticzconfigured":false,"somfyconfigured":false,"lifxconfigured":false}
► Text zeigen
#!/bin/sh
### BEGIN INIT INFO
# Provides: homebridge
# Required-Start: $network $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start daemon at boot time
# Description: Enable service provided by daemon.
### END INIT INFO
dir="/home/pi/habridge"
cmd="DEBUG=* /usr/bin/java -jar -Dserver.port=81 -Dconfig.file=/home/pi/habridge/data/habridge.config /home/pi/habridge/ha-bridge-4.5.0.jar"
user="root"
name="habridge"
pid_file="/var/run/$name.pid"
stdout_log="/var/log/$name.log"
stderr_log="/var/log/$name.err"
get_pid() {
cat "$pid_file"
}
is_running() {
[ -f "$pid_file" ] && ps `get_pid` > /dev/null 2>&1
}
case "$1" in
start)
if is_running; then
echo "Already started"
else
echo "Starting $name"
cd "$dir"
if [ -z "$user" ]; then
sudo $cmd >> "$stdout_log" 2>> "$stderr_log" &
else
sudo -u "$user" $cmd >> "$stdout_log" 2>> "$stderr_log" &
fi
echo $! > "$pid_file"
if ! is_running; then
echo "Unable to start, see $stdout_log and $stderr_log"
exit 1
fi
fi
;;
stop)
if is_running; then
echo -n "Stopping $name.."
kill `get_pid`
for i in {1..10}
do
if ! is_running; then
break
fi
echo -n "."
sleep 1
done
echo
if is_running; then
echo "Not stopped; may still be shutting down or shutdown may have failed"
exit 1
else
echo "Stopped"
if [ -f "$pid_file" ]; then
rm "$pid_file"
fi
fi
else
echo "Not running"
fi
;;
restart)
$0 stop
if is_running; then
echo "Unable to stop, will not attempt to start"
exit 1
fi
$0 start
;;
status)
if is_running; then
echo "Running"
else
echo "Stopped"
exit 1
fi
;;

echo "Usage: $0 {start|stop|restart|status}"
exit 1
;;
esac
exit 0
### BEGIN INIT INFO
# Provides: homebridge
# Required-Start: $network $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start daemon at boot time
# Description: Enable service provided by daemon.
### END INIT INFO
dir="/home/pi/habridge"
cmd="DEBUG=* /usr/bin/java -jar -Dserver.port=81 -Dconfig.file=/home/pi/habridge/data/habridge.config /home/pi/habridge/ha-bridge-4.5.0.jar"
user="root"
name="habridge"
pid_file="/var/run/$name.pid"
stdout_log="/var/log/$name.log"
stderr_log="/var/log/$name.err"
get_pid() {
cat "$pid_file"
}
is_running() {
[ -f "$pid_file" ] && ps `get_pid` > /dev/null 2>&1
}
case "$1" in
start)
if is_running; then
echo "Already started"
else
echo "Starting $name"
cd "$dir"
if [ -z "$user" ]; then
sudo $cmd >> "$stdout_log" 2>> "$stderr_log" &
else
sudo -u "$user" $cmd >> "$stdout_log" 2>> "$stderr_log" &
fi
echo $! > "$pid_file"
if ! is_running; then
echo "Unable to start, see $stdout_log and $stderr_log"
exit 1
fi
fi
;;
stop)
if is_running; then
echo -n "Stopping $name.."
kill `get_pid`
for i in {1..10}
do
if ! is_running; then
break
fi
echo -n "."
sleep 1
done
echo
if is_running; then
echo "Not stopped; may still be shutting down or shutdown may have failed"
exit 1
else
echo "Stopped"
if [ -f "$pid_file" ]; then
rm "$pid_file"
fi
fi
else
echo "Not running"
fi
;;
restart)
$0 stop
if is_running; then
echo "Unable to stop, will not attempt to start"
exit 1
fi
$0 start
;;
status)
if is_running; then
echo "Running"
else
echo "Stopped"
exit 1
fi
;;
echo "Usage: $0 {start|stop|restart|status}"
exit 1
;;
esac
exit 0