reference this post on reddit:
https://www.reddit.com/r/homeassistant/comments/144wsl7/ysk_you_can_automate_turning_onoff_remote_access/?utm_source=pocket_saves
they say that you can automate remote access so that while you are at home, remote access is disabled. I’d like to set this up but the OP didn’t post any instructions.
2 Likes
Maybe disabling the nginx addon based on your location?
I believe, many of us are using http locally and https remotely over nginx, which is running inside supervisor as add-on.
Keep in mind that this will block some (or many) google home and alexa functionality if there is any in your setup
1 Like
Simply set up an automation, that depends on your home status.
Someting like this:
automation:
- id: enable remote access
name: enable remote access
trigger:
- platform: state
entity_id: person.you
state: not_home
for: '00:05:00'
action:
- service: cloud.remote_connect
There are numerous other sensor or entities that you can use to trigger this automation, but in an essence, this is what you need to do. ![:slight_smile: :slight_smile:](https://community.home-assistant.io/images/emoji/twitter/slight_smile.png?v=10)
If you do it like this, this is only the remote connection from NabuCasa to your HA instance. This has nothing to do with the other settings like Google Home or Alexa, it just enables your remote connection.
If you’d choose the way @fuatakgun
supposed, which is perfectly ok as well, you will loose the other settings from your NabuCasa account. ![:slight_smile: :slight_smile:](https://community.home-assistant.io/images/emoji/twitter/slight_smile.png?v=10)
2 Likes