[PR #124] [MERGED] Added support for Black Shark Magnetic Cooler 4 (And potentialy other Black Shark Coolers) #151

Closed
opened 2026-03-02 04:00:29 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/eerimoq/moblin/pull/124
Author: @Spillmaker
Created: 6/12/2025
Status: Merged
Merged: 6/12/2025
Merged by: @eerimoq

Base: mainHead: main


📝 Commits (10+)

  • 5cd5353 Added Phone Cooler Settings Interface (WIP)
  • 5e9bfd9 Implemented Phone Cooler Metrics
  • d2acebb Merge branch 'eerimoq:main' into main
  • 07bf23d Merge branch 'eerimoq:main' into main
  • e44903c Merge branch 'eerimoq:main' into main
  • ce2b4d8 basic filtering for devicelist phonecoolers
  • 27f01ab Fixed a bug where temp overlay was showing while disconnected, and a crash if you were to background the app
  • 8484b24 Fixed some bugs with peripheralid, attempt on color UI
  • d9f331b First version of the BlackSharkLib Implementation Complete
  • 0a1d69c Linting and stuff

📊 Changes

14 files changed (+832 additions, -1 deletions)

View changed files

📝 Common/Localizable.xcstrings (+18 -0)
📝 Moblin.xcodeproj/project.pbxproj (+53 -0)
📝 Moblin.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved (+10 -1)
Moblin/Assets.xcassets/BlackSharkMagCooler4Pro.imageset/BlackSharkMagCooler4Pro.png (+0 -0)
Moblin/Assets.xcassets/BlackSharkMagCooler4Pro.imageset/Contents.json (+21 -0)
Moblin/Integrations/PhoneCooler/PhoneCoolerDevice.swift (+312 -0)
📝 Moblin/Various/Model/Model.swift (+10 -0)
Moblin/Various/Model/ModelPhoneCoolerDevice.swift (+46 -0)
📝 Moblin/Various/Settings.swift (+37 -0)
Moblin/View/Settings/PhoneCoolers/PhoneCoolerDeviceScannerSettingsView.swift (+55 -0)
Moblin/View/Settings/PhoneCoolers/PhoneCoolerDeviceSettingsView.swift (+205 -0)
Moblin/View/Settings/PhoneCoolers/PhoneCoolerDevicesSettingsView.swift (+54 -0)
📝 Moblin/View/Settings/SettingsView.swift (+5 -0)
📝 Moblin/View/Stream/Overlay/StreamOverlayRightView.swift (+6 -0)

📄 Description

Ive done testing throughout the development progress, but cant guarantee its bug-free of course.

The LED is configurable to either Off or defined RGBA values. (The ColorPickerwas too detailed, so i may try to revisit it to make a ColorPicker that supports LED colors better)

The Fan-speed is coded to adjust based on the state of the phone (flame) where it tries to keep a silent and low power consumption state until we start to see the flame getting warmer. Will probably need to adjust this based on feedback of exhaust heat, fan noise etc.

And as usual its kinda tricky to navigate the generated files and changing the team etc, so let me know if there is any code missing whenever you try to build it.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/eerimoq/moblin/pull/124 **Author:** [@Spillmaker](https://github.com/Spillmaker) **Created:** 6/12/2025 **Status:** ✅ Merged **Merged:** 6/12/2025 **Merged by:** [@eerimoq](https://github.com/eerimoq) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (10+) - [`5cd5353`](https://github.com/eerimoq/moblin/commit/5cd5353aaf1b09072c1ce76b9af0170b15f6e78c) Added Phone Cooler Settings Interface (WIP) - [`5e9bfd9`](https://github.com/eerimoq/moblin/commit/5e9bfd94a72e7ee79015fda172d2cf7b3742399f) Implemented Phone Cooler Metrics - [`d2acebb`](https://github.com/eerimoq/moblin/commit/d2acebb1887797810c819e7263d8172f017cb1c8) Merge branch 'eerimoq:main' into main - [`07bf23d`](https://github.com/eerimoq/moblin/commit/07bf23d6c7caacf246b84fd9d7831e5b92262ad7) Merge branch 'eerimoq:main' into main - [`e44903c`](https://github.com/eerimoq/moblin/commit/e44903cdc7e328bd5e20ef5d7136cc11d9594721) Merge branch 'eerimoq:main' into main - [`ce2b4d8`](https://github.com/eerimoq/moblin/commit/ce2b4d8ed2335115b5261ccb4127a9494dd6702c) basic filtering for devicelist phonecoolers - [`27f01ab`](https://github.com/eerimoq/moblin/commit/27f01ab6735c8d3f1b35f62367b23c067dd3bec7) Fixed a bug where temp overlay was showing while disconnected, and a crash if you were to background the app - [`8484b24`](https://github.com/eerimoq/moblin/commit/8484b24333be867ccdc97ecbcd80e87edf5050d6) Fixed some bugs with peripheralid, attempt on color UI - [`d9f331b`](https://github.com/eerimoq/moblin/commit/d9f331b854be5c1f0c42108cf33de233132e468c) First version of the BlackSharkLib Implementation Complete - [`0a1d69c`](https://github.com/eerimoq/moblin/commit/0a1d69ce508460a32b1e3a6522c8a73f8dd9f3d1) Linting and stuff ### 📊 Changes **14 files changed** (+832 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `Common/Localizable.xcstrings` (+18 -0) 📝 `Moblin.xcodeproj/project.pbxproj` (+53 -0) 📝 `Moblin.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved` (+10 -1) ➕ `Moblin/Assets.xcassets/BlackSharkMagCooler4Pro.imageset/BlackSharkMagCooler4Pro.png` (+0 -0) ➕ `Moblin/Assets.xcassets/BlackSharkMagCooler4Pro.imageset/Contents.json` (+21 -0) ➕ `Moblin/Integrations/PhoneCooler/PhoneCoolerDevice.swift` (+312 -0) 📝 `Moblin/Various/Model/Model.swift` (+10 -0) ➕ `Moblin/Various/Model/ModelPhoneCoolerDevice.swift` (+46 -0) 📝 `Moblin/Various/Settings.swift` (+37 -0) ➕ `Moblin/View/Settings/PhoneCoolers/PhoneCoolerDeviceScannerSettingsView.swift` (+55 -0) ➕ `Moblin/View/Settings/PhoneCoolers/PhoneCoolerDeviceSettingsView.swift` (+205 -0) ➕ `Moblin/View/Settings/PhoneCoolers/PhoneCoolerDevicesSettingsView.swift` (+54 -0) 📝 `Moblin/View/Settings/SettingsView.swift` (+5 -0) 📝 `Moblin/View/Stream/Overlay/StreamOverlayRightView.swift` (+6 -0) </details> ### 📄 Description Ive done testing throughout the development progress, but cant guarantee its bug-free of course. The LED is configurable to either Off or defined RGBA values. (The ColorPickerwas too detailed, so i may try to revisit it to make a ColorPicker that supports LED colors better) The Fan-speed is coded to adjust based on the state of the phone (flame) where it tries to keep a silent and low power consumption state until we start to see the flame getting warmer. Will probably need to adjust this based on feedback of exhaust heat, fan noise etc. And as usual its kinda tricky to navigate the generated files and changing the team etc, so let me know if there is any code missing whenever you try to build it. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 04:00:29 +03:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/moblin#151
No description provided.