Skip to content
Home Assistant TestFlight
Security & safety

Yi Home Cameras with yi-hack

roleoroleo/yi-hack_ha_integration · v0.6.0

HACSLocal push

Home Assistant custom integration for Yi cameras: yi-hack-MStar, yi-hack-Allwinner, yi-hack-Allwinner-v2, yi-hack-v5 and sonoff-hack

In Apple Home through HomeKit Bridge

What HomeKit Bridge makes of each kind of entity this integration creates, read from its source code. A device only gets the ones that apply to it.

EntityShows up asNote
switchSwitch or outlet
media_playerTV, receiver or media switchesNeeds its own HomeKit Bridge in accessory mode
cameraCameraNeeds its own HomeKit Bridge in accessory mode
binary_sensorSensor (motion, contact, leak, smoke…)
sensorSensor (temperature, humidity, air quality…)
buttonButton (as a switch)
selectMode picker (as switches)

What people report

Yi cameras running yi-hack custom firmware work locally; newer Allwinner models and firmware updates have caused RTSP and compatibility problems.

  • Works1
  • Not working1
  • Requested1
DeviceIn Home AssistantIn Apple HomeWhat they saidSource
Sonoff camera (sonoff_hack firmware)Works Localmove_to_preset service added, tested on sonoff_hack
Saved copy
Basic implementation of `move_to_preset service`. As I only own a sonoff camera, it was only tested on sonoff_hack firmware. It seems that preset.sh is also supported on other firmware, but I'm not sure that the extreme values are the same (0 to 14 for preset_id).

Excerpt saved from GitHub on 2026-10-23.

PR #73 · 2022-02
Yi Outdoor Camera (h30ga, Allwinner v2)Not working LocalRTSP stream unreliable after firmware 0.2.6 and base 11.1.26.1; ffmpeg or ONVIF worked
Saved copy
Firmware Version 0.2.6 Base Version 11.1.26.1_202301191526 Model Suffix h30ga RTSP stream is very unreliable after updating to 0.2.6 and 11.1.26.1. I have noticed that very frequently, the camera gets unresponsive for some time when trying to stream video via RTSP, and then it recovers automatically from it. Integration with home assistant does not work either after the update. When I try to stream video, I get the following error in HA: 2023-03-03 16:18:37.410 ERROR (SyncWorker_1) [custom_components.yi_hack.camera] Fetch snapshot image failed from yi_hack_a2_0efa89_cam, falling back to …

Excerpt saved from GitHub on 2026-10-23.

Issue #115 · 2023-03
Yi 1080P Dome Camera (b091qp)Requested LocalOwner will try to support this Allwinner-v2 model; issue closed stale
Saved copy
Hello people. I've got the YI 1080P Dome Camera, with ID "A392....". I have trouble deciding about the correct hacked firmware for my model. I attached the corresponding photo file. Any help would be much appreciated. YI_DOME_CAM_ID.pdf

Excerpt saved from GitHub on 2026-10-23.

Issue #84 · 2022-05

Gathered from GitHub issues, pull requests, discussions and docs, and from r/homeassistant. These are individual reports, so check the linked thread and the date before you buy.

How it connects

Local push

Talks to the device on your network, and the device tells Home Assistant the moment something changes.

Found automatically over

  • Bonjour (zeroconf)

Details

Installs (analytics)498 (0.07%)
GitHub stars282
Latest version0.6.0 (2026-09-26)
Set up in the UIYes
Maintainers@roleoroleo
LicenseGPL-3.0

In ReReHome

Whatever HomeKit Bridge shares reaches Apple Home as normal HomeKit accessories behind your Home Assistant bridge, so ReReHome shows and controls them like any other.

Bridges get their own settings page listing the accessories behind them.