openbase / bco.device

Other
0 stars 0 forks source link

Fibaro motion sensor data not recognized for OpenHAB 2.5.2 #74

Closed ChristianMertes closed 4 years ago

ChristianMertes commented 4 years ago

None of the data is shown with the following:

00:48:23.988 [pool-1-thread-2] ERROR o.o.j.s.RecurrenceEventFilter ═╦═⚀ Entry registry sync failed!
00:48:23.988 [pool-1-thread-2] ERROR o.o.j.s.RecurrenceEventFilter  ╚══╦═⚀ Could not sync all entries!
00:48:23.988 [pool-1-thread-2] ERROR o.o.j.s.RecurrenceEventFilter     ╚══╦═⚄ Could not remove 7 entries!
00:48:23.989 [pool-1-thread-2] ERROR o.o.j.s.RecurrenceEventFilter        ╠══╦═⚀ Could not extract meta data out of item name[zwave_device_0829b86a_node4_alarm_general]
00:48:23.989 [pool-1-thread-2] ERROR o.o.j.s.RecurrenceEventFilter        ║  ╚══╦═⚀ Could not extract service type from item name!
00:48:23.989 [pool-1-thread-2] ERROR o.o.j.s.RecurrenceEventFilter        ║     ╚════⚀ 1
00:48:23.989 [pool-1-thread-2] ERROR o.o.j.s.RecurrenceEventFilter        ╠══╦═⚀ Could not extract meta data out of item name[zwave_device_0829b86a_node4_battery_level]
00:48:23.989 [pool-1-thread-2] ERROR o.o.j.s.RecurrenceEventFilter        ║  ╚══╦═⚀ Could not extract service type from item name!
00:48:23.989 [pool-1-thread-2] ERROR o.o.j.s.RecurrenceEventFilter        ║     ╚════⚀ 1
00:48:23.989 [pool-1-thread-2] ERROR o.o.j.s.RecurrenceEventFilter        ╠══╦═⚀ Could not extract meta data out of item name[zwave_device_0829b86a_node4_sensor_temperature]
00:48:23.989 [pool-1-thread-2] ERROR o.o.j.s.RecurrenceEventFilter        ║  ╚══╦═⚀ Could not extract service type from item name!
00:48:23.989 [pool-1-thread-2] ERROR o.o.j.s.RecurrenceEventFilter        ║     ╚════⚀ 1
00:48:24.001 [pool-1-thread-2] ERROR o.o.j.s.RecurrenceEventFilter        ╠══╦═⚀ Could not extract meta data out of item name[zwave_device_0829b86a_node4_sensor_seismicintensity]
00:48:24.001 [pool-1-thread-2] ERROR o.o.j.s.RecurrenceEventFilter        ║  ╚══╦═⚀ Could not extract service type from item name!
00:48:24.001 [pool-1-thread-2] ERROR o.o.j.s.RecurrenceEventFilter        ║     ╚════⚀ 1
00:48:24.001 [pool-1-thread-2] ERROR o.o.j.s.RecurrenceEventFilter        ╠══╦═⚀ Could not extract meta data out of item name[zwave_device_0829b86a_node4_alarm_tamper]
00:48:24.001 [pool-1-thread-2] ERROR o.o.j.s.RecurrenceEventFilter        ║  ╚══╦═⚀ Could not extract service type from item name!
00:48:24.002 [pool-1-thread-2] ERROR o.o.j.s.RecurrenceEventFilter        ║     ╚════⚀ 1
00:48:24.002 [pool-1-thread-2] ERROR o.o.j.s.RecurrenceEventFilter        ╠══╦═⚀ Could not extract meta data out of item name[zwave_device_0829b86a_node4_alarm_motion]
00:48:24.002 [pool-1-thread-2] ERROR o.o.j.s.RecurrenceEventFilter        ║  ╚══╦═⚀ Could not extract service type from item name!
00:48:24.002 [pool-1-thread-2] ERROR o.o.j.s.RecurrenceEventFilter        ║     ╚════⚀ 1
00:48:24.002 [pool-1-thread-2] ERROR o.o.j.s.RecurrenceEventFilter        ╚══╦═⚀ Could not extract meta data out of item name[zwave_device_0829b86a_node4_sensor_luminance]
00:48:24.002 [pool-1-thread-2] ERROR o.o.j.s.RecurrenceEventFilter           ╚══╦═⚀ Could not extract service type from item name!
00:48:24.002 [pool-1-thread-2] ERROR o.o.j.s.RecurrenceEventFilter              ╚════⚀ 1
00:48:24.002 [pool-1-thread-2] ERROR o.o.j.s.RecurrenceEventFilter =====================================
DivineThreepwood commented 4 years ago

That seems not to be a bug, only the error message is a little bit confusing. The 7 entries could not be removed because they were never registered by bco. Openhab 2.5 seems to automatically create missing items for new things. After bco is taking over, the items are renamed in a way that bco can detect its service mapping via the name. Therefore, the items initially created by openhab are removed. This causes the error message because the old items names can not be mapped on any service because of the initial name pattern.

So this issue seems not to be any bug but a log style issue.

DivineThreepwood commented 4 years ago

Please follow this howto to solve the issue: https://basecubeone.org/user/howto/setup-openhab.html