Hack SwitchBot Art Frame 2 for local Home Assistant control with ChatGPT

A non-programmer used ChatGPT to reverse-engineer and locally control a smart art frame via Home Assistant.

Used for
Everyday life
Skill needed
No code
Shown in video
Partial demo
Summary based on
Transcript
ChatGPTHome Assistant
Paul Hibbert (Hibbert Home Tech)Watch on YouTube

Hack ANYTHING

Published Nov 14, 202620:5381,564 views2,134 likes

Key moments

  • 15:23Local Bluetooth upload succeeds
  • 16:13Automation displays baby-sleeping image

What they made

Local Bluetooth image upload to the frame succeeded, and an automation displays a baby-sleeping image when the nursery sound machine turns on.

960,000 bytes transferred locally

15:23

How they did it

  1. AI

    ChatGPT patched the existing Home Assistant SwitchBot integration to accept the new Art Frame 2 model.

    Creator-reported · ChatGPT
  2. AI11:13

    ChatGPT used Bluetooth to send commands and change the image on the frame locally.

    Stated in video · ChatGPT
  3. AI13:19

    ChatGPT reverse-engineered the delete command by monitoring network traffic when the app deleted files, enabling Home Assistant to delete images.

    Stated in video · ChatGPT
  4. AI15:23

    ChatGPT made the integration work fully locally, successfully uploading an image via Bluetooth from the Mac.

    Stated in video · ChatGPT
  5. Human16:13

    The creator set up an Alexa routine so that when his wife says the baby is asleep, it triggers a Home Assistant automation to display a custom image on the frame.

    Stated in video

What you can reuse

  • ChatGPT can reverse-engineer device protocols and patch integrations without manual coding.
  • Local control via Bluetooth is possible even for cloud-dependent devices.
  • Automations can be triggered by existing smart home events, like a sound machine turning on.

Trade-offs

  • Initial setup of the frame requires the SwitchBot cloud.
  • The integration is unofficial and may break with updates.
  • The 'tap to change' feature caused a bug that prevented image uploads.
  • AI art generation in the SwitchBot app requires a subscription.

AI-generated case summaries can contain mistakes. Report an error

More cases like this: Run Home Assistant with AI

Related cases

Automate a smart home

Revive a 2019 Android TV with Claude Code

A creator used Claude Code over Wi-Fi to de-bloat his old Android TV and build a custom ad-free home screen, approving each risky step…

Claude Code111.2K views