RaspberryMatic icon indicating copy to clipboard operation
RaspberryMatic copied to clipboard

groups can't be changed if there is a new device in the inbox

Open grunes opened this issue 3 years ago • 12 comments

Describe the bug It's not longer possible to edit groups if there is a new device in the inbox. Web-UI is freezing during device configuration. Seams to be a re-bug of #945

Steps to reproduce the behavior

  1. Add a new device, must be in the inbox ("Posteingang")
  2. Edit a group (e.g. remove a device)
  3. press OK button

Expected behavior group should be saved without the deleted device.

Screenshots image

System information:

  • RaspberryMatic Version: 3.59.6.20210911
  • Used Hardware: Asus Tinker Board S
  • Used HomeMatic RF-Module: RPI-RF-MOD

Additional context after removing the new device from the inbox, the group can be saved as expected.

grunes avatar Oct 04 '21 10:10 grunes

Usual question: @Baxxy13 @jp112sdl can you reproduce this issue? My feeling is that this might be some internal issue in the web parts in HMIPServer which we don't have access to in the end. Would be great if someone can try to reproduce it.

jens-maus avatar Oct 05 '21 10:10 jens-maus

I cannot test adding/removing devices to an HmIP-group, because I have no HmIP devices.

But with having a BidCos device in the inbox, I can create/delete/edit a "classic HM" group without any error and I can create/delete an empty HmIP-group, too.

jp112sdl avatar Oct 05 '21 11:10 jp112sdl

I can reproduce this and maybe found something. The teached in device (HmIP-SCI in this case) which is still located in the inbox... SCI in Posteingang

... will showed as an addable device, but without icon and an unconventional name. IP-GRUPPE bei Gerät im Posteingang_A

Adding this strange device or any other possible device ends up in the rotating circle. IP-GRUPPE bei Gerät im Posteingang_B

Sorry für's holprige Englisch. Darf gerne korrigiert werden.

Baxxy13 avatar Oct 05 '21 17:10 Baxxy13

We even can switch to German!

grunes avatar Oct 06 '21 05:10 grunes

Thanks for your contribution! This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of RaspberryMatic and tell us. Also check that all relevant details,


Vielen Dank für die Unterstützung! Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab. Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden. Bitte überprüfen Sie, ob das Problem auch in der aktuellsten Version von RaspberryMatic noch relevant ist, und teilen Sie uns dies mit. Überprüfen Sie auch, ob alle relevanten Details, Logs und Reproduktionsschritte enthalten sind oder aktualisiert werden müssen.

stale[bot] avatar Jan 28 '22 13:01 stale[bot]

any updates?

grunes avatar Jan 31 '22 15:01 grunes

Thanks for your contribution!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of RaspberryMatic and tell us. Also check that all relevant details,


Vielen Dank für die Unterstützung!
Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab. Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden. Bitte überprüfen Sie, ob das Problem auch in der aktuellsten Version von RaspberryMatic noch relevant ist, und teilen Sie uns dies mit. Überprüfen Sie auch, ob alle relevanten Details, Logs und Reproduktionsschritte enthalten sind oder aktualisiert werden müssen.

stale[bot] avatar May 02 '22 05:05 stale[bot]

  • I cannot add any devices to a group.
  • Stuck with "Gruppe wird gespeichert"
  • Inbox is empty
  • Running version 3.65.11.20221218

image

rene-re avatar Dec 22 '22 15:12 rene-re

Known problem in the actual RaspberryMatic. Solutions:

  • Downgrade
  • use actual Nightly Snapshaot
  • repair it "manually" --> see here

Baxxy13 avatar Dec 22 '22 15:12 Baxxy13

You forgot to mention also: Read carefully through an existing ticket/issue before hijacking it because this issue here is substantially different because it relates to the point that adding groups is not possible if there is a device waiting in the inbox!

jens-maus avatar Dec 22 '22 16:12 jens-maus

Thanks for the swift response and help. I also noted your feedback that my response is not identical - should it might provide additional context. Thanks! @jens-maus @Baxxy13

rene-re avatar Dec 22 '22 16:12 rene-re

Hi,

I ran into this issue today. Same error message as in the original post. My setup is running on version 3.73.9.20231130 on a RPi4 through the HomeAssistant Addon.

I could pinpoint the error to occur here. Generally when devices are added to the assignableDevices of the viewModel here, the device member is not set if the device is still in the inbox.

I am not sure if the problem is caused by the response caused by either of these 3. Each of them can be adjusted to fix the problem.

  • the API response from /pages/jpages/group/suitableGroupMembers - since the devices don't seem to be suitable
  • the part that adapts the json response into the assignableDevices of the viewModel
  • the part when the remaining assignableDevices are marked as not in the group without checking if the device member even exists

Any input on the direction of how the fix should be applied would be appreciated.

@jens-maus @grunes

sikraemer avatar Jan 29 '24 22:01 sikraemer