Add DeviceShelf 1.9.6 - #991
Open
wealthwallet wants to merge 4 commits into
Open
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a new CasaOS AppStore entry for DeviceShelf Server (v1.7.7), packaging it as a Docker Compose app with CasaOS metadata so it can be installed and surfaced in the CasaOS UI.
Changes:
- Introduces a new
docker-compose.ymlmanifest for DeviceShelf Serverghcr.io/wealthwallet/deviceshelf-server:1.7.7. - Configures the service for LAN scanning via
network_mode: hostand required Linux capabilities. - Adds CasaOS store metadata (id/title/description/icon/tips) and persists data via a named volume.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+69
to
+71
| index: / | ||
| port_map: "8088" | ||
| scheme: http |
| machine. The server mints an access token on first start. Read it from the | ||
| CasaOS terminal with: | ||
| docker exec deviceshelf deviceshelf-server -token | ||
| webui_port: 8088 |
| main: deviceshelf | ||
| author: Christof Müller | ||
| developer: Christof Müller | ||
| category: Network |
Comment on lines
+15
to
+18
| # Left empty on purpose: the server mints a random token on first start | ||
| # and writes it to /DATA/AppData/deviceshelf/data/DeviceShelf/api-token, | ||
| # which CasaOS users can open in the Files app. Setting a fixed token here | ||
| # would put a credential in a public app-store manifest. |
Author
|
Updated to 1.9.4 ( |
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Adds DeviceShelf Server, a local network scanner and device inventory: it lists what is on the LAN with vendor, hostname, OS, device type, open ports and the services behind them, alerts on new devices / devices dropping offline / newly opened ports, and publishes favourites to Home Assistant over MQTT discovery.
Site: https://deviceshelf.app/server · Image:
ghcr.io/wealthwallet/deviceshelf-server(amd64 + arm64)Two packaging choices worth a reviewer's attention, both driven by testing rather than preference:
network_mode: host. Layer-2 discovery (ARP, mDNS, passive DHCP) only works inside the host's network namespace. On a bridge the scanner inventories Docker's own subnet and reports an almost empty LAN, which reads as a broken app. Tested on Ubuntu 24.04 (arm64): with host networking it found 39 devices on the real LAN with vendor, hostname and type.NET_RAWandNET_BIND_SERVICEare needed for the ARP scan and for passive DHCP fingerprinting on UDP/67; the process itself runs as an unprivileged uid.A named volume instead of a bind mount under
/DATA/AppData. The image runs as uid 10001. With a bind mount the server cannot create/data/DeviceShelf, logspermission deniedand restart-loops — reproduced on the same VM. A named volume is seeded from the image and keeps its ownership, and comes up healthy. If a bind mount under AppData is preferred here, it needs a chown to 10001 somewhere in the install path; happy to switch if CasaOS has a hook for that.The access token is generated on first start rather than pinned in the manifest, so no credential ships in a public app store. The
before_installtip tells users how to read it from the CasaOS terminal.DeviceShelf is proprietary, paid software: €59 once, no subscription, 7-day trial without a card. Flagging that plainly rather than leaving it for a reviewer to discover.