Unraid JSON API

OVERVIEW

Introduction

This Unraid plugin is a wrapper for reading the files used by Unraid / emhttpd for displaying various statistics, the files are read from /var/local/emhttp/*.ini and are converted to JSON for easy access by services/applications like Home Assistant

This plugin has no ‘frontend’ and is only accessible directly via http://TOWER/plugins/jsonapi/api.php?file=XXX.ini for example to get the disks.ini file you would do http://TOWER/plugins/jsonapi/api.php?file=disks.ini

currently the following files exist that can be used

  • cpuload.ini
  • devs.ini
  • diskload.ini
  • disks.ini
  • monitor.ini
  • network.ini
  • sec.ini
  • sec_afp.ini
  • sec_nfs.ini
  • shares.ini
  • users.ini
  • var.ini
https://community.home-assistant.io/t/unraid-json-api/158652
https://forums.unraid.net/topic/86646-plugin-unraid-json-api/

Usage

Plugins > Install Plugin

https://raw.githubusercontent.com/Cyanlabs/jsonapi-unraid/master/jsonapi.plg

Information

Programming Language: PHP (Unraid Plugin)
License: MIT
Requirements: Unraid 6.4 or above.

Downloads

NO DOWNLOADS AVAILABLE

Source Code

Check out our GitHub Repository
Source Code

Need Help?

Join our Discord server
Discuss on Discord
cross