Hue müllt mir mein Log voll

Begonnen von CoComp, 08 Dezember 2018, 12:36:40

Vorheriges Thema - Nächstes Thema

CoComp

Moin,

die Hue Integration auf meinen RASPI über FHEM läuft ohne Problem....nur müllt mir FHEM das das Log zu...und ich komme das Problem nicht ran....wo liegt der Auslösen?

Es scheint mehrere Arten von Fehlermeldungen zu geben:

2018.12.08 10:00:39.247 2: hueBridge1: invalid json detected: <html>
<head><title>500 Internal Server Error</title></head>
<body bgcolor="white">
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx</center>
</body>
</html>

<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/1" value="1.000" Code="200"/>
<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/0" value="0.000" Code="200"/>
<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/1" value="1.000" Code="200"/>
<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/0" value="0.000" Code="200"/>
2018.12.08 10:14:44.692 2: hueBridge1: invalid json detected: <html>
<head><title>500 Internal Server Error</title></head>
<body bgcolor="white">
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx</center>
</body>
</html>

<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/1" value="1.000" Code="200"/>
<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/0" value="0.000" Code="200"/>
<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/1" value="1.000" Code="200"/>
<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/0" value="0.000" Code="200"/>
<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/1" value="1.000" Code="200"/>
<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/0" value="0.000" Code="200"/>
<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/1" value="1.000" Code="200"/>
<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/0" value="0.000" Code="200"/>
<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/1" value="1.000" Code="200"/>
<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/0" value="0.000" Code="200"/>
<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/1" value="1.000" Code="200"/>
<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/0" value="0.000" Code="200"/>
<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/1" value="1.000" Code="200"/>
<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/0" value="0.000" Code="200"/>
<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/1" value="1.000" Code="200"/>
<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/0" value="0.000" Code="200"/>
<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/1" value="1.000" Code="200"/>
<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/0" value="0.000" Code="200"/>
<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/1" value="1.000" Code="200"/>
<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/0" value="0.000" Code="200"/>
<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/1" value="1.000" Code="200"/>
<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/0" value="0.000" Code="200"/>
<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/1" value="1.000" Code="200"/>
<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/0" value="0.000" Code="200"/>
<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/1" value="1.000" Code="200"/>
<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/0" value="0.000" Code="200"/>
<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/1" value="1.000" Code="200"/>
<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/0" value="0.000" Code="200"/>
<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/1" value="1.000" Code="200"/>
<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/0" value="0.000" Code="200"/>
<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/1" value="1.000" Code="200"/>
<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/0" value="0.000" Code="200"/>
<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/1" value="1.000" Code="200"/>
<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/0" value="0.000" Code="200"/>
<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/1" value="1.000" Code="200"/>
<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/0" value="0.000" Code="200"/


2018.12.08 11:15:12.082 2: hueBridge1: http request failed: http://192.168.178.61/api/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/sensors/14: empty answer received
<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/1" value="1.000" Code="200"/>
<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/0" value="0.000" Code="200"/>
<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/1" value="1.000" Code="200"/>
<?xml version="1.0" encoding="utf-8"?>
<LL control="dev/sps/io/EG.fl.Hue.Motion1/0" value="0.000" Code="200"/>
2018.12.08 12:06:55.566 2: hueBridge1: invalid json detected: <html>
<head><title>500 Internal Server Error</title></head>
<body bgcolor="white">
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx</center>
</body>
</html>


Wo könnte der Hund begraben sein?

Viele Grüße
Jörn

CoolTux

gib mal bitte ein list vom hue bridge device
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

CoComp

#2
Moin, hier der komplette LIST als screenshot

CoolTux

Schlecht. Bitte hier als Text in Codetage eintragen.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

CoComp


CoolTux

list DEVICENAME

in der Kommanzeile in FHEMWEB eingeben.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

CoComp

Internals:
   DEF        192.168.178.61
   INTERVAL   60
   NAME       hueBridge1
   NOTIFYDEV  global
   NR         670
   NTFY_ORDER 50-hueBridge1
   STATE      connected
   TYPE       HUEBridge
   apiversion 1.28.0
   host       192.168.178.61
   mac        AB:CD:EF:GH:IJ:KL
   manufacturer Royal Philips Electronics
   modelName  Philips hue bridge 2015
   modelid    BSB002
   name       Philips hue
   swversion  1810251352
   updatestate 0
   zigbeechannel 11
   READINGS:
     2018-12-08 22:24:35   state           connected
     2018-12-04 14:16:03   swupdate        ZGB_100B_010C - ConfLight Lamps SAMR21 - 26.0
   helper:
     apiversion 72704
     count      0
     last_config_timestamp 1544304275
     offsetUTC  3600
     updatestate 0
Attributes:
   httpUtils  1
   icon       hue_filled_bridge_v2
   key        xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
   noshutdown 1
   room       00_FHEM,HUEDevice

CoolTux

Ich denke nicht das es alleine von der Bridge oder dem Modul an sich kommt.
Hast Du da noch ein System dazwischen geschalten? Irgendwas mit NGINX taucht da noch auf. Reverseproxy?
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

CoComp

Nein, die hängen im selben Netz und IP-Bereich, FHEM als Middleware liefert an / bekommt von Loxone via udp und http Readings, da die komplette Logik in Loxone abgebildet ist. Das funktioniert auch perfekt....wenn nicht das FHEM-Log mit diesem für mich unerklärbaren Müll volllaufen würde....

CoolTux

Am besten mal nach Beleuchtung verschieben.

Ganz unten ganz links "Beitrag verschieben"
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

CoComp

#10
Besonders diese Fehlermeldung kommt alle paar Minuten ohne erkennbaren Auslöser

2018.12.09 12:27:40.461 2: hueBridge1: invalid json detected: <html>
<head><title>500 Internal Server Error</title></head>
<body bgcolor="white">
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx</center>
</body>
</html>


....und warum sind die ganzen html-Formatanweisungen drin? Browser ist Chrome, ist aber bei edge nicht anders...

Firetic

#11
Ich habe die Fehlermeldung auch seit ein paar Tagen im Log. Mal alle 10 Minuten und dann mal wieder für ein paar Stunden nicht  :(

2018.12.10 06:38:11 2: hueBridge: invalid json detected: <html>
<head><title>500 Internal Server Error</title></head>
<body bgcolor="white">
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx</center>
</body>
</html>


Bin auch verzweifelt auf der Suche nach der Ursache... Die Bridge ist auch direkt im selben Netz wie der FHEM Server. Und eigentlich bin ich auch der Meinung das ich zum Zeitpunkt des ersten Auftretens nichts am System geändert habe - kann natürlich nicht sagen ob es ein Update irgendeines Leuchtmittels gab.

Gruß Firetic


P.S. Hier auch noch das list meiner Bridge
Internals:
   DEF        192.168.178.57
   INTERVAL   60
   NAME       hueBridge
   NOTIFYDEV  global
   NR         742
   NTFY_ORDER 50-hueBridge
   STATE      connected
   TYPE       HUEBridge
   apiversion 1.28.0
   host       192.168.178.57
   mac        00:17:88:22:ea:73
   manufacturer Royal Philips Electronics
   modelName  Philips hue bridge 2015
   modelid    BSB002
   name       Philips hue
   swversion  1810251352
   updatestate 0
   zigbeechannel 11
   READINGS:
     2018-11-06 06:55:04   lastError       parameter, bri, is not modifiable. Device is set to off.
     2018-12-10 07:01:18   state           connected
     2018-12-04 18:09:55   swupdate        ZGB_100B_010C - ConfLight Lamps SAMR21 - 26.0
   helper:
     apiversion 72704
     count      0
     last_config_timestamp 1544421677
     offsetUTC  3600
     updatestate 0
Attributes:
   devStateIcon connected:rc_GREEN:on disconnected:rc_RED:off Initialized:message_socket_disabled
   group      Server
   httpUtils  1
   icon       hue_bridge
   key        xxxxxxxxxxxxxxxxxxxxx
   noshutdown 1

CoolTux

Ich versuche heute mal Andre einen Wink auf diesen Thread zu geben. Eventuell findet er etwas Zeit sich das einmal an zu schauen.


Grüße
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

rr725

#13
hm....seit geraumer eit habe ich auch Probleme, wenn die Probleme auftauchen "hängt" das ganze System :-(

2018.11.10 13:27:13 1: HUEBridge_HTTP_Request http://192.168.1.33/api/AFZhLSOS7KlO28mbzNzjTmRGO4cfaL5MUaUsO0ch/sensors/11: Can't connect to http://192.168.1.33:80
2018.11.10 13:27:13 1: HUEBridge_HTTP_Request http://192.168.1.33/api/AFZhLSOS7KlO28mbzNzjTmRGO4cfaL5MUaUsO0ch/sensors/11: Can't connect to http://192.168.1.33:80
2018.11.10 13:27:13 1: HUEBridge_HTTP_Request http://192.168.1.33/api/AFZhLSOS7KlO28mbzNzjTmRGO4cfaL5MUaUsO0ch/sensors/19: Can't connect to http://192.168.1.33:80
2018.11.10 13:27:13 1: HUEBridge_HTTP_Request http://192.168.1.33/api/AFZhLSOS7KlO28mbzNzjTmRGO4cfaL5MUaUsO0ch/sensors/19: Can't connect to http://192.168.1.33:80
2018.11.10 13:27:13 1: HUEBridge_HTTP_Request http://192.168.1.33/api/AFZhLSOS7KlO28mbzNzjTmRGO4cfaL5MUaUsO0ch/sensors/23: Can't connect to http://192.168.1.33:80
2018.11.10 13:27:13 1: HUEBridge_HTTP_Request http://192.168.1.33/api/AFZhLSOS7KlO28mbzNzjTmRGO4cfaL5MUaUsO0ch/sensors/23: Can't connect to http://192.168.1.33:80
2018.11.10 13:27:13 1: HUEBridge_HTTP_Request http://192.168.1.33/api/AFZhLSOS7KlO28mbzNzjTmRGO4cfaL5MUaUsO0ch/sensors/48: Can't connect to http://192.168.1.33:80
2018.11.10 13:27:13 1: HUEBridge_HTTP_Request http://192.168.1.33/api/AFZhLSOS7KlO28mbzNzjTmRGO4cfaL5MUaUsO0ch/sensors/48: Can't connect to http://192.168.1.33:80


und irgendwann läuft wieder alles, als sei nichts gewesen.
Über besagte IP Adresse ist die Hue Bridge zu erreichen. Auch wenn in der Log Datei o. g. aufgeführt wird, sind die Sensoren aber erreichbar (über Handy - App) und verrichten ihren Dienst. Nur eben Fhem macht Probleme :-(
Gäbe es da evtl. die Möglichkeit beim Auftreten des Problems die Bridge innerh. Fhem neu zu initialisieren !?

CoolTux

Zitat von: rr725 am 10 Dezember 2018, 08:50:30
hm....seit geraumer eit habe ich auch Probleme, wenn die Probleme auftauchen "hängt" das ganze System :-(

2018.11.10 13:27:13 1: HUEBridge_HTTP_Request http://192.168.1.33/api/AFZhLSOS7KlO28mbzNzjTmRGO4cfaL5MUaUsO0ch/sensors/11: Can't connect to http://192.168.1.33:80
2018.11.10 13:27:13 1: HUEBridge_HTTP_Request http://192.168.1.33/api/AFZhLSOS7KlO28mbzNzjTmRGO4cfaL5MUaUsO0ch/sensors/11: Can't connect to http://192.168.1.33:80
2018.11.10 13:27:13 1: HUEBridge_HTTP_Request http://192.168.1.33/api/AFZhLSOS7KlO28mbzNzjTmRGO4cfaL5MUaUsO0ch/sensors/19: Can't connect to http://192.168.1.33:80
2018.11.10 13:27:13 1: HUEBridge_HTTP_Request http://192.168.1.33/api/AFZhLSOS7KlO28mbzNzjTmRGO4cfaL5MUaUsO0ch/sensors/19: Can't connect to http://192.168.1.33:80
2018.11.10 13:27:13 1: HUEBridge_HTTP_Request http://192.168.1.33/api/AFZhLSOS7KlO28mbzNzjTmRGO4cfaL5MUaUsO0ch/sensors/23: Can't connect to http://192.168.1.33:80
2018.11.10 13:27:13 1: HUEBridge_HTTP_Request http://192.168.1.33/api/AFZhLSOS7KlO28mbzNzjTmRGO4cfaL5MUaUsO0ch/sensors/23: Can't connect to http://192.168.1.33:80
2018.11.10 13:27:13 1: HUEBridge_HTTP_Request http://192.168.1.33/api/AFZhLSOS7KlO28mbzNzjTmRGO4cfaL5MUaUsO0ch/sensors/48: Can't connect to http://192.168.1.33:80
2018.11.10 13:27:13 1: HUEBridge_HTTP_Request http://192.168.1.33/api/AFZhLSOS7KlO28mbzNzjTmRGO4cfaL5MUaUsO0ch/sensors/48: Can't connect to http://192.168.1.33:80


und irgendwann läuft wieder alles, als sei nichts gewesen.
Über besagte IP Adresse ist die Hue Bridge zu erreichen. Auch wenn in der Log Datei o. g. aufgeführt wird, sind die Sensoren aber erreichbar (über Handy - App) und verrichten ihren Dienst. Nur eben Fhem macht Probleme :-(
Gäbe es da evtl. die Möglichkeit beim Auftreten des Problems die Bridge innerh. Fhem neu zu initialisieren !?

Dein Fehlerbild ist ein gänzlich anderes. Bitte erstelle einen eigen Thread dafür.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net