<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Abrish</title>
    <description>The latest articles on DEV Community by Abrish (@abrishyir).</description>
    <link>https://dev.to/abrishyir</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3887481%2F6af6511e-0391-4f69-9600-79b379bb4b78.webp</url>
      <title>DEV Community: Abrish</title>
      <link>https://dev.to/abrishyir</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/abrishyir"/>
    <language>en</language>
    <item>
      <title>How I used Python to turn a cheap 20$ smartwatch into a PC remote!</title>
      <dc:creator>Abrish</dc:creator>
      <pubDate>Sun, 19 Apr 2026 15:01:00 +0000</pubDate>
      <link>https://dev.to/abrishyir/how-i-used-python-to-turn-a-cheap-20-smartwatch-into-a-pc-remote-15ef</link>
      <guid>https://dev.to/abrishyir/how-i-used-python-to-turn-a-cheap-20-smartwatch-into-a-pc-remote-15ef</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqvss8ahqkl2o0yqdmxl6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqvss8ahqkl2o0yqdmxl6.png" alt="An image showing the watch turning into the final product in a cool way" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We’ve all seen them—those $20 Smartwatches on Amazon or AliExpress. They look decent, but they are locked behind sketchy, ad-filled mobile apps. I wanted to see if I could "liberate" the hardware.&lt;/p&gt;

&lt;p&gt;Today, I’m open-sourcing Synod: A Python-based engine that turns any generic BLE wearable into a dedicated macro deck for your PC.&lt;/p&gt;

&lt;p&gt;Why build this?&lt;br&gt;
Most smartwatches send "UI Notifications" over Bluetooth Low Energy (BLE). Your phone's official app listens for these to control music or shutter the camera.&lt;/p&gt;

&lt;p&gt;I realized that if I could sniff these packets on Windows, I could map them to anything. No cloud, no proprietary drivers, just raw Python power.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Tech Stack&lt;/strong&gt;&lt;br&gt;
To make this happen, I used three key libraries:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Bleak&lt;/strong&gt;: For cross-platform asynchronous BLE communication.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pycaw&lt;/strong&gt;: To hook into the Windows Core Audio API (so I could teleport volume levels instead of just "stepping" them).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CustomTkinter&lt;/strong&gt;: For a modern, dark-themed GUI.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Universal Learning Mode&lt;/strong&gt;&lt;br&gt;
The hardest part was that every watch manufacturer uses different Hexadecimal IDs for their buttons. I didn't want to hardcode support for just one watch.&lt;/p&gt;

&lt;p&gt;Instead, I built a Learning Mode. The app listens for a notification, captures the 0x1C packet ID, and saves it to a local synod_profile.json.&lt;/p&gt;

&lt;p&gt;Translation: If it has a Bluetooth chip and a button, Synod can probably learn to use it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How to get started&lt;/strong&gt;&lt;br&gt;
If you have an old watch lying in a drawer, here’s how you can try it:&lt;/p&gt;

&lt;p&gt;Clone the repo: git clone &lt;a href="https://github.com/Abrish-Yir/synod" rel="noopener noreferrer"&gt;https://github.com/Abrish-Yir/synod&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Install dependencies: pip install bleak pycaw customtkinter screen-brightness-control&lt;/p&gt;

&lt;p&gt;Run synod.py, scan for your watch, and start "Learning Mode."&lt;/p&gt;

&lt;p&gt;I need your help! (Open Source Call to Action)&lt;/p&gt;

&lt;p&gt;Synod is currently in its early stages, and I want to make it truly universal. I’m looking for contributors to help with:&lt;br&gt;
MacOS/Linux Support: Currently, the audio engine is Windows-specific (pycaw).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pre-made Profiles&lt;/strong&gt;: If you successfully map a watch, submit your JSON as a PR!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;UI/UX&lt;/strong&gt;: Let's make the dashboard even cleaner.&lt;/p&gt;

&lt;p&gt;Check out the repo here: &lt;a href="https://github.com/Abrish-Yir/synod" rel="noopener noreferrer"&gt;https://github.com/Abrish-Yir/synod&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
