Mazda CX5
Хочете будувати кар’єру в Data Science та AI? Vodafone Big Data Lab відкриває новий набір —>

“I was walking around the rooms with Poppy and found an earphone.” How a Wix engineer found his lost AirPods with Claude and his own utility

Senior Software Engineer at Wix, Denys Dovhan, shared a case study of the use of artificial intelligence in everyday life. When his wife went on vacation and accidentally left one of her AirPods at home, the standard search through the Find My app was unavailable because the gadget was tied to her account.

To solve the problem, the developer decided to write a special utility for scanning the Bluetooth range, using the AI ​​agent Claude as an assistant.

Leave a comment
“I was walking around the rooms with Poppy and found an earphone.” How a Wix engineer found his lost AirPods with Claude and his own utility

Senior Software Engineer at Wix, Denys Dovhan, shared a case study of the use of artificial intelligence in everyday life. When his wife went on vacation and accidentally left one of her AirPods at home, the standard search through the Find My app was unavailable because the gadget was tied to her account.

To solve the problem, the developer decided to write a special utility for scanning the Bluetooth range, using the AI ​​agent Claude as an assistant.

«I asked the agent to write a utility that scans the Bluetooth range using the Bleak library and outputs a list of all devices: a scale with signal strength, approximate distance, identifier, and possible name. I immediately marked my devices in gray, and asked the most suspicious ones to be highlighted in yellow, because Apple devices have a characteristic code in their identifiers,» says Denys.

Using this program and a MacBook laptop, the developer walked around the rooms and eventually found the lost earphone in a shorts pocket among the clothes.

Technical details and working with AI

According to the engineer, it took about 20 minutes to create a fully working code. Two prompts were enough to get the basic functionality, and about four more iterations were needed to calibrate the interface to our own needs.

The basis for the solution was the popular Python library Bleak: «It implements almost all the functionality I needed. In addition, Bleak is already quite stable and popular and is used in such well-known projects as Home Assistant to interact with BLE devices.»

Why a native utility on Mac turned out to be more effective than mobile apps

Despite the fact that there are many similar applications for finding Bluetooth devices in the App Store, the developer was unable to find the headset using a smartphone. The decision to create a tool specifically for macOS justified itself from a hardware point of view.

«I even tried using ready-made mobile applications, but I couldn’t find the earphone with them. That’s why I made my own utility on a Mac, because the laptop has a physically larger antenna and is more sensitive to devices, so it was easier to find the lost AirPods with it,» explained Denys Dovhan.

The developer does not plan to publish the source code on GitHub, noting that the program consists of literally 20 lines of code — initializing the Bleak library, subscribing to events, and formatting the results.

Two Ukrainian IT professionals created a tracker for joint tracking of actions with a partner or friend. How Habit Tracker works — Us+
Two Ukrainian IT professionals created a tracker for joint tracking of actions with a partner or friend. How Habit Tracker works — Us+
On the topic
Two Ukrainian IT professionals created a tracker for joint tracking of actions with a partner or friend. How Habit Tracker works — Us+
A Ukrainian developer created Your Steps Tracker — a sleep and workout step tracker that features competitions with friends and advice from an AI coach
A Ukrainian developer created Your Steps Tracker — a step, sleep, and workout tracker that features competitions with friends and advice from an AI coach
On the topic
A Ukrainian developer created Your Steps Tracker — a step, sleep, and workout tracker that features competitions with friends and advice from an AI coach
A Ukrainian developer created Vitamin Helper for smart vitamin intake: the application has an AI assistant, a composition scanner, and analysis decoding
A Ukrainian developer created Vitamin Helper for smart vitamin intake: the application has an AI assistant, a composition scanner, and analysis decoding
On the topic
A Ukrainian developer created Vitamin Helper for smart vitamin intake: the application has an AI assistant, a composition scanner, and analysis decoding
Read the country's main IT news in our Telegram
Read the country’s main IT news in our Telegram
On the topic
Read the country’s main IT news in our Telegram
Also Read
Roosh запускає нову освітню платформу AI HOUSE CLUB для ML/AI-спеціалістів та дата сайнтистів. Розповідаємо, як подати заявку та чому навчатимуть
Roosh запускає нову освітню платформу AI HOUSE CLUB для ML/AI-спеціалістів та дата сайнтистів. Розповідаємо, як подати заявку та чому навчатимуть
Roosh запускає нову освітню платформу AI HOUSE CLUB для ML/AI-спеціалістів та дата сайнтистів. Розповідаємо, як подати заявку та чому навчатимуть
Apple показала нові AirPods Pro. Що про них відомо
Apple показала нові AirPods Pro. Що про них відомо
Apple показала нові AirPods Pro. Що про них відомо
Як нейромережі бачать вільну та незалежну Україну? Тест dev.ua
Як нейромережі бачать вільну та незалежну Україну? Тест dev.ua
Як нейромережі бачать вільну та незалежну Україну? Тест dev.ua
Нейронні мережі для генерації зображень бачать світ по-своєму, їхню логіку зрозуміти часом зовсім неможливо. Але таки хочеться. На честь Дня Незалежності України редакція dev.ua вирішила провести невеликий експеримент. Ми задали чотирьом різним нейронним мережам п’ять однакових запитів: «прапор України», «День Незалежності України», «український Крим», «перемога України» та «українці». Отриманими результатами ми ділимося з вами нижче.
У TikTok тепер можна генерувати фон за допомогою нейромережі. Ми протестували її та ділимося результатами
У TikTok тепер можна генерувати фон за допомогою нейромережі. Ми протестували її та ділимося результатами
У TikTok тепер можна генерувати фон за допомогою нейромережі. Ми протестували її та ділимося результатами
У TikTok з’явилася нова функція «Розумний фон». З її допомогою як фон для тіктоків можна підставляти згенеровані нейромережею зображення. Редакція dev.ua протестувала цю технологію і ділиться своїми враженнями.
1 comment

Have important news to share? Message our Telegram bot

Key events and useful links in our Telegram channel

Discussion
No comments yet.