Skip to content

Monitor and control your Unraid server from Homey

License

Notifications You must be signed in to change notification settings

ruaan-deysel/community.unraid.api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

GitHub Last Commit License Ask DeepWiki

Unraid API Homey App

Monitor and control your Unraid server from Homey. The app polls Unraid's GraphQL API without waking disks from standby and provides tiles, flows, and alerts for system, storage, UPS, containers, and VMs.

Features

  • Array status, parity state, and total/free/used storage
  • Per-disk usage tiles (up to 30) with dynamic capability management so only present disks appear
  • Cache and flash (boot USB) usage tiles
  • Disk health/temp warnings and high-usage triggers
  • Container and VM counts and start/stop flows
  • UPS status, battery, load, runtime
  • Flow triggers/conditions for array, disks, containers, VMs, UPS

Project Layout

Development

Use the Dev Container. Tooling is preconfigured for Node.js and Homey CLI.

Prerequisites

  • Node.js 18+
  • Homey CLI (npm i -g homey), though the dev container has it installed

Install

npm ci

Lint

npm run lint -- --ignore-pattern vitest.config.ts

(ESLint must pass with zero warnings before committing.)

Build

npm run build

Test

npm test

Run in debug against a Self-Hosted Homey

npx homey app run

GitHub Actions

Key Implementation Notes

  • Disk standby safety: polling uses array.disks (cached) and never the root disks SMART query, so disks can spin down normally.
  • Dynamic capabilities: disk tiles are added/removed based on detected disks; cache/flash tiles are added only when present.
  • Logging: use this.log() within the app/driver for consistency.

Releasing

  1. Ensure lint/tests pass.
  2. Update changelog/version via the version workflow (or manually bump app.json if needed).
  3. Run the Publish workflow with HOMEY_PAT configured.

Support / Contributions

  • Issues and PRs are welcome. Follow linting/test requirements and keep Homey SDK best practices.

Note: README.txt is kept for Homey App Store publishing; this README.md is for developers.

About

Monitor and control your Unraid server from Homey

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published