I have the same issue. Even more strange: If an item was already member of another group, also this group membership is deleted from the Group, but not from the item itself.
I changed the item “heizung_1” that was already member of group “Heizung” to be member of an additional group:
00:27:29.499 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'heizung_1' received command ON
00:27:29.611 [INFO ] [marthome.event.ItemStateChangedEvent] - heizung_1 changed from OFF to ON
00:27:32.381 [INFO ] [marthome.event.ItemStateChangedEvent] - balkon_press changed from 1023.41 to 1023.46
00:27:32.402 [INFO ] [ome.event.GroupItemStateChangedEvent] - pressure changed from 1023.41 to 1023.46 through balkon_press
00:27:33.181 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'heizung_2' received command ON
00:27:33.319 [INFO ] [marthome.event.ItemStateChangedEvent] - heizung_2 changed from OFF to ON
00:27:33.326 [INFO ] [ome.event.GroupItemStateChangedEvent] - Heizung changed from OFF to UNDEF through heizung_2
00:27:33.359 [INFO ] [g.eclipse.smarthome.model.script.BOT] - Group 'Heizung' received updateHeizung (Type=GroupItem, Members=11, State=UNDEF, Label=null, Category=null)
00:27:35.734 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'heizung_2' received command OFF
00:27:35.876 [INFO ] [ome.event.GroupItemStateChangedEvent] - Heizung changed from UNDEF to OFF through heizung_2
00:27:35.883 [INFO ] [marthome.event.ItemStateChangedEvent] - heizung_2 changed from ON to OFF
00:27:35.917 [INFO ] [g.eclipse.smarthome.model.script.BOT] - Group 'Heizung' received updateHeizung (Type=GroupItem, Members=11, State=OFF, Label=null, Category=null)
00:27:36.650 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'heizung_1' received command OFF
00:27:36.784 [INFO ] [marthome.event.ItemStateChangedEvent] - heizung_1 changed from ON to OFF
According to the number of members (11) the Group ‘Heizung’ is complete - however, the group does NOT receive update if heizung_1 is updated - and the new group is not listed for the item heizung_1.
I have the same issue. Still no resolution? I can’t imagine someone can use openHAB without groups or restart openHAB after every change of group membership of items.
Same issue for me… changes in one of my *.items files are not reflected in Openhab untill i restart Openhab. Pretty annoying… and i haven’t found a solution yet.
Recreating the items file and its contents does not make a difference…
I was trying out groups in my setup this evening. Decided to group all lights into single switch group.
All items has been already defined in my config and worked well via bindings.
And my new group was empty, no items was registered under the group. I was pulling my hairs for about two hours to find out what’s happening, searching forums and manuals. To no avail.
Then I added new dummy item to my config and added to Lights group. And it appeared under group listing!
Then I commented out all my existing items, saved my.items; uncommented them back, saved.
And my Lights group was then filled with all the items and worked as expected afterwards!