this post was submitted on 10 Jan 2024
12 points (100.0% liked)

homeassistant

12131 readers
24 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 2 years ago
MODERATORS
 

As the title says, I currently don't have a reliable method to connect to my home network due to pivpn having issues. In the mean time my phone trys to synced sensors constantly and is one of the power sinks. Is there a way to turn off sync when I am not connected to wifi or even better when I'm not at home?

top 2 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 10 months ago (1 children)

The only way I can think of is to disable the built-in updates, and set up time based shortcuts and have them do an if on wifi then trigger home assistant app sensor updates.

The way I’d structure it is a normal shortcut that you run from as many time-based shortcuts as you want to create (so you can reuse it easily). You can check the network name you’re connected to and only run if it matches your home network.

[–] halfwaythere 2 points 10 months ago

Thanks I'll give that a try!