info-beamer

Device looses group

When setting the setup using the API, the device looses its own group and goes to “Ungrouped”.

Are you sure you don’t set the device description in that same call using the description argument? The group is purely based on that (it’s everything before a /).

Aha. Yes - the name and the description is set whenever the setup is changed.

To make this more clear: The group is purely based on the content of the description value. If the device’s description is foo/bar the website interface shows that as group foo, name bar. Group assignment therefore is just changing (or adding) such a prefix.

By the way: This is similar to show paths are implemented for assets. All paths are the result of / splits. As a side effect, you cannot have a path without assets in it, just like you cannot have device groups without devices.

1 Like
info-beamer - Digital Signage for the Raspberry Pi community forum - Imprint