浏览代码

system stats on a 128x64 I2C OLED display (#86)

Macley 2 年之前
父节点
当前提交
63c1b879cf

+ 1 - 1
docs/AppList.md

@@ -4,7 +4,6 @@ List of all apps included in this project with info related to it.
 
 |**Arm32:**          |**Arm64:**|**Amd64:**|**Total:**|
 |:-------------------|:--------:|:--------:|:--------:|
-| 172 apps | 187 apps | 185 apps | 187 apps |
 
 ---
 
@@ -120,6 +119,7 @@ List of all apps included in this project with info related to it.
 |[NUT Server](https://networkupstools.org)|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|Container| [![](../build/images/blue_doc_icon.png)](https://hub.docker.com/r/instantlinux/nut-upsd) |  |  |  |
 |[NZBGet](https://nzbget.net/)|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|Container| [![](../build/images/blue_doc_icon.png)](https://docs.linuxserver.io/images/docker-nzbget) |  |  |  |
 |[NZBHydra 2](https://github.com/theotherp/nzbhydra2)|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|Container| [![](../build/images/blue_doc_icon.png)](https://docs.linuxserver.io/images/docker-nzbhydra2) |  |  |  |
+|[System Stats OLED display](https://www.the-diy-life.com/)|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|Container| [![](../build/images/blue_doc_icon.png)](https://github.com/mklements/OLED_Stats_Docker) |  |  |  |
 |[Omada EAP Controller](https://www.tp-link.com/us/business-networking/omada-sdn-controller/)|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|Container| [![](../build/images/blue_doc_icon.png)](https://hub.docker.com/r/mbentley/omada-controller) |  |  |  |
 |[Ombi](https://ombi.io/)|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|Container| [![](../build/images/blue_doc_icon.png)](https://docs.linuxserver.io/images/docker-ombi) |  |  |  |
 |[Organizr v2](https://organizr.app/)|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|Container| [![](../build/images/blue_doc_icon.png)](https://hub.docker.com/r/organizr/organizr) |  |  |  |

+ 37 - 0
pi-hosted_template/template/portainer-v2.json

@@ -6040,6 +6040,43 @@
 			],
 			"note": "<h3>Template created by Pi-Hosted Series</h3><b>Check our Github page: <a href=\"https://github.com/pi-hosted/pi-hosted\" target=\"_blank\">https://github.com/pi-hosted/pi-hosted</a></b><br><br><b>Official Webpage: </b><a href=\"https://syncthing.net/\" target=\"_blank\">https://syncthing.net/</a><br><b>Official Docker Documentation: </b><a href=\"https://docs.linuxserver.io/images/docker-syncthing\" target=\"_blank\">https://docs.linuxserver.io/images/docker-syncthing</a><br><br><br>"
 		},
+		{
+			"categories": [
+				"Monitor",
+				"Other"
+			],
+			"description": "A quick way to display system stats on a 128x64 I2C OLED display.",
+			"env": [
+				{
+					"default": "8:30",
+					"name": "start"
+				},
+				{
+					"default": "23:00",
+					"name": "end"
+				}
+			],
+			"note": "<h3>Template created by Pi-Hosted Series</h3><b>Check our Github page: <a href=\"https://github.com/pi-hosted/pi-hosted\" target=\"_blank\">https://github.com/pi-hosted/pi-hosted</a></b><br><br><b>Official Webpage: </b><a href=\"https://www.the-diy-life.com/\" target=\"_blank\">https://www.the-diy-life.com/</a><br><b>Official Docker Documentation: </b><a href=\"https://github.com/mklements/OLED_Stats_Docker\" target=\"_blank\">https://github.com/mklements/OLED_Stats_Docker</a><br><br><br>Run this command first to enable is2 communication! sudo raspi-config nonint do_i2c 0",
+			"image": "macley/oled_stats:latest",
+			"logo": "https://camo.githubusercontent.com/4cf4aaa1e53612347e4d48f152d6d4eea0ce93a6ecacacaa9d44061d0994b408/68747470733a2f2f7777772e7468652d6469792d6c6966652e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032322f30392f3138373137323831322d64653264653635632d626433302d343065372d613835322d3264343234656463323761622e6a7067",
+			"name": "OLED_Stats",
+			"platform": "linux",
+			"restart_policy": "unless-stopped",
+			"title": "System Stats OLED display",
+			"type": 1,
+			"volumes": [
+				{
+					"bind": "/etc/timezone",
+					"container": "/etc/timezone"
+				},
+				{
+					"bind": "/etc/localtime",
+					"container": "/etc/localtime"
+				}
+			],
+			"network": "host",
+			"privileged": true
+		},
 		{
 			"categories": [
 				"Other",

+ 41 - 0
template/apps/oled_stats_SSD1306_128x64.json

@@ -0,0 +1,41 @@
+{
+	"categories": [
+		"Monitor",
+		"Other"
+	],
+	"description": "A quick way to display system stats on a 128x64 I2C OLED display.",
+	"env": [
+		{
+			"default": "8:30",
+			"name": "start"
+		},
+		{
+			"default": "23:00",
+			"name": "end"
+		}
+	],
+	"note": "Run this command first to enable is2 communication! sudo raspi-config nonint do_i2c 0",
+	"image_arm32": "macley/oled_stats:latest",
+	"image_arm64": "macley/oled_stats:latest",
+	"image_amd64": "macley/oled_stats:latest",
+	"logo": "https://camo.githubusercontent.com/4cf4aaa1e53612347e4d48f152d6d4eea0ce93a6ecacacaa9d44061d0994b408/68747470733a2f2f7777772e7468652d6469792d6c6966652e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032322f30392f3138373137323831322d64653264653635632d626433302d343065372d613835322d3264343234656463323761622e6a7067",
+	"name": "OLED_Stats",
+	"officialDoc": "https://github.com/mklements/OLED_Stats_Docker",
+	"platform": "linux",
+	"restart_policy": "unless-stopped",
+	"title": "System Stats OLED display",
+	"type": 1,
+	"volumes": [
+		{
+			"bind": "/etc/timezone",
+			"container": "/etc/timezone"
+		},
+		{
+			"bind": "/etc/localtime",
+			"container": "/etc/localtime"
+		}
+	],
+	"network": "host",
+	"privileged": true,
+	"webpage": "https://www.the-diy-life.com/"
+}

+ 37 - 0
template/portainer-v2-amd64.json

@@ -6802,6 +6802,43 @@
 			],
 			"note": "<h3>Template created by Pi-Hosted Series</h3><b>Check our Github page: <a href=\"https://github.com/pi-hosted/pi-hosted\" target=\"_blank\">https://github.com/pi-hosted/pi-hosted</a></b><br><br><b>Official Webpage: </b><a href=\"https://syncthing.net/\" target=\"_blank\">https://syncthing.net/</a><br><b>Official Docker Documentation: </b><a href=\"https://docs.linuxserver.io/images/docker-syncthing\" target=\"_blank\">https://docs.linuxserver.io/images/docker-syncthing</a><br><br><br>"
 		},
+		{
+			"categories": [
+				"Monitor",
+				"Other"
+			],
+			"description": "A quick way to display system stats on a 128x64 I2C OLED display.",
+			"env": [
+				{
+					"default": "8:30",
+					"name": "start"
+				},
+				{
+					"default": "23:00",
+					"name": "end"
+				}
+			],
+			"note": "<h3>Template created by Pi-Hosted Series</h3><b>Check our Github page: <a href=\"https://github.com/pi-hosted/pi-hosted\" target=\"_blank\">https://github.com/pi-hosted/pi-hosted</a></b><br><br><b>Official Webpage: </b><a href=\"https://www.the-diy-life.com/\" target=\"_blank\">https://www.the-diy-life.com/</a><br><b>Official Docker Documentation: </b><a href=\"https://github.com/mklements/OLED_Stats_Docker\" target=\"_blank\">https://github.com/mklements/OLED_Stats_Docker</a><br><br><br>Run this command first to enable is2 communication! sudo raspi-config nonint do_i2c 0",
+			"image": "macley/oled_stats:latest",
+			"logo": "https://camo.githubusercontent.com/4cf4aaa1e53612347e4d48f152d6d4eea0ce93a6ecacacaa9d44061d0994b408/68747470733a2f2f7777772e7468652d6469792d6c6966652e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032322f30392f3138373137323831322d64653264653635632d626433302d343065372d613835322d3264343234656463323761622e6a7067",
+			"name": "OLED_Stats",
+			"platform": "linux",
+			"restart_policy": "unless-stopped",
+			"title": "System Stats OLED display",
+			"type": 1,
+			"volumes": [
+				{
+					"bind": "/etc/timezone",
+					"container": "/etc/timezone"
+				},
+				{
+					"bind": "/etc/localtime",
+					"container": "/etc/localtime"
+				}
+			],
+			"network": "host",
+			"privileged": true
+		},
 		{
 			"categories": [
 				"Other",

+ 37 - 0
template/portainer-v2-arm32.json

@@ -6040,6 +6040,43 @@
 			],
 			"note": "<h3>Template created by Pi-Hosted Series</h3><b>Check our Github page: <a href=\"https://github.com/pi-hosted/pi-hosted\" target=\"_blank\">https://github.com/pi-hosted/pi-hosted</a></b><br><br><b>Official Webpage: </b><a href=\"https://syncthing.net/\" target=\"_blank\">https://syncthing.net/</a><br><b>Official Docker Documentation: </b><a href=\"https://docs.linuxserver.io/images/docker-syncthing\" target=\"_blank\">https://docs.linuxserver.io/images/docker-syncthing</a><br><br><br>"
 		},
+		{
+			"categories": [
+				"Monitor",
+				"Other"
+			],
+			"description": "A quick way to display system stats on a 128x64 I2C OLED display.",
+			"env": [
+				{
+					"default": "8:30",
+					"name": "start"
+				},
+				{
+					"default": "23:00",
+					"name": "end"
+				}
+			],
+			"note": "<h3>Template created by Pi-Hosted Series</h3><b>Check our Github page: <a href=\"https://github.com/pi-hosted/pi-hosted\" target=\"_blank\">https://github.com/pi-hosted/pi-hosted</a></b><br><br><b>Official Webpage: </b><a href=\"https://www.the-diy-life.com/\" target=\"_blank\">https://www.the-diy-life.com/</a><br><b>Official Docker Documentation: </b><a href=\"https://github.com/mklements/OLED_Stats_Docker\" target=\"_blank\">https://github.com/mklements/OLED_Stats_Docker</a><br><br><br>Run this command first to enable is2 communication! sudo raspi-config nonint do_i2c 0",
+			"image": "macley/oled_stats:latest",
+			"logo": "https://camo.githubusercontent.com/4cf4aaa1e53612347e4d48f152d6d4eea0ce93a6ecacacaa9d44061d0994b408/68747470733a2f2f7777772e7468652d6469792d6c6966652e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032322f30392f3138373137323831322d64653264653635632d626433302d343065372d613835322d3264343234656463323761622e6a7067",
+			"name": "OLED_Stats",
+			"platform": "linux",
+			"restart_policy": "unless-stopped",
+			"title": "System Stats OLED display",
+			"type": 1,
+			"volumes": [
+				{
+					"bind": "/etc/timezone",
+					"container": "/etc/timezone"
+				},
+				{
+					"bind": "/etc/localtime",
+					"container": "/etc/localtime"
+				}
+			],
+			"network": "host",
+			"privileged": true
+		},
 		{
 			"categories": [
 				"Other",

+ 37 - 0
template/portainer-v2-arm64.json

@@ -6854,6 +6854,43 @@
 			],
 			"note": "<h3>Template created by Pi-Hosted Series</h3><b>Check our Github page: <a href=\"https://github.com/pi-hosted/pi-hosted\" target=\"_blank\">https://github.com/pi-hosted/pi-hosted</a></b><br><br><b>Official Webpage: </b><a href=\"https://syncthing.net/\" target=\"_blank\">https://syncthing.net/</a><br><b>Official Docker Documentation: </b><a href=\"https://docs.linuxserver.io/images/docker-syncthing\" target=\"_blank\">https://docs.linuxserver.io/images/docker-syncthing</a><br><br><br>"
 		},
+		{
+			"categories": [
+				"Monitor",
+				"Other"
+			],
+			"description": "A quick way to display system stats on a 128x64 I2C OLED display.",
+			"env": [
+				{
+					"default": "8:30",
+					"name": "start"
+				},
+				{
+					"default": "23:00",
+					"name": "end"
+				}
+			],
+			"note": "<h3>Template created by Pi-Hosted Series</h3><b>Check our Github page: <a href=\"https://github.com/pi-hosted/pi-hosted\" target=\"_blank\">https://github.com/pi-hosted/pi-hosted</a></b><br><br><b>Official Webpage: </b><a href=\"https://www.the-diy-life.com/\" target=\"_blank\">https://www.the-diy-life.com/</a><br><b>Official Docker Documentation: </b><a href=\"https://github.com/mklements/OLED_Stats_Docker\" target=\"_blank\">https://github.com/mklements/OLED_Stats_Docker</a><br><br><br>Run this command first to enable is2 communication! sudo raspi-config nonint do_i2c 0",
+			"image": "macley/oled_stats:latest",
+			"logo": "https://camo.githubusercontent.com/4cf4aaa1e53612347e4d48f152d6d4eea0ce93a6ecacacaa9d44061d0994b408/68747470733a2f2f7777772e7468652d6469792d6c6966652e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032322f30392f3138373137323831322d64653264653635632d626433302d343065372d613835322d3264343234656463323761622e6a7067",
+			"name": "OLED_Stats",
+			"platform": "linux",
+			"restart_policy": "unless-stopped",
+			"title": "System Stats OLED display",
+			"type": 1,
+			"volumes": [
+				{
+					"bind": "/etc/timezone",
+					"container": "/etc/timezone"
+				},
+				{
+					"bind": "/etc/localtime",
+					"container": "/etc/localtime"
+				}
+			],
+			"network": "host",
+			"privileged": true
+		},
 		{
 			"categories": [
 				"Other",