iobroker.unraid 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 ingel81 <ingel81@sgeht.net>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,77 @@
1
+ ![Logo](admin/unraid.png)
2
+
3
+ # ioBroker.unraid
4
+
5
+ [![NPM version](https://img.shields.io/npm/v/iobroker.unraid.svg)](https://www.npmjs.com/package/iobroker.unraid)
6
+ [![Downloads](https://img.shields.io/npm/dm/iobroker.unraid.svg)](https://www.npmjs.com/package/iobroker.unraid)
7
+ ![Number of Installations](https://iobroker.live/badges/unraid-installed.svg)
8
+ ![Current version in stable repository](https://iobroker.live/badges/unraid-stable.svg)
9
+
10
+ [![NPM](https://nodei.co/npm/iobroker.unraid.png?downloads=true)](https://nodei.co/npm/iobroker.unraid/)
11
+
12
+ **Tests:** ![Test and Release](https://github.com/ingel81/ioBroker.unraid/workflows/Test%20and%20Release/badge.svg)
13
+
14
+ ## unraid adapter for ioBroker
15
+
16
+ This adapter connects ioBroker to Unraid servers via the GraphQL API to monitor system metrics and status.
17
+
18
+ ## Features
19
+
20
+ - Monitor CPU and memory usage
21
+ - Track server status and network information
22
+ - View system time and operating system details
23
+ - Support for self-signed certificates
24
+ - Configurable polling interval
25
+
26
+ ## Configuration
27
+
28
+ 1. **Base URL**: Enter your Unraid server address (e.g., `https://192.168.1.10` or `https://tower.local`)
29
+ 2. **API Token**: Generate an API token in your Unraid web UI settings and paste it here
30
+ 3. **Polling Interval**: Set how often to fetch data (default: 60 seconds)
31
+ 4. **Self-signed Certificates**: Enable if your Unraid server uses a self-signed HTTPS certificate
32
+ 5. **Data Domains**: Select which data categories to monitor (System Info, Server Status, Metrics, etc.)
33
+
34
+ ## Requirements
35
+
36
+ - Unraid server with GraphQL API enabled
37
+ - API token generated in Unraid web UI
38
+ - Network access from ioBroker to Unraid server
39
+
40
+ ## Changelog
41
+ ### 0.4.0 (2025-09-21)
42
+
43
+ - (ingel81) Adapter renamed to iobroker.unraid
44
+
45
+ ### 0.3.0 (2025-09-21)
46
+
47
+ - (ingel81) Translations
48
+ - (ingel81) Logo
49
+ - (ingel81) Readme
50
+
51
+ ### 0.2.2 (2025-09-21)
52
+
53
+ - (ingel81) Release testing with npm, reloaded2
54
+
55
+ ## License
56
+
57
+ MIT License
58
+
59
+ Copyright (c) 2025 ingel81 <ingel81@sgeht.net>
60
+
61
+ Permission is hereby granted, free of charge, to any person obtaining a copy
62
+ of this software and associated documentation files (the "Software"), to deal
63
+ in the Software without restriction, including without limitation the rights
64
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
65
+ copies of the Software, and to permit persons to whom the Software is
66
+ furnished to do so, subject to the following conditions:
67
+
68
+ The above copyright notice and this permission notice shall be included in all
69
+ copies or substantial portions of the Software.
70
+
71
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
72
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
73
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
74
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
75
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
76
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
77
+ SOFTWARE.
@@ -0,0 +1,2 @@
1
+ .logo-background-light,.logo-background-colored{background:#fff}.logo-background-dark,.logo-background-blue{background:#000}.logo-div{position:absolute;top:50%;left:50%;-ms-transform:translateX(-50%) translateY(-50%);-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);overflow:hidden;border-radius:50%;z-index:2}.logo-border{border-top-color:#39c;border-left-color:#164477;border-bottom-color:#164477;border-right-color:#164477;border-radius:50%;border-style:solid;box-sizing:border-box;width:100%;height:100%;position:absolute}.logo-top{position:absolute;width:4.5%;height:16%;top:0;z-index:2}.logo-i{position:absolute;width:14.5%;height:60%;top:20%;left:42%;background:#39c}.logo-i-top{position:absolute;width:14.5%;height:4%;left:42%;background:#39c;border-radius:100%}.logo-back{width:100%;height:100%;z-index:0;overflow:hidden}@keyframes logo-grow{0%{width:230px;height:230px;transform:translate(-50%,-50%) scale(1);opacity:1}99%{width:230px;height:230px;transform:translate(-50%,-50%) scale(10);opacity:0}to{width:0;height:0;opacity:0}}@keyframes logo-spin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes logo-color-inside-light{0%{background:#fefefe}to{background:#39c}}@keyframes logo-color-inside-dark{0%{background:#030303}to{background:#39c}}@keyframes logo-color-inside-colored{0%{background:#fefefe}to{background:#39c}}@keyframes logo-color-inside-blue{0%{background:#030303}to{background:#39c}}@keyframes logo-color-outside-light{0%{border-color:#fefefe}to{border-top-color:#39c;border-left-color:#164477;border-bottom-color:#164477;border-right-color:#164477}}@keyframes logo-color-outside-dark{0%{border-color:#040404}to{border-top-color:#39c;border-left-color:#164477;border-bottom-color:#164477;border-right-color:#164477}}@keyframes logo-color-outside-colored{0%{border-color:#fefefe}to{border-top-color:#39c;border-left-color:#164477;border-bottom-color:#164477;border-right-color:#164477}}@keyframes logo-color-outside-blue{0%{border-color:#040404}to{border-top-color:#39c;border-left-color:#164477;border-bottom-color:#164477;border-right-color:#164477}}.logo-animate-wait{animation:logo-color-outside 1.5s,logo-spin 1.5s linear infinite}.logo-animate-grow-light{background:#ddd}.logo-animate-grow-dark{background:#1d1d1d}.logo-animate-grow-colored{background:#ddd}.logo-animate-grow-blue{background:#1d1d1d}.logo-animate-grow{display:inline-block;text-align:center;z-index:1;top:50%;left:50%;-ms-transform:translateX(-50%) translateY(-50%);-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:245px;height:245px;border-radius:50%;position:absolute;animation:logo-grow 1s 1 ease forwards}.logo-animate-color-inside-light{animation:logo-color-inside-light 2.5s}.logo-animate-color-inside-dark{animation:logo-color-inside-dark 2.5s}.logo-animate-color-inside-colored{animation:logo-color-inside-colored 2.5s}.logo-animate-color-inside-blue{animation:logo-color-inside-blue 2.5s}.logo-animate-color-outside-light{animation:logo-color-outside-light 1.5s}.logo-animate-color-outside-dark{animation:logo-color-outside-dark 1.5s}.logo-animate-color-outside-colored{animation:logo-color-outside-colored 1.5s}.logo-animate-color-outside-blue{animation:logo-color-outside-blue 1.5s}html{height:100%}body{margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:100%;height:100%;overflow:hidden}::-webkit-scrollbar-track{background-color:#ccc;border-radius:5px}::-webkit-scrollbar{width:5px;height:5px;background-color:#ccc}::-webkit-scrollbar-thumb{background-color:#575757;border-radius:5px}#root,.App{height:100%}@keyframes glow{0%{background-color:initial}to{background-color:#58c458}}
2
+ /*# sourceMappingURL=index.css.map */
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../node_modules/@iobroker/adapter-react/Components/loader.css", "../../node_modules/@iobroker/adapter-react/index.css"],
4
+ "sourcesContent": ["/**\n * Copyright 2018-2021 bluefox <dogafox@gmail.com>\n *\n * MIT License\n *\n **/\n\n.logo-background-light, .logo-background-colored {\n background: white;\n}\n.logo-background-dark, .logo-background-blue {\n background: black;\n}\n.logo-div {\n position: absolute;\n top: 50%;\n left: 50%;\n -ms-transform: translateX(-50%) translateY(-50%);\n -webkit-transform: translate(-50%,-50%);\n transform: translate(-50%,-50%);\n overflow: hidden;\n border-radius: 50%;\n z-index: 2;\n}\n.logo-border {\n /*border-color: #164477;*/\n border-top-color: #3399CC;\n border-left-color: #164477;\n border-bottom-color: #164477;\n border-right-color: #164477;\n border-radius: 50%;\n border-style: solid;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n position: absolute;\n}\n.logo-top {\n position: absolute;\n width: 4.5%;\n height: 16%;\n top: 0;\n z-index: 2;\n}\n.logo-i {\n position: absolute;\n width: 14.5%;\n height: 60%;\n top: 20%;\n left: 42%;\n background: #3399CC;\n}\n.logo-i-top {\n position: absolute;\n width: 14.5%;\n height: 4%;\n left: 42%;\n background: #3399CC;\n border-radius: 100%;\n}\n.logo-back {\n width: 100%;\n height: 100%;\n z-index: 0;\n overflow: hidden;\n}\n@keyframes logo-grow {\n 0% {\n width: 230px;\n height: 230px;\n transform: translate(-50%,-50%) scale(1);\n opacity: 1\n }\n 99% {\n width: 230px;\n height: 230px;\n transform: translate(-50%,-50%) scale(10);\n opacity: 0;\n }\n 100% {\n width: 0;\n height: 0;\n opacity: 0;\n }\n}\n@keyframes logo-spin { 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } }\n@keyframes logo-color-inside-light {\n 0% {\n background: #FEFEFE;\n }\n 100% {\n background: #3399CC;\n }\n}\n@keyframes logo-color-inside-dark {\n 0% {\n background: #030303;\n }\n 100% {\n background: #3399CC;\n }\n}\n@keyframes logo-color-inside-colored {\n 0% {\n background: #FEFEFE;\n }\n 100% {\n background: #3399CC;\n }\n}\n@keyframes logo-color-inside-blue {\n 0% {\n background: #030303;\n }\n 100% {\n background: #3399CC;\n }\n}\n\n@keyframes logo-color-outside-light {\n 0% {\n border-color: #FEFEFE;\n }\n 100% {\n border-top-color: #3399CC;\n border-left-color: #164477;\n border-bottom-color: #164477;\n border-right-color: #164477;\n }\n}\n@keyframes logo-color-outside-dark {\n 0% {\n border-color: #040404;\n }\n 100% {\n border-top-color: #3399CC;\n border-left-color: #164477;\n border-bottom-color: #164477;\n border-right-color: #164477;\n }\n}\n@keyframes logo-color-outside-colored {\n 0% {\n border-color: #FEFEFE;\n }\n 100% {\n border-top-color: #3399CC;\n border-left-color: #164477;\n border-bottom-color: #164477;\n border-right-color: #164477;\n }\n}\n@keyframes logo-color-outside-blue {\n 0% {\n border-color: #040404;\n }\n 100% {\n border-top-color: #3399CC;\n border-left-color: #164477;\n border-bottom-color: #164477;\n border-right-color: #164477;\n }\n}\n\n.logo-animate-wait {\n animation: logo-color-outside 1.5s, logo-spin 1.5s linear infinite;\n}\n\n.logo-animate-grow-light {\n background: #DDD;\n}\n.logo-animate-grow-dark {\n background: #1d1d1d;\n}\n.logo-animate-grow-colored {\n background: #DDD;\n}\n.logo-animate-grow-blue {\n background: #1d1d1d;\n}\n\n.logo-animate-grow {\n display: inline-block;\n text-align: center;\n z-index: 1;\n top: 50%;\n left: 50%;\n -ms-transform: translateX(-50%) translateY(-50%);\n -webkit-transform: translate(-50%,-50%);\n transform: translate(-50%,-50%);\n width: 245px;\n height: 245px;\n border-radius: 50%;\n position: absolute;\n animation: logo-grow 1s 1 ease forwards;\n}\n\n.logo-animate-color-inside-light {\n animation: logo-color-inside-light 2.5s;\n}\n.logo-animate-color-inside-dark {\n animation: logo-color-inside-dark 2.5s;\n}\n.logo-animate-color-inside-colored {\n animation: logo-color-inside-colored 2.5s;\n}\n.logo-animate-color-inside-blue {\n animation: logo-color-inside-blue 2.5s;\n}\n\n.logo-animate-color-outside-light {\n animation: logo-color-outside-light 1.5s;\n}\n.logo-animate-color-outside-dark {\n animation: logo-color-outside-dark 1.5s;\n}\n.logo-animate-color-outside-colored {\n animation: logo-color-outside-colored 1.5s;\n}\n.logo-animate-color-outside-blue {\n animation: logo-color-outside-blue 1.5s;\n}", "/**\n * Copyright 2018-2020 bluefox <dogafox@gmail.com>\n *\n * MIT License\n *\n **/\n\nhtml {\n height: 100%;\n}\n\nbody {\n margin: 0;\n padding: 0;\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Cantarell\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n width: 100%;\n height: 100%;\n overflow: hidden;\n}\n\n/* scrollbar */\n::-webkit-scrollbar-track {\n background-color: #ccc;\n border-radius: 5px;\n}\n\n::-webkit-scrollbar {\n width: 5px;\n height: 5px;\n background-color: #ccc;\n}\n\n::-webkit-scrollbar-thumb {\n background-color: #575757;\n border-radius: 5px;\n}\n\n#root {\n height: 100%;\n}\n\n.App {\n height: 100%;\n}\n\n@keyframes glow {\n from {\n background-color: initial;\n }\n to {\n background-color: #58c458;\n }\n}"],
5
+ "mappings": "AAOA,CAAC,sBAAuB,CAAC,wBACrB,WAAY,IAChB,CACA,CAAC,qBAAsB,CAAC,qBACpB,WAAY,IAChB,CACA,CAAC,SACG,SAAU,SACV,IAAK,IACL,KAAM,IACN,cAAe,WAAW,MAAM,WAAW,MAC3C,kBAAmB,UAAU,IAAI,CAAC,MAClC,UAAW,UAAU,IAAI,CAAC,MAC1B,SAAU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