Ankündigung

Einklappen
Keine Ankündigung bisher.

onewire aktualisiert manche Daten nicht mehr nach einem Restart

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    onewire aktualisiert manche Daten nicht mehr nach einem Restart

    Hallo,

    ich weiß, dass dieser Punkt im Wiki adressiert ist, aber dieser Workaround hilft bei mir leider nicht. Folgendes Problem:
    nach einem Restart werden reproduzierbar immer 3 meiner Fenster nicht mehr aktualisiert und bleiben undefined
    Unbenannt.PNG

    Im debug-Log sieht man, dass z.B. das FensterWZli (Wohnzimmer links) genauso initialisiert wird, wie das FensterWZre. Später wird aber nur noch das FensterWZre aktualisiert. Erst wenn ich einen Touch auf das items.file mache und es erneut eingelesen wird, werden meine items aktualisiert.
    Und nein, dieser Workaround (wiki) hilft nix. Ich kann diesen Switch "OneWireClearCache" sooft drücken wie ich will.

    Was absolut unverständlich ist, ist warum sich dieser Effekt nur auf immer dieselben drei Fenster auswirkt (Wohnzimmer links, Bad, Galerie), das ist reproduzierbar?!?

    Ich habe mal das Debug-Log auf das Nötigste eingedampft, um den Sachverhalt zu verdeutlichen (weiter unten sind die Logiles zum Download):

    2015-09-16 18:40:17.431 [DEBUG] [.b.o.internal.OneWireActivator] - OneWire binding has been started.
    2015-09-16 18:40:17.596 [DEBUG] [.OneWireGenericBindingProvider] - validateItemType: OneWireClearCache - bindingConfig:control=CLEAR_CACHE
    2015-09-16 18:40:17.599 [DEBUG] [.i.OneWireBindingConfigFactory] - createOneWireDeviceProperty: OneWireClearCache - bindingConfig:control=CLEAR_CACHE
    2015-09-16 18:40:17.607 [DEBUG] [.i.OneWireBindingConfigFactory] - created newBindingConfig: OneWireClearCacheControlBindingConfig []
    2015-09-16 18:40:17.621 [DEBUG] [.OneWireGenericBindingProvider] - validateItemType: OneWireClearCacheOneItem - bindingConfig:control=CLEAR_CACHE
    2015-09-16 18:40:17.622 [DEBUG] [.i.OneWireBindingConfigFactory] - createOneWireDeviceProperty: OneWireClearCacheOneItem - bindingConfig:control=CLEAR_CACHE
    2015-09-16 18:40:17.623 [DEBUG] [.i.OneWireBindingConfigFactory] - created newBindingConfig: OneWireClearCacheControlBindingConfig []
    2015-09-16 18:40:17.929 [DEBUG] [.OneWireGenericBindingProvider] - validateItemType: FensterWZre - bindingConfig:deviceId=29.A47A0D000000;propertyNam e=sensed.0;refreshinterval=2
    2015-09-16 18:40:17.934 [DEBUG] [.i.OneWireBindingConfigFactory] - createOneWireDeviceProperty: FensterWZre - bindingConfig:deviceId=29.A47A0D000000;propertyNam e=sensed.0;refreshinterval=2
    2015-09-16 18:40:17.938 [DEBUG] [.i.OneWireBindingConfigFactory] - created newBindingConfig: OneWireDevicePropertyContactBindingConfig [getDeviceId()=29.A47A0D000000, getPropertyName()=sensed.0, getAutoRefreshInSecs()=2, getDevicePropertyPath()=29.A47A0D000000/sensed.0, getTypeModifieryList()=[]]
    2015-09-16 18:40:17.939 [DEBUG] [.OneWireGenericBindingProvider] - validateItemType: FensterWZli - bindingConfig:deviceId=29.A47A0D000000;propertyNam e=sensed.1;refreshinterval=2
    2015-09-16 18:40:17.939 [DEBUG] [.i.OneWireBindingConfigFactory] - createOneWireDeviceProperty: FensterWZli - bindingConfig:deviceId=29.A47A0D000000;propertyNam e=sensed.1;refreshinterval=2
    2015-09-16 18:40:17.950 [DEBUG] [.i.OneWireBindingConfigFactory] - created newBindingConfig: OneWireDevicePropertyContactBindingConfig [getDeviceId()=29.A47A0D000000, getPropertyName()=sensed.1, getAutoRefreshInSecs()=2, getDevicePropertyPath()=29.A47A0D000000/sensed.1, getTypeModifieryList()=[]]
    2015-09-16 18:40:18.103 [DEBUG] [b.o.i.s.OneWireUpdateScheduler] - Starting auto refresh scheduler
    2015-09-16 18:40:18.121 [DEBUG] [b.o.i.s.OneWireUpdateScheduler] - Starting reader task.
    2015-09-16 18:40:18.133 [DEBUG] [b.o.i.s.OneWireUpdateScheduler] - Starting schedule executor.
    2015-09-16 18:40:18.137 [DEBUG] [o.o.b.o.i.s.OneWireUpdateTask ] - Autorefresh: Waiting for new item in update queue
    2015-09-16 18:40:19.717 [WARN ] [.o.c.p.e.PersistenceExtensions] - There is no queryable persistence service registered with the name 'influxdb'
    2015-09-16 18:40:21.477 [DEBUG] [o.o.b.o.i.c.OneWireConnection ] - OneWire configuration present. Setting up owserver connection.
    2015-09-16 18:40:21.478 [DEBUG] [o.o.b.o.i.c.OneWireConnection ] - Not connected to owserver yet. Trying to connect...
    2015-09-16 18:40:22.248 [INFO ] [o.o.b.o.i.c.OneWireConnection ] - Connected to owserver [IP '192.168.2.5' Port '4304']
    2015-09-16 18:40:22.249 [DEBUG] [o.o.b.o.i.c.OneWireConnection ] - Success: connected to owserver.
    2015-09-16 18:40:22.250 [DEBUG] [.o.b.o.internal.OneWireBinding] - scheduleAllBindings
    2015-09-16 18:40:22.251 [DEBUG] [b.o.i.s.OneWireUpdateScheduler] - Clearing all items from auto refresh scheduler
    2015-09-16 18:40:22.252 [DEBUG] [b.o.i.s.OneWireUpdateScheduler] - Schedule executor restart.
    2015-09-16 18:40:22.286 [DEBUG] [b.o.i.s.OneWireUpdateScheduler] - Schedule executor restart: successfully terminated old instance
    2015-09-16 18:40:22.286 [DEBUG] [b.o.i.s.OneWireUpdateScheduler] - Schedule executor restart: started.
    2015-09-16 18:40:36.589 [DEBUG] [b.o.i.s.OneWireUpdateScheduler] - didn't add item FensterWZre to updateQueue, it is alread there
    2015-09-16 18:40:36.745 [DEBUG] [o.o.b.o.i.c.OneWireConnection ] - Read value ' 50.4474' from 26.76E356010000/humidity, read attempt=1
    2015-09-16 18:40:36.746 [DEBUG] [o.o.b.o.i.s.OneWireUpdateTask ] - Autorefresh: Waiting for new item in update queue
    2015-09-16 18:40:36.752 [DEBUG] [o.o.b.o.i.s.OneWireUpdateTask ] - Autorefresh: got new item FensterWZre in update queue
    2015-09-16 18:40:36.752 [DEBUG] [o.o.b.o.i.s.OneWireUpdateTask ] - Autorefresh: Trying to update Item: FensterWZre
    2015-09-16 18:40:36.757 [DEBUG] [.o.b.o.internal.OneWireBinding] - Item FensterWZre wants update!
    2015-09-16 18:40:36.758 [DEBUG] [o.o.b.o.i.c.OneWireConnection ] - trying to read from '29.A47A0D000000/sensed.0', read attempt=1
    2015-09-16 18:40:36.758 [DEBUG] [o.o.b.o.i.c.OneWireConnection ] - check if device exisits '29.A47A0D000000':
    2015-09-16 18:40:36.853 [DEBUG] [o.o.b.o.i.c.OneWireConnection ] - Read value '0' from 29.A47A0D000000/sensed.0, read attempt=1
    2015-09-16 18:40:36.854 [DEBUG] [o.o.b.o.i.s.OneWireUpdateTask ] - Autorefresh: Waiting for new item in update queue
    2015-09-16 18:40:36.855 [DEBUG] [o.o.b.o.i.s.OneWireUpdateTask ] - Autorefresh: got new item TempGZ in update queue
    2015-09-16 18:40:36.855 [DEBUG] [o.o.b.o.i.s.OneWireUpdateTask ] - Autorefresh: Trying to update Item: TempGZ
    2015-09-16 18:40:36.856 [DEBUG] [.o.b.o.internal.OneWireBinding] - Item TempGZ wants update!
    2015-09-16 18:40:36.856 [DEBUG] [o.o.b.o.i.c.OneWireConnection ] - trying to read from '26.DCE356010000/temperature', read attempt=1
    2015-09-16 18:40:36.856 [DEBUG] [o.o.b.o.i.c.OneWireConnection ] - check if device exisits '26.DCE356010000':
    2015-09-16 18:40:37.002 [DEBUG] [o.o.b.o.i.c.OneWireConnection ] - Read value ' 19.7812' from 26.DCE356010000/temperature, read attempt=1
    2015-09-16 18:40:37.003 [DEBUG] [o.o.b.o.i.s.OneWireUpdateTask ] - Autorefresh: Waiting for new item in update queue
    2015-09-16 18:40:38.588 [DEBUG] [b.o.i.s.OneWireUpdateScheduler] - Autorefresh: Adding 1 item(s) with refresh time 2 to reader queue.
    2015-09-16 18:40:38.589 [DEBUG] [b.o.i.s.OneWireUpdateScheduler] - Update Task isAlive: true
    2015-09-16 18:40:38.589 [DEBUG] [b.o.i.s.OneWireUpdateScheduler] - add item FensterWZre to updateQueue
    2015-09-16 18:40:38.590 [DEBUG] [o.o.b.o.i.s.OneWireUpdateTask ] - Autorefresh: got new item FensterWZre in update queue
    2015-09-16 18:40:38.591 [DEBUG] [o.o.b.o.i.s.OneWireUpdateTask ] - Autorefresh: Trying to update Item: FensterWZre
    2015-09-16 18:40:38.591 [DEBUG] [.o.b.o.internal.OneWireBinding] - Item FensterWZre wants update!
    2015-09-16 18:40:38.592 [DEBUG] [o.o.b.o.i.c.OneWireConnection ] - trying to read from '29.A47A0D000000/sensed.0', read attempt=1
    2015-09-16 18:40:38.592 [DEBUG] [o.o.b.o.i.c.OneWireConnection ] - check if device exisits '29.A47A0D000000':
    2015-09-16 18:40:38.676 [DEBUG] [o.o.b.o.i.c.OneWireConnection ] - Read value '0' from 29.A47A0D000000/sensed.0, read attempt=1
    2015-09-16 18:40:38.677 [DEBUG] [.o.b.o.internal.OneWireBinding] - didn't post update to eventPublisher, because state did not changed for item FensterWZre
    2015-09-16 18:40:38.677 [DEBUG] [o.o.b.o.i.s.OneWireUpdateTask ] - Autorefresh: Waiting for new item in update queue
    2015-09-16 18:40:40.588 [DEBUG] [b.o.i.s.OneWireUpdateScheduler] - Autorefresh: Adding 1 item(s) with refresh time 2 to reader queue.
    2015-09-16 18:40:40.589 [DEBUG] [b.o.i.s.OneWireUpdateScheduler] - Update Task isAlive: true
    2015-09-16 18:40:40.589 [DEBUG] [b.o.i.s.OneWireUpdateScheduler] - add item FensterWZre to updateQueue
    2015-09-16 18:40:40.590 [DEBUG] [o.o.b.o.i.s.OneWireUpdateTask ] - Autorefresh: got new item FensterWZre in update queue
    2015-09-16 18:40:40.591 [DEBUG] [o.o.b.o.i.s.OneWireUpdateTask ] - Autorefresh: Trying to update Item: FensterWZre
    2015-09-16 18:40:40.591 [DEBUG] [.o.b.o.internal.OneWireBinding] - Item FensterWZre wants update!
    2015-09-16 18:40:40.591 [DEBUG] [o.o.b.o.i.c.OneWireConnection ] - trying to read from '29.A47A0D000000/sensed.0', read attempt=1
    2015-09-16 18:40:40.592 [DEBUG] [o.o.b.o.i.c.OneWireConnection ] - check if device exisits '29.A47A0D000000':
    2015-09-16 18:40:40.727 [DEBUG] [o.o.b.o.i.c.OneWireConnection ] - Read value '0' from 29.A47A0D000000/sensed.0, read attempt=1
    2015-09-16 18:40:40.728 [DEBUG] [.o.b.o.internal.OneWireBinding] - didn't post update to eventPublisher, because state did not changed for item FensterWZre
    2015-09-16 18:40:40.728 [DEBUG] [o.o.b.o.i.s.OneWireUpdateTask ] - Autorefresh: Waiting for new item in update queue
    Ich habe die ungekürzten Logs mal angehängt als zip. Das Startup-Log und das Refesh-Log, in dem das items-file neu geladen wird. Danach sind die Fenster wieder OK.
    Kann mir bitte wer weiterhelfen?

    Viele Grüße
    Michael
    Angehängte Dateien
Lädt...
X