Skip to content

Commit 23272ff

Browse files
authored
VERSION: bump to 3.0.1
# Version 3.0.1 🚀 ### CoolerControl 4.0 Support This release adds full compatibility with CoolerControl 4.0, which introduces significant security and authentication changes. Please read the following carefully before updating. --- ### ⚠️ Action Required — Auth Token Setup CoolerControl 4.0 now requires authentication for API access. To continue using CoolerDash with CC4, you need to create an **Access Token** in the CoolerControl UI: 1. Open the CoolerControl UI 2. Navigate to left down corner press the 🔒**→ Access Token** 3. Generate a new Access Token 4. Copy your token-key `cc_ ` 5. Enter the token in CoolerDash's connection settings in the Plugin-UI --- ### Changes - **feat:** CoolerControl 4.0 support — TLS verification, token-based auth, LCD upload, native shutdown image - **feat:** New configuration fields for CC4 connection settings - **ui:** Moved expert settings to a dedicated tab - **fix:** Stale INI/filename references resolved - **plugin:** Removed deprecated services and functions - **docs:** Updated guides and documentation for CC4
2 parents 1193c8a + 4c98a4f commit 23272ff

29 files changed

Lines changed: 722 additions & 5103 deletions

.SRCINFO

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
pkgbase = coolerdash
2-
pkgdesc = Monitor telemetry data on an AIO liquid cooler with an integrated LCD display
3-
pkgver = 2.2.6
2+
pkgdesc = Plug-in for CoolerControl that extends the LCD functionality with additional features
3+
pkgver = 3.0.1
44
pkgrel = 1
55
url = https://github.com/damachine/coolerdash
66
install = coolerdash.install
@@ -11,7 +11,6 @@ pkgbase = coolerdash
1111
makedepends = pkg-config
1212
makedepends = git
1313
depends = cairo
14-
depends = coolercontrol
1514
depends = jansson
1615
depends = libcurl-gnutls
1716
depends = ttf-roboto

.github/workflows/install.yml

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -156,30 +156,6 @@ jobs:
156156
echo "⚠️ Manual page not found"
157157
fi
158158
159-
# Check systemd helperd service
160-
if [ -f "/tmp/install-test/usr/lib/systemd/system/coolerdash-helperd.service" ]; then
161-
echo "✅ Systemd helperd service installed"
162-
else
163-
echo "❌ Systemd helperd service not found"
164-
exit 1
165-
fi
166-
167-
# Check systemd startup-delay drop-in
168-
if [ -f "/tmp/install-test/etc/systemd/system/cc-plugin-coolerdash.service.d/startup-delay.conf" ]; then
169-
echo "✅ Systemd startup-delay drop-in installed"
170-
else
171-
echo "❌ Systemd startup-delay drop-in not found"
172-
exit 1
173-
fi
174-
175-
# Check udev rules
176-
if [ -f "/tmp/install-test/usr/lib/udev/rules.d/99-coolerdash.rules" ]; then
177-
echo "✅ Udev rules installed"
178-
else
179-
echo "❌ Udev rules not found"
180-
exit 1
181-
fi
182-
183159
# Check license file (Linux packaging standard)
184160
if [ -f "/tmp/install-test/usr/share/licenses/coolerdash/LICENSE" ]; then
185161
echo "✅ License file installed (/usr/share/licenses/)"
@@ -233,30 +209,6 @@ jobs:
233209
exit 1
234210
fi
235211
236-
# Check systemd helperd service
237-
if [ -f "/tmp/install-test/usr/lib/systemd/system/coolerdash-helperd.service" ]; then
238-
echo "✅ Systemd helperd service installed"
239-
else
240-
echo "❌ Systemd helperd service not found"
241-
exit 1
242-
fi
243-
244-
# Check systemd startup-delay drop-in
245-
if [ -f "/tmp/install-test/etc/systemd/system/cc-plugin-coolerdash.service.d/startup-delay.conf" ]; then
246-
echo "✅ Systemd startup-delay drop-in installed"
247-
else
248-
echo "❌ Systemd startup-delay drop-in not found"
249-
exit 1
250-
fi
251-
252-
# Check udev rules
253-
if [ -f "/tmp/install-test/usr/lib/udev/rules.d/99-coolerdash.rules" ]; then
254-
echo "✅ Udev rules installed"
255-
else
256-
echo "❌ Udev rules not found"
257-
exit 1
258-
fi
259-
260212
# Check license file (Arch packaging guideline)
261213
if [ -f "/tmp/install-test/usr/share/licenses/coolerdash/LICENSE" ]; then
262214
echo "✅ License file installed (/usr/share/licenses/)"

Makefile

Lines changed: 13 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,18 @@ install: check-deps $(TARGET)
247247
$(SUDO) userdel -rf coolerdash; \
248248
LEGACY_FOUND=1; \
249249
fi; \
250+
if [ -d /etc/systemd/system/cc-plugin-coolerdash.service.d ]; then \
251+
$(SUDO) rm -rf /etc/systemd/system/cc-plugin-coolerdash.service.d; \
252+
LEGACY_FOUND=1; \
253+
fi; \
254+
if [ -f /usr/lib/systemd/system/coolerdash-helperd.service ]; then \
255+
$(SUDO) rm -f /usr/lib/systemd/system/coolerdash-helperd.service; \
256+
LEGACY_FOUND=1; \
257+
fi; \
258+
if [ -f /etc/systemd/system/coolerdash-helperd.service ]; then \
259+
$(SUDO) rm -f /etc/systemd/system/coolerdash-helperd.service; \
260+
LEGACY_FOUND=1; \
261+
fi; \
250262
if [ "$$LEGACY_FOUND" -eq 1 ]; then \
251263
printf " $(GREEN)OK$(RESET) Legacy cleanup complete\n"; \
252264
else \
@@ -284,10 +296,6 @@ install: check-deps $(TARGET)
284296
@install -m644 $(MANIFEST) "$(DESTDIR)/etc/coolercontrol/plugins/coolerdash/manifest.toml"
285297
@sed -i 's/{{VERSION}}/$(VERSION)/g' "$(DESTDIR)/etc/coolercontrol/plugins/coolerdash/manifest.toml"
286298
@sed -i 's/{{VERSION}}/$(VERSION)/g' "$(DESTDIR)/etc/coolercontrol/plugins/coolerdash/ui/index.html"
287-
@install -Dm644 etc/systemd/cc-plugin-coolerdash.service.d/startup-delay.conf "$(DESTDIR)/etc/systemd/system/cc-plugin-coolerdash.service.d/startup-delay.conf"
288-
@install -Dm644 etc/systemd/coolerdash-helperd.service "$(DESTDIR)/usr/lib/systemd/system/coolerdash-helperd.service"
289-
@printf " $(GREEN)Drop-in:$(RESET) $(DESTDIR)/etc/systemd/system/cc-plugin-coolerdash.service.d/startup-delay.conf\n"
290-
@printf " $(GREEN)Service:$(RESET) $(DESTDIR)/usr/lib/systemd/system/coolerdash-helperd.service\n"
291299
@printf " $(GREEN)Binary:$(RESET) $(DESTDIR)/usr/libexec/coolerdash/coolerdash\n"
292300
@printf " $(GREEN)Config JSON:$(RESET) $(DESTDIR)/etc/coolercontrol/plugins/coolerdash/config.json\n"
293301
@printf " $(GREEN)Web UI:$(RESET) $(DESTDIR)/etc/coolercontrol/plugins/coolerdash/ui/index.html\n"
@@ -310,21 +318,12 @@ install: check-deps $(TARGET)
310318
@printf "$(CYAN)Installing icon...$(RESET)\n"
311319
@install -Dm644 etc/icons/coolerdash.svg "$(DESTDIR)/usr/share/icons/hicolor/scalable/apps/coolerdash.svg"
312320
@printf " $(GREEN)Icon:$(RESET) $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/coolerdash.svg\n"
313-
@printf "$(CYAN)Installing udev rules for USB power management...$(RESET)\n"
314-
@install -Dm644 etc/udev/rules.d/99-coolerdash.rules "$(DESTDIR)/usr/lib/udev/rules.d/99-coolerdash.rules"
315-
@printf " $(GREEN)udev rule:$(RESET) $(DESTDIR)/usr/lib/udev/rules.d/99-coolerdash.rules\n"
316-
@if [ "$(REALOS)" = "yes" ]; then \
317-
$(SUDO) udevadm control --reload-rules 2>/dev/null || true; \
318-
$(SUDO) udevadm trigger --subsystem-match=usb 2>/dev/null || true; \
319-
printf " $(GREEN)OK$(RESET) USB power management configured\n"; \
320-
fi
321321
@printf "\n"
322322
@printf "$(WHITE)INSTALLATION SUCCESSFUL$(RESET)\n"
323323
@printf "\n"
324324
@printf "$(YELLOW)Next steps:$(RESET)\n"
325325
@if [ "$(REALOS)" = "yes" ]; then \
326326
$(SUDO) systemctl daemon-reload 2>/dev/null || true; \
327-
$(SUDO) systemctl enable --now coolerdash-helperd.service 2>/dev/null || true; \
328327
$(SUDO) systemctl restart coolercontrold.service 2>/dev/null || true; \
329328
fi
330329
@printf " $(PURPLE)Reload systemd:$(RESET) systemctl daemon-reload\n"
@@ -398,23 +397,13 @@ uninstall:
398397
LEGACY_FOUND=1; \
399398
fi; \
400399
fi
401-
@if [ "$(REALOS)" = "yes" ]; then \
402-
$(SUDO) rm -f /etc/systemd/system/coolerdash-helperd.service; \
403-
fi
404-
@$(SUDO) rm -f "$(DESTDIR)/usr/lib/systemd/system/coolerdash-helperd.service"
405-
@$(SUDO) rm -rf "$(DESTDIR)/etc/systemd/system/cc-plugin-coolerdash.service.d"
406400
@$(SUDO) rm -rf "$(DESTDIR)/etc/coolercontrol/plugins/coolerdash"
407401
@$(SUDO) rm -rf "$(DESTDIR)/usr/libexec/coolerdash"
408402
@$(SUDO) rm -rf "$(DESTDIR)/usr/share/licenses/coolerdash"
409403
@$(SUDO) rm -f "$(DESTDIR)/usr/share/man/man1/coolerdash.1"
410404
@$(SUDO) rm -f "$(DESTDIR)/usr/share/applications/coolerdash.desktop"
411-
@printf "$(CYAN)Removing udev rule...$(RESET)\n"
405+
# Legacy cleanup: remove udev rule if installed by older version
412406
@$(SUDO) rm -f "$(DESTDIR)/usr/lib/udev/rules.d/99-coolerdash.rules"
413-
@if [ "$(REALOS)" = "yes" ]; then \
414-
$(SUDO) udevadm control --reload-rules 2>/dev/null || true; \
415-
$(SUDO) udevadm trigger --subsystem-match=usb 2>/dev/null || true; \
416-
printf " $(GREEN)OK$(RESET) udev rules reloaded\n"; \
417-
fi
418407
@$(SUDO) rm -f "$(DESTDIR)/usr/share/icons/hicolor/scalable/apps/coolerdash.svg"
419408
@if [ "$(REALOS)" = "yes" ]; then \
420409
if id -u coolerdash >/dev/null 2>&1; then \

PKGBUILD

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
11
# Maintainer: damachin3 (damachine3 at proton dot me)
22
# Website: https://github.com/damachine/coolerdash
3-
43
# This PKGBUILD is for building the coolerdash package from local source.
54
# It assumes the source code is already present in the current directory.
6-
75
pkgname=coolerdash
86
pkgver=$(cat VERSION)
97
pkgrel=1
108
provides=('coolerdash-git')
119
replaces=('coolerdash-git')
1210
conflicts=('coolerdash-git')
13-
pkgdesc="Monitor telemetry data on an AIO liquid cooler with an integrated LCD display"
11+
pkgdesc="Plug-in for CoolerControl that extends the LCD functionality with additional features"
1412
arch=('x86_64')
1513
url="https://github.com/damachine/coolerdash"
1614
license=('MIT')
17-
depends=('cairo' 'coolercontrol' 'jansson' 'libcurl-gnutls' 'ttf-roboto')
15+
depends=('cairo' 'jansson' 'libcurl-gnutls' 'ttf-roboto')
1816
makedepends=('gcc' 'make' 'pkg-config' 'git')
1917
optdepends=()
2018
backup=('etc/coolercontrol/plugins/coolerdash/config.json')
@@ -55,10 +53,6 @@ build() {
5553
cp -a etc/coolercontrol/plugins/coolerdash/manifest.toml "${srcdir}/etc/coolercontrol/plugins/coolerdash/"
5654
cp -a etc/applications/coolerdash.desktop "${srcdir}/etc/applications/"
5755
cp -a etc/icons/coolerdash.svg "${srcdir}/etc/icons/"
58-
cp -a etc/udev/rules.d/99-coolerdash.rules "${srcdir}/etc/udev/rules.d/"
59-
mkdir -p "${srcdir}/etc/systemd/cc-plugin-coolerdash.service.d"
60-
cp -a etc/systemd/coolerdash-helperd.service "${srcdir}/etc/systemd/"
61-
cp -a etc/systemd/cc-plugin-coolerdash.service.d/startup-delay.conf "${srcdir}/etc/systemd/cc-plugin-coolerdash.service.d/"
6256
}
6357

6458
check() {
@@ -94,10 +88,6 @@ package() {
9488

9589
install -Dm644 "${srcdir}/man/coolerdash.1" "${pkgdir}/usr/share/man/man1/coolerdash.1"
9690
install -Dm644 "${srcdir}/etc/applications/coolerdash.desktop" "${pkgdir}/usr/share/applications/coolerdash.desktop"
97-
install -Dm644 "${srcdir}/etc/udev/rules.d/99-coolerdash.rules" "${pkgdir}/usr/lib/udev/rules.d/99-coolerdash.rules"
9891
install -Dm644 "${srcdir}/etc/icons/coolerdash.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/coolerdash.svg"
99-
install -Dm644 "${srcdir}/etc/systemd/coolerdash-helperd.service" "${pkgdir}/usr/lib/systemd/system/coolerdash-helperd.service"
100-
install -Dm644 "${srcdir}/etc/systemd/cc-plugin-coolerdash.service.d/startup-delay.conf" "${pkgdir}/etc/systemd/system/cc-plugin-coolerdash.service.d/startup-delay.conf"
101-
10292
install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
10393
}

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.2.6
1+
3.0.1

aur/PKGBUILD

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
# Maintainer: damachin3 (damachine3 at proton dot me)
22
# Website: https://github.com/damachine/coolerdash
3-
43
pkgname=coolerdash-git
54
pkgver=
65
pkgrel=1
76
provides=('coolerdash')
87
replaces=('coolerdash')
98
conflicts=('coolerdash')
10-
pkgdesc="Monitor telemetry data on an AIO liquid cooler with an integrated LCD display"
9+
pkgdesc="Plug-in for CoolerControl that extends the LCD functionality with additional features"
1110
arch=('x86_64')
1211
url="https://github.com/damachine/coolerdash"
1312
license=('MIT')
@@ -75,10 +74,6 @@ package() {
7574

7675
install -Dm644 "${srcdir}/${pkgname}/man/coolerdash.1" "${pkgdir}/usr/share/man/man1/coolerdash.1"
7776
install -Dm644 "${srcdir}/${pkgname}/etc/applications/coolerdash.desktop" "${pkgdir}/usr/share/applications/coolerdash.desktop"
78-
install -Dm644 "${srcdir}/${pkgname}/etc/udev/rules.d/99-coolerdash.rules" "${pkgdir}/usr/lib/udev/rules.d/99-coolerdash.rules"
7977
install -Dm644 "${srcdir}/${pkgname}/etc/icons/coolerdash.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/coolerdash.svg"
80-
install -Dm644 "${srcdir}/${pkgname}/etc/systemd/coolerdash-helperd.service" "${pkgdir}/usr/lib/systemd/system/coolerdash-helperd.service"
81-
install -Dm644 "${srcdir}/${pkgname}/etc/systemd/cc-plugin-coolerdash.service.d/startup-delay.conf" "${pkgdir}/etc/systemd/system/cc-plugin-coolerdash.service.d/startup-delay.conf"
82-
8378
install -Dm644 "${srcdir}/${pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
8479
}

aur/coolerdash.install

Lines changed: 16 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -34,26 +34,23 @@ pre_install() {
3434
}
3535

3636
post_install() {
37-
# Reload udev rules
38-
if command -v udevadm >/dev/null 2>&1; then
39-
udevadm control --reload-rules
40-
udevadm trigger --subsystem-match=usb
41-
fi
42-
43-
# Migrate helperd from /etc to /usr/lib
37+
# Remove legacy files
4438
rm -f /etc/systemd/system/multi-user.target.wants/coolerdash-helperd.service
4539
rm -f /etc/systemd/system/coolerdash-helperd.service
40+
rm -f /usr/lib/systemd/system/coolerdash-helperd.service
41+
rm -rf /etc/systemd/system/cc-plugin-coolerdash.service.d
42+
rm -f /usr/lib/udev/rules.d/99-coolerdash.rules
4643

4744
systemctl daemon-reload
4845

49-
# Enable helperd
50-
if systemctl list-unit-files coolerdash-helperd.service | grep -q coolerdash-helperd; then
51-
systemctl enable --now coolerdash-helperd.service || echo "Note: coolerdash-helperd.service failed. Enable manually."
52-
fi
53-
54-
# Restart CoolerControl
55-
if systemctl list-unit-files coolercontrold.service | grep -q coolercontrold; then
56-
systemctl restart coolercontrold.service || echo "Note: CoolerControl restart failed."
46+
# Restart plugin service directly if it already exists (reinstall case)
47+
if systemctl list-unit-files cc-plugin-coolerdash.service | grep -q cc-plugin-coolerdash; then
48+
systemctl restart cc-plugin-coolerdash.service || echo "Note: Plugin restart failed."
49+
else
50+
# Fresh install: restart CoolerControl so it discovers and starts the plugin service
51+
if systemctl list-unit-files coolercontrold.service | grep -q coolercontrold; then
52+
systemctl restart coolercontrold.service || echo "Note: CoolerControl restart failed."
53+
fi
5754
fi
5855

5956
echo "================================================================"
@@ -62,17 +59,15 @@ post_install() {
6259
}
6360

6461
post_upgrade() {
65-
# Migrate helperd from /etc to /usr/lib
62+
# Remove legacy files
6663
rm -f /etc/systemd/system/multi-user.target.wants/coolerdash-helperd.service
6764
rm -f /etc/systemd/system/coolerdash-helperd.service
65+
rm -f /usr/lib/systemd/system/coolerdash-helperd.service
66+
rm -rf /etc/systemd/system/cc-plugin-coolerdash.service.d
67+
rm -f /usr/lib/udev/rules.d/99-coolerdash.rules
6868

6969
systemctl daemon-reload
7070

71-
# Enable helperd
72-
if systemctl list-unit-files coolerdash-helperd.service | grep -q coolerdash-helperd; then
73-
systemctl enable --now coolerdash-helperd.service || echo "Note: coolerdash-helperd.service failed. Enable manually."
74-
fi
75-
7671
# Restart plugin
7772
if systemctl list-unit-files cc-plugin-coolerdash.service | grep -q cc-plugin-coolerdash; then
7873
systemctl restart cc-plugin-coolerdash.service || echo "Note: Plugin restart failed."

coolerdash.install

Lines changed: 16 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -34,26 +34,23 @@ pre_install() {
3434
}
3535

3636
post_install() {
37-
# Reload udev rules
38-
if command -v udevadm >/dev/null 2>&1; then
39-
udevadm control --reload-rules
40-
udevadm trigger --subsystem-match=usb
41-
fi
42-
43-
# Migrate helperd from /etc to /usr/lib
37+
# Remove legacy files
4438
rm -f /etc/systemd/system/multi-user.target.wants/coolerdash-helperd.service
4539
rm -f /etc/systemd/system/coolerdash-helperd.service
40+
rm -f /usr/lib/systemd/system/coolerdash-helperd.service
41+
rm -rf /etc/systemd/system/cc-plugin-coolerdash.service.d
42+
rm -f /usr/lib/udev/rules.d/99-coolerdash.rules
4643

4744
systemctl daemon-reload
4845

49-
# Enable helperd
50-
if systemctl list-unit-files coolerdash-helperd.service | grep -q coolerdash-helperd; then
51-
systemctl enable --now coolerdash-helperd.service || echo "Note: coolerdash-helperd.service failed. Enable manually."
52-
fi
53-
54-
# Restart CoolerControl
55-
if systemctl list-unit-files coolercontrold.service | grep -q coolercontrold; then
56-
systemctl restart coolercontrold.service || echo "Note: CoolerControl restart failed."
46+
# Restart plugin service directly if it already exists (reinstall case)
47+
if systemctl list-unit-files cc-plugin-coolerdash.service | grep -q cc-plugin-coolerdash; then
48+
systemctl restart cc-plugin-coolerdash.service || echo "Note: Plugin restart failed."
49+
else
50+
# Fresh install: restart CoolerControl so it discovers and starts the plugin service
51+
if systemctl list-unit-files coolercontrold.service | grep -q coolercontrold; then
52+
systemctl restart coolercontrold.service || echo "Note: CoolerControl restart failed."
53+
fi
5754
fi
5855

5956
echo "================================================================"
@@ -62,17 +59,15 @@ post_install() {
6259
}
6360

6461
post_upgrade() {
65-
# Migrate helperd from /etc to /usr/lib
62+
# Remove legacy files
6663
rm -f /etc/systemd/system/multi-user.target.wants/coolerdash-helperd.service
6764
rm -f /etc/systemd/system/coolerdash-helperd.service
65+
rm -f /usr/lib/systemd/system/coolerdash-helperd.service
66+
rm -rf /etc/systemd/system/cc-plugin-coolerdash.service.d
67+
rm -f /usr/lib/udev/rules.d/99-coolerdash.rules
6868

6969
systemctl daemon-reload
7070

71-
# Enable helperd
72-
if systemctl list-unit-files coolerdash-helperd.service | grep -q coolerdash-helperd; then
73-
systemctl enable --now coolerdash-helperd.service || echo "Note: coolerdash-helperd.service failed. Enable manually."
74-
fi
75-
7671
# Restart plugin
7772
if systemctl list-unit-files cc-plugin-coolerdash.service | grep -q cc-plugin-coolerdash; then
7873
systemctl restart cc-plugin-coolerdash.service || echo "Note: Plugin restart failed."

0 commit comments

Comments
 (0)