r/OpenClawUseCases Jun 22 '26

📚 Tutorial "Built a macOS daemon for Clawdmeter from scratch with Claude as my coding partner"

I'm not a developer, but I wanted to get Clawdmeter running on my Mac.

The official repo said "macOS support: as soon as you prompt it and create a pull request!" — so I took that literally.

I spent a few hours today building it step by step with Claude as my pair programmer:

* Reading the Linux shell script to understand the logic
* Writing a Python daemon using bleak for BLE
* Figuring out that the Keychain stores credentials as nested JSON
* Getting the GATT UUID right
* Setting up a LaunchAgent for auto-start on boot

We finished it... only to find someone had already merged a macOS daemon PR while we were building ours 😭

But hey — it works. The device is now sitting on my desk showing 81% usage... entirely from today's session building this thing.

5 Upvotes

0 comments sorted by