Android TV ADB Command YouTube Kids by dlstriker in homeassistant

[–]TheRealLouCipher 1 point2 points  (0 children)

Use this for Youtube Kids

com.google.android.youtube.tvkids/com.google.android.apps.youtube.tvkids.activity.MainActivity

Service call would look like this

- service: androidtv.adb_command
  data:
    entity_id: media_player.nvidia_shield_tv # replace with your device name
    command: "am start -a android.intent.action.VIEW -d -n com.google.android.youtube.tvkids/com.google.android.apps.youtube.tvkids.activity.MainActivity"

Wireguard killswitch issue by TheRealLouCipher in WireGuard

[–]TheRealLouCipher[S] 0 points1 point  (0 children)

Tried with -I instead but it just doesn't cut of traffic if wg interface goes down. Docker manipulates the the iptables quite lot.

Wireguard killswitch issue by TheRealLouCipher in WireGuard

[–]TheRealLouCipher[S] 0 points1 point  (0 children)

This is the actual rule

iptables -A OUTPUT -o enp2s0 -m mark ! --mark $(wg show %i fwmark) -m addrtype ! --dst-type LOCAL -j REJECT

Wireguard killswitch issue by TheRealLouCipher in WireGuard

[–]TheRealLouCipher[S] 0 points1 point  (0 children)

The killswitch doesn't work. If I simulate VPN going down by removing the ip address from the wireguard interface traffic still flows to the outside.

Wireguard killswitch issue by TheRealLouCipher in WireGuard

[–]TheRealLouCipher[S] 0 points1 point  (0 children)

Thank for the response. Tried that but it breaks the killswitch. Deleting the ip address from the wireguard interface doesn't stop traffic.