Skip to content

Petkit Yumshare Dual (Gen 2) ​

The Petkit Yumshare Dual is an automatic pet feeder with two food hoppers and a built-in camera. Each feeding — manual or scheduled — can mix food from both hoppers independently. In addition to scheduled feeding, it provides live video streaming, motion detection, pet recognition, and eating detection. Localkit exposes all these features as Home Assistant entities via MQTT.

Installation ​

Localkit is installed through the Provisioning entry in the Web UI navigation. Once provisioning has succeeded, you are asked for a script — run the install script from the device shell over telnet (see How to connect):

shell
wget -qO- http://tool.localkit.io/scripts/d4sh2/2.0.0/install | sh

To remove Localkit again:

shell
wget -qO- http://tool.localkit.io/scripts/d4sh2/1.0.0/uninstall | sh

The script downloads all necessary files, places them in the correct directory, and patches the app-run script. Reboot the device afterwards to activate the changes.

Supported Features ​

  • ✅ Manual feed trigger with per-hopper amounts
  • ✅ Feeding schedules with per-hopper amounts
  • ✅ Per-hopper calibration factors
  • ✅ Camera control (enable/disable)
  • ✅ Live stream
  • ✅ Motion detection
  • ✅ Pet visit detection with pet recognition (discern)
  • ✅ Eating detection
  • ✅ Night vision
  • ✅ Microphone
  • ✅ Food level warning
  • ✅ Desiccant tracking
  • ✅ Volume control
  • ✅ Sensitivity tuning
  • ✅ Bluetooth Proxy

Actions (Buttons) ​

These appear as Button entities in Home Assistant.

NameTechnical NameDescription
Feedaction_feedDispenses the configured amounts from both hoppers immediately

Sensors (Read-only) ​

These appear as Sensor entities in Home Assistant under the diagnostic category.

NameTechnical NameUnitDescription
Device Statusdevice_status—Current working state: IDLE, WORKING
Errorerror—Active error: food_empty, door_closed, or Ok
IP Addressip_address—The device's local IP address
Last Used Bylast_used_by—Name of the pet most recently recognized at the feeder
Bowlbowl—Current bowl status as a numeric code
Hertzhertz—Camera frequency setting (50 or 60 Hz)
Surplus Food Controlsurplus_control—Surplus food control state
Schedule Change Timec_time—Last time the feeding schedule was changed
Next Desiccant Change in Daysdurability_in_daysdDays remaining until the desiccant packet should be replaced

Switches ​

These appear as Switch entities in Home Assistant under the config category.

NameTechnical NameDefaultDescription
Refill Alarmfood_warnOnSends a notification when a hopper is running low
Child Lockmanual_lockOffLocks the physical buttons on the device
Indicator Lightlight_modeOffTurns the status LED on or off
Camera SwitchcameraOnEnables or disables the camera module
MicrophonemicrophoneOnEnables or disables the built-in microphone
Night VisionnightOffSwitches the camera to infrared night vision mode
Timestamp DisplaytimeDisplayOffOverlays the current time on the camera image
Move Detectionmove_detectionOnEnables motion-triggered detection and alerts
Pet Visit Detectionpet_detectionOnEnables AI-based pet recognition
Pet Eat Detectioneat_detectionOnEnables detection of eating behavior
Do Not Disturbtone_modeOffSuppresses sounds during the quiet period
Voice for Food Dispensingsound_enableOnPlays a voice prompt when food is dispensed
Voice Promptsystem_sound_enableOnEnables system voice guidance and status announcements
Feed Completion Soundfeed_soundOnPlays a sound when a feeding finishes
Pet Trackingsmart_frameOffAutomatically frames and follows the pet in the camera view
Feeding Photofeed_pictureOffCaptures a photo when food is dispensed

Number Controls ​

These appear as Number entities in Home Assistant under the config category.

NameTechnical NameRangeStepDefaultDescription
Feed Amount Hopper 1amount10–5011Portion size per dispense from hopper 1
Feed Amount Hopper 2amount20–5011Portion size per dispense from hopper 2
Hopper 1 Calibration Factorfactor11–1001—Calibrates the dispensed amount of hopper 1
Hopper 2 Calibration Factorfactor21–1001—Calibrates the dispensed amount of hopper 2
Move Sensitivitymove_sensitivity1–911Sensitivity of the motion detection
Pet Visit Sensitivitypet_sensitivity1–913Sensitivity of the pet recognition AI
Pet Eat Sensitivityeat_sensitivity1–913Sensitivity of the eating detection AI
Detection Intervaldetect_interval0–3001—Minimum seconds between detections
Volumevolume0–914Speaker volume for voice prompts
Surplus Food Standardsurplus_standard0–1001—Threshold for leftover food detection
Desiccant Durabilitydesiccant_durability0–90130Expected lifespan of the desiccant packet in days

Feeding Schedules ​

The feeder supports time-based feeding schedules. Each schedule entry defines a time of day and a per-hopper portion amount (Hopper 1 and Hopper 2), so you can mix food from both hoppers at any feeding time. Schedules are stored in dedicated schedule tables and processed by Localkit to trigger feed actions at the configured times.

A feeding triggered by the device's own schedule reports only a feed_over event — Localkit records the activity from that event, including the dispensed amounts.

How to connect ​

To access the device:

  1. Connect to the device via telnet: telnet <device-ip>
  2. Log in with user root and password while(&P.