Using CATT

Great to hear that it’s working now. Interesting issue with the port conflict.

Were you using two ssh addons? That’s

the only way that could happen.

No, I told you that python is already available in webterminal & ssh addon. Pity you can’t listen.

Yes you need to install catt every time you update home assistant. But it is automatic.

I got my home assistant casting onto Google hub using https duckdns log in, so I can cast my home assistant not while only being in home. But I can only get through as far as log in page on home assistant where login and password should be entered. And question is: how to enter it on Google hub? Sorry if I missed ready answer to that. I think I scrolled all long 2 years conversation.

It is in the thread Using CATT

Thanks, I tried both in this way

homeassistant:
auth_providers:
- type: trusted_networks
trusted_networks:
- 192.168.0.0/24

and even in this way (this text window corrupted my copy/paste from configuration.yaml, please ignore dots before the lines)

homeassistant:
auth_providers:

  • type: homeassistant
  • type: trusted_networks
    trusted_networks:
    • 127.0.0.1
    • ::1
    • 192.168.1.0/24
    • fd00::/8
    • 172.16.0.0/12
      allow_bypass_login: true

as it was suggested above. If understood correctly, 192.168.1.0 in these examples - is IP address of Google hub. Correct? So when I use http local IP address when trying to connect I get just log in and password fields which I can’t enter and when I use https duckdns when trying to connect I get login/password and additional button trusted networks like described here. When I click on it is says your computer is not allowed.

And now after so many attempts of connecting I’m receiving error “OSError: [Errno 105] No buffer space available” My home assistant is running on dockers. Do I have to reinstall CATT all together?

Impossible to tell when you don’t format your code properly.

Perfect, thanks for your help.

Why don’t you just format your code instead of being passive aggressive. It’s not that damn hard.

No aggression at all. I just copied that yaml code from my configuration.yaml and pasted here and text editor decided to put it in it’s own way. Only if I was that proffi - I wouldn’t ask questions here.

Anyway, I’m googling now how to fix “OSError: [Errno 105] No buffer space available” error before stepping back to previous trouble.

See point 11 here How to help us help you - or How to ask a good question

1 Like
homeassistant:
  auth_providers:
    - type: trusted_networks
      trusted_networks:
        - 192.168.178.55

My second attempt of publishing here my yaml code. The problem is not in yaml writings, as my google hub is getting connected but then I can’t get beyond login page.

Try adding a trusted user and bypass login for your LAN

  auth_providers:
    - type: trusted_networks
      trusted_networks:
        - 127.0.0.1
        - ::1
        - !secret my_ipv4_network
        - fd00::/8
        - !secret zerotier_network
        - !secret my_ipv6_network
      trusted_users:
        127.0.0.1: !secret user_id
        "::1": !secret user_id
        !secret trusted_ipv4: !secret user_id
        "fd00::/8": !secret user_id
        !secret trusted_ipv6: !secret user_id
        !secret zerotier_network: !secret user_id
      allow_bypass_login: true
    - type: homeassistant

That is mine. Nothing on my LAN ever requires manual login.

1 Like

Thanks for a help! Would you please mind to specify what is zerotier_network? Is user_id your login to homeassistant? Are my_ipv4_network (and …ipv6…) located here?

image

If so I guess line - fd00::/8 in my case should be - fe80::/64 , correct? And is 127.0.0.1 address one for all of us or is it just generic example of our home assistant local ip address 192.168…?

Sorry if I bombarding forum with too simple for you questions, I’m only newbie in this classroom.

I use ZeroTier one sometimes for remote access and it’s a fixed local IP address… TLDR; ignore it.
Fd00::/8 should be any IPv6 on your LAN
127.0.0.1 is the generic localhost
If say you use a 192.168.0.x IP address for your local LAN then 192.168.0.0/24

1 Like

Is 192.168.178.55 the IP of your google hub? Just asking to make sure that that is not the IP of HA.

This is what I use for my 2 hubs. So if 192.168.178.55 is the IP of your hub, this setting should be ok.
Also is HA on the same IP range as your Hub?

homeassistant:
  auth_providers:
    - type: trusted_networks
      trusted_networks:
        - 192.168.178.63
        - 192.168.178.59
1 Like

Thanks mate. As I said above now I’m facing another trouble “OSError: [Errno 105] No buffer space available” and until I fix it I can’t go any further. Google search does find few pages of solutions but none of them fixes mine. I guess should I apply traditional amateur’s method to uninstall CATT and re-install it from the scratch? Do you know terminal command to uninstall CATT? And then I will come back to fixing my trusted networks part. And yes 192.168.178.55 is my Google hub IP and I made it static. Thanks, val.

Hmm, not sure what that could be. Did you try removing the power of the Hub and restarting it? Or maybe fully reset it.

Do you see the error on the Hub or on HA?

Oh I see it’s an error on HA. Perhaps try restarting the Docker of HA.

Where exactly are you seeing this?

I see it in my HA terminal (where command to start CATT was always applied in)

No matter if I’m using catt scan of catt -d… command.

So should I try to re-start docker? Or fully stop it and then re-start? What’d be most powerful action there?

Report it on the catt github.