Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sharing my findings... #1

Open
z4rn0x opened this issue Jun 16, 2022 · 2 comments
Open

sharing my findings... #1

z4rn0x opened this issue Jun 16, 2022 · 2 comments
Labels
good first issue Good for newcomers

Comments

@z4rn0x
Copy link

z4rn0x commented Jun 16, 2022

@VDRainer
Hello
First of all, thank you for this script, it does exactly what I was looking for: blocking / unblocking some devices from my Home Assistant... It took me some time to get it to work, so I just want to share my findings in case anybody needs it in the future.

  1. My HA environment is HASSOS, which means that the linux environment is very very very light (almost inexistent). To walk around that, I set up a specific container for Python (I'm using Proxmox, but it could be done on a dedicated Raspi, hacked router... as long as it has python3 installed
  2. When I was executing the command, I was getting an error (I haven't copied it unfortunately, but it was something about "adglist" that could be empty). I have never programmed in Python, but Google helped me, and after a few hours, I finally found that there was no problem with the code, but the error was telling me that the disallowed clients list was empty and that was a problem. I added manually an IP in Adguard, and boum, problem solved!!!

It's now working very well! thanks again!

@VDRainer VDRainer added the good first issue Good for newcomers label Jun 17, 2022
@VDRainer
Copy link
Owner

Hello @z4rn0x , thanks for your comments.
Glad it's working for you.

@VDRainer
Copy link
Owner

@z4rn0x , i had the time to test the setup in HAOS without problems.
All needed python modules are available in the HA container.
I updated the README for testing the script inside the HA container.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants