feat: add support for eufyCam C37 (T814X, device type 10037)#950
Open
g0nff wants to merge 1 commit into
Open
Conversation
The eufyCam C37 is a 360° outdoor pan & tilt battery/solar camera controlled by a HomeBase Mini (T8025). Modeled on the outdoor pan & tilt camera (correct outdoor pan/tilt + calibration P2P commands, HB3-style detection, power source), with these specifics: - Add DeviceType.CAMERA_C37 (10037) + model name mapping. - Classify as camera / battery / pan & tilt / outdoor pan & tilt; add isCameraC37() helpers. - Reuse the outdoor pan & tilt property and command sets, plus pet detection (DeviceMotionDetectionTypePet / DevicePetDetected) since the C37 supports human/pet/vehicle. - Route the C37's motion detection type through the C35 path (identical human/vehicle/all-other values plus pet=8) in both parsing and setting, because the T8170 detection set has no pet value. - No station property/command entries: the C37 is HomeBase-controlled, not standalone. Verified against real devices: recognized as cameras with battery/solar, pan/tilt, motion tracking, and human/pet/vehicle detection all exposed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix: Issue #931
Add support for eufyCam C37 (T814X, device type 10037)
Adds support for the eufyCam C37 — a 360° outdoor pan & tilt battery/solar camera controlled by a HomeBase Mini (T8025). It was previously detected as an
UnknownDevice.Device details (captured from real hardware)
device_type: 10037device_model: T814XApproach
Modeled on the existing outdoor pan & tilt camera (
OUTDOOR_PT_CAMERA), which is the closest match — outdoor 360° pan/tilt, HB3-style detection, battery + solar power source, and the correctCMD_OUTDOOR_PAN_CALIBRATIONP2P command path.DeviceType.CAMERA_C37 = 10037and the model-name mapping.isCameraC37()helpers.DeviceMotionDetectionTypePet/DevicePetDetected) since the C37 supports human/pet/vehicle.T8170DetectionTypeshas no pet value, whereasEufyCamC35DetectionTypeshas identical human/vehicle/all-other values (3/4/32768) plus pet (8), and the bit math is identical. Human/vehicle/all-other behavior is therefore unchanged.StationProperties/StationCommandsentries — the C37 is HomeBase-controlled, and its station (T8025 / HomeBase Mini) is already supported.Testing
Verified against two real C37 cameras via a local
eufy-security-wsbuild:type: 10037,model: T814X) — no more "New unknown device detected".Note: the detection-type read path is confirmed on-device; the write/toggle path reuses the established C35 code path (no changes to shared logic) but a full write round-trip was not exercised due to P2P constraints of the test setup.