Skip to content

Hack around to allow HA users to change the Eufy-Security-client github - to allow users to test unreleased builds to confirm support works or not#33

Closed
MELSAID888 wants to merge 4 commits into
bropat:developfrom
MELSAID888:master
Closed

Hack around to allow HA users to change the Eufy-Security-client github - to allow users to test unreleased builds to confirm support works or not#33
MELSAID888 wants to merge 4 commits into
bropat:developfrom
MELSAID888:master

Conversation

@MELSAID888

Copy link
Copy Markdown

Created this - quick hack - to allow users to get a custom eufy-security-client

Steps is to copy the folder to the HA custom addon - edit the build.yaml with the git repo they want to build on and then it appears in HA custom addons - install and done. If you want to change the build - just edit build.yaml - overwrite it in the custom addon directory in HA, and go to the custom addon and press re-build. Unfortunately rebuild button only appears in HA - if its custom addon. Doesn't show if you pull directly from github - but feel free to poke around.

pisolofin and others added 4 commits August 4, 2025 18:11
* Update nl.yaml

Updated translation: Changed the Danish text to Dutch for the 'ipv4first' label (name and description).

* Discord link in root README.

* Deployment doc link.

* Discord link in add-on readme.

* Deployment doc.

* Update 1.9.3 (bropat#31)

---------

Co-authored-by: phoenix-blue <phoenix-blue@users.noreply.github.com>
Co-authored-by: ChayoteJarocho <77412126+ChayoteJarocho@users.noreply.github.com>
…e build configuration

- Move existing files to eufy-security-ws-customrepo directory
- Update build.yaml to support custom eufy-security-client branches
- Add documentation for custom repository usage
- Maintain all existing functionality while adding customization capability
@MELSAID888

Copy link
Copy Markdown
Author

Here is the draft @max246
Re:
bropat/eufy-security-client#721 (comment)

@genomez

genomez commented Dec 10, 2025

Copy link
Copy Markdown

Created this - quick hack - to allow users to get a custom eufy-security-client

Steps is to copy the folder to the HA custom addon - edit the build.yaml with the git repo they want to build on and then it appears in HA custom addons - install and done. If you want to change the build - just edit build.yaml - overwrite it in the custom addon directory in HA, and go to the custom addon and press re-build. Unfortunately rebuild button only appears in HA - if its custom addon. Doesn't show if you pull directly from github - but feel free to poke around.

Thank you for this! I haven't been able to control the light on a Floodlight E30 (T8426) since I got it last year. I have many different eufy camera's with all the lights in HA Automations but that was the only floodlight I couldn't control. Your eufy-security-ws-customrepo fixed that. Thanks again!

I'm happy to test anything you need if I have the camera you're looking at.

@MELSAID888

Copy link
Copy Markdown
Author

Created this - quick hack - to allow users to get a custom eufy-security-client
Steps is to copy the folder to the HA custom addon - edit the build.yaml with the git repo they want to build on and then it appears in HA custom addons - install and done. If you want to change the build - just edit build.yaml - overwrite it in the custom addon directory in HA, and go to the custom addon and press re-build. Unfortunately rebuild button only appears in HA - if its custom addon. Doesn't show if you pull directly from github - but feel free to poke around.

Thank you for this! I haven't been able to control the light on a Floodlight E30 (T8426) since I got it last year. I have many different eufy camera's with all the lights in HA Automations but that was the only floodlight I couldn't control. Your eufy-security-ws-customrepo fixed that. Thanks again!

I'm happy to test anything you need if I have the camera you're looking at.

Glad to hear it’s been useful! I was surprised nothing like this existed once I understood how HA eufy-security works. After seeing how @max246 added device support for one of my cameras, I learnt from that and built this so I could pull changes from custom repos without waiting for them to go live. Then I forked the eufy-client it self, added support for other cameras I had myself, and threw in a few tweaks for fun 😆. If you left build.yaml as-is, it’s building from my forked development repo for eufy-client. Hopefully, the official client will include my merges soon so it works on the default one too.

@genomez

genomez commented Dec 10, 2025

Copy link
Copy Markdown

Glad to hear it’s been useful! I was surprised nothing like this existed once I understood how HA eufy-security works. After seeing how @max246 added device support for one of my cameras, I learnt from that and built this so I could pull changes from custom repos without waiting for them to go live. Then I forked the eufy-client it self, added support for other cameras I had myself, and threw in a few tweaks for fun 😆. If you left build.yaml as-is, it’s building from my forked development repo for eufy-client. Hopefully, the official client will include my merges soon so it works on the default one too.

I didn't change the repo in build.yaml as I had seen the changes I was looking for (T8426) looked like they had been added at some point (maybe in develop) so I thought I'd give it a try just the way you had it and sure enough it worked 😆

I've wondered about a custom addon to choose a different repo before, but never dug in enough to learn how to do it so when I saw yours I jumped right on to give it a try. Thanks again!

@max246

max246 commented Dec 12, 2025

Copy link
Copy Markdown
Collaborator

I believe we can integrate this into the main container, rather than having to different ones unless you are worried about conflicting or security reason

@MELSAID888

Copy link
Copy Markdown
Author

I believe we can integrate this into the main container, rather than having to different ones unless you are worried about conflicting or security reason

@max246 That would be ideal — I don't think there are conflicts or security concerns, but I'm not sure how to implement it. In HACS, if users pull from the repository, it will pull the repo link and add the addon, which rebuilds in the background once they press install. I believe there's no way to force a re-build in HA UI - perhaps an option in the configuration? With a custom addon, however, the user can manually press re-build after editing the build.yaml, which then rebuilds based on changes. So, I couldn't find any other way to do it besides a custom addon.

@max246

max246 commented Dec 13, 2025

Copy link
Copy Markdown
Collaborator

Added this on the docker version bropat/eufy-security-ws#470

@max246

max246 commented Dec 13, 2025

Copy link
Copy Markdown
Collaborator

Was talking with @fuatakgun and we believe is safer to keep it separate as you did, but trying to strip to the minium. I will have a look more later

@max246

max246 commented Dec 28, 2025

Copy link
Copy Markdown
Collaborator

@MELSAID888 I believe we can actually have your way as separate addon to ensure we dont compromise the main build.
Like I did for the docker image: https://bropat.github.io/eufy-security-ws/#/docker_dev

Can you check the removed stuff and we can move forward with this PR

@max246 max246 self-requested a review December 28, 2025 14:36
@@ -1,24 +0,0 @@
{

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why remoing this?

Comment thread .github/FUNDING.yml
@@ -1,2 +0,0 @@
ko_fi: bropat

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wyh removing this ?

@@ -1,97 +0,0 @@
name: Bug report

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wyh removing this ?

@@ -1 +0,0 @@
blank_issues_enabled: false

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wyh removing this ?

@@ -1,27 +0,0 @@
name: "Publish"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wyh removing this ?

Comment thread .vscode/tasks.json
@@ -1,19 +0,0 @@
{

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wyh removing this ?

Comment thread .gitignore
@@ -0,0 +1 @@
.Oldbutworking/

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

odd naming to add ?

@@ -1,20 +0,0 @@
ARG BUILD_FROM

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wyh removing this ?

Comment thread repository.json
@@ -1,5 +0,0 @@
{

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wyh removing this ?

@max246

max246 commented Jan 12, 2026

Copy link
Copy Markdown
Collaborator

@MELSAID888 I have made a new way for this, I have merged it and you can see in the doc how to install it. Please let me know if everything is ok and we can close this PR.

Thank you for your help, your work helped to guide us to the right direction!

@max246 max246 closed this Jan 20, 2026
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.

4 participants