Skip to content

feat: Add EufyCam E40 (T8144) support#769

Merged
max246 merged 9 commits intobropat:developfrom
Abs3601:feature/camera-e40-support
Feb 3, 2026
Merged

feat: Add EufyCam E40 (T8144) support#769
max246 merged 9 commits intobropat:developfrom
Abs3601:feature/camera-e40-support

Conversation

@Abs3601
Copy link
Copy Markdown
Contributor

@Abs3601 Abs3601 commented Jan 20, 2026

  • Add DeviceType.CAMERA_E40 = 49
  • Add isCameraE40() and isCameraE40Product() methods
  • Include E40 in isSoloCameras() for correct streaming path
  • Add COMMAND_END_LIVESTREAM = 1050 for stream stop
  • Update startLivestream to use CMD_DOORBELL_SET_PAYLOAD for E40
  • Update stopLivestream to send END_LIVESTREAM before standard stop
  • Add cmd 6246 handler for E40 livestream state notifications
  • Add E40 device properties and commands

tomc128 and others added 3 commits January 2, 2026 22:19
- Add DeviceType.CAMERA_E40 = 49
- Add isCameraE40() and isCameraE40Product() methods
- Include E40 in isSoloCameras() for correct streaming path
- Add COMMAND_END_LIVESTREAM = 1050 for stream stop
- Update startLivestream to use CMD_DOORBELL_SET_PAYLOAD for E40
- Update stopLivestream to send END_LIVESTREAM before standard stop
- Add cmd 6246 handler for E40 livestream state notifications
- Add E40 device properties and commands
@max246
Copy link
Copy Markdown
Collaborator

max246 commented Jan 20, 2026

@Abs3601 have you tested your branch using the docker dev ?

@Abs3601
Copy link
Copy Markdown
Contributor Author

Abs3601 commented Jan 21, 2026

@Abs3601 have you tested your branch using the docker dev ?

Yes, I am using it in home assistant, sensors are working streaming works too and in scrypted. However, scrypted has an issue with infinite streaming that I dont know how to fix. It never stops the stream, which is not an issue on home assistant because you have to manually start and stop it.

The sensors do work though and I use it for automations

@max246
Copy link
Copy Markdown
Collaborator

max246 commented Feb 1, 2026

One small thing then can approve

@max246
Copy link
Copy Markdown
Collaborator

max246 commented Feb 1, 2026

One more thing, you would need to change the merge target, on the top you have
wants to merge 4 commits into bropat:master from Abs3601:feature/camera-e40-support

You need to press edit and point to develop

@Abs3601 Abs3601 changed the base branch from master to develop February 1, 2026 18:58
@Abs3601
Copy link
Copy Markdown
Contributor Author

Abs3601 commented Feb 1, 2026

One more thing, you would need to change the merge target, on the top you have wants to merge 4 commits into bropat:master from Abs3601:feature/camera-e40-support

You need to press edit and point to develop

Done :)

Resolved conflicts with prettier formatting changes (PR bropat#772).
Re-applied E40 device support including:
- DeviceType.CAMERA_E40 (T8144) in types.ts
- Device properties configuration for E40
- Device commands for E40 (streaming, talkback, snooze)
- isCameraE40() classification method
- Updates to isCamera2Product(), isCamera(), hasBattery()
@max246
Copy link
Copy Markdown
Collaborator

max246 commented Feb 1, 2026

Why is types.ts has 8.8k changes lines? :O did you run npm run format?

Since you fix that, can you also delete the station.js and station.js.map‎ ? they never meant to be there but still havent made a PR to remove them :(

- Applied prettier formatting to device.ts and types.ts
- Removed build/http/station.js and station.js.map (should not be tracked)
@Abs3601
Copy link
Copy Markdown
Contributor Author

Abs3601 commented Feb 1, 2026

Why is types.ts has 8.8k changes lines? :O did you run npm run format?

Since you fix that, can you also delete the station.js and station.js.map‎ ? they never meant to be there but still havent made a PR to remove them :(

Sorry I forgot to run it! Also I deleted the files :)

@Abs3601 Abs3601 requested a review from max246 February 1, 2026 22:01
@max246
Copy link
Copy Markdown
Collaborator

max246 commented Feb 2, 2026

all good, you can merge it

@max246
Copy link
Copy Markdown
Collaborator

max246 commented Feb 3, 2026

just need to fix again the conflict :( then will merge it in for you

Resolved merge conflicts:
- types.ts: Re-added CAMERA_E40 device type, properties, and commands
- supported_devices.md: Added E40 entry and kept new Entry Sensor E20

Preserved E40 additions:
- DeviceType.CAMERA_E40 = 49 (T8144)
- 43 device properties for E40 camera
- 8 device commands (streaming, talkback, alarm, snooze)
@Abs3601
Copy link
Copy Markdown
Contributor Author

Abs3601 commented Feb 3, 2026

just need to fix again the conflict :( then will merge it in for you

Done! :)

@max246 max246 merged commit ad84f04 into bropat:develop Feb 3, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants