From 63c1b879cfa4e5833feece832c8e769c60e809d3 Mon Sep 17 00:00:00 2001 From: Macley <26381427+Macleykun@users.noreply.github.com> Date: Tue, 27 Sep 2022 03:41:22 +0200 Subject: [PATCH] system stats on a 128x64 I2C OLED display (#86) --- docs/AppList.md | 2 +- pi-hosted_template/template/portainer-v2.json | 37 +++++++++++++++++ template/apps/oled_stats_SSD1306_128x64.json | 41 +++++++++++++++++++ template/portainer-v2-amd64.json | 37 +++++++++++++++++ template/portainer-v2-arm32.json | 37 +++++++++++++++++ template/portainer-v2-arm64.json | 37 +++++++++++++++++ 6 files changed, 190 insertions(+), 1 deletion(-) create mode 100644 template/apps/oled_stats_SSD1306_128x64.json diff --git a/docs/AppList.md b/docs/AppList.md index 6b139ae..e63c9ab 100644 --- a/docs/AppList.md +++ b/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) | | | | diff --git a/pi-hosted_template/template/portainer-v2.json b/pi-hosted_template/template/portainer-v2.json index 21be5c6..9d78fc8 100644 --- a/pi-hosted_template/template/portainer-v2.json +++ b/pi-hosted_template/template/portainer-v2.json @@ -6040,6 +6040,43 @@ ], "note": "

Template created by Pi-Hosted Series

Check our Github page: https://github.com/pi-hosted/pi-hosted

Official Webpage: https://syncthing.net/
Official Docker Documentation: https://docs.linuxserver.io/images/docker-syncthing


" }, + { + "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": "

Template created by Pi-Hosted Series

Check our Github page: https://github.com/pi-hosted/pi-hosted

Official Webpage: https://www.the-diy-life.com/
Official Docker Documentation: https://github.com/mklements/OLED_Stats_Docker


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", diff --git a/template/apps/oled_stats_SSD1306_128x64.json b/template/apps/oled_stats_SSD1306_128x64.json new file mode 100644 index 0000000..3f74b84 --- /dev/null +++ b/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/" +} diff --git a/template/portainer-v2-amd64.json b/template/portainer-v2-amd64.json index eae2ddd..8bb03e5 100644 --- a/template/portainer-v2-amd64.json +++ b/template/portainer-v2-amd64.json @@ -6802,6 +6802,43 @@ ], "note": "

Template created by Pi-Hosted Series

Check our Github page: https://github.com/pi-hosted/pi-hosted

Official Webpage: https://syncthing.net/
Official Docker Documentation: https://docs.linuxserver.io/images/docker-syncthing


" }, + { + "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": "

Template created by Pi-Hosted Series

Check our Github page: https://github.com/pi-hosted/pi-hosted

Official Webpage: https://www.the-diy-life.com/
Official Docker Documentation: https://github.com/mklements/OLED_Stats_Docker


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", diff --git a/template/portainer-v2-arm32.json b/template/portainer-v2-arm32.json index 21be5c6..9d78fc8 100644 --- a/template/portainer-v2-arm32.json +++ b/template/portainer-v2-arm32.json @@ -6040,6 +6040,43 @@ ], "note": "

Template created by Pi-Hosted Series

Check our Github page: https://github.com/pi-hosted/pi-hosted

Official Webpage: https://syncthing.net/
Official Docker Documentation: https://docs.linuxserver.io/images/docker-syncthing


" }, + { + "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": "

Template created by Pi-Hosted Series

Check our Github page: https://github.com/pi-hosted/pi-hosted

Official Webpage: https://www.the-diy-life.com/
Official Docker Documentation: https://github.com/mklements/OLED_Stats_Docker


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", diff --git a/template/portainer-v2-arm64.json b/template/portainer-v2-arm64.json index 86cf57b..fb9b88e 100644 --- a/template/portainer-v2-arm64.json +++ b/template/portainer-v2-arm64.json @@ -6854,6 +6854,43 @@ ], "note": "

Template created by Pi-Hosted Series

Check our Github page: https://github.com/pi-hosted/pi-hosted

Official Webpage: https://syncthing.net/
Official Docker Documentation: https://docs.linuxserver.io/images/docker-syncthing


" }, + { + "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": "

Template created by Pi-Hosted Series

Check our Github page: https://github.com/pi-hosted/pi-hosted

Official Webpage: https://www.the-diy-life.com/
Official Docker Documentation: https://github.com/mklements/OLED_Stats_Docker


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",