17

So long story short, Google Nest thermostat just disconnects from HA every once in a while. It used to be when I did a reboot I'd get a notification in HA telling me an integration needs setting up again, always Nest and Google Calendar.

But now it seems to disconnect and not tell me. I realise when it's fucking freezing and my heating hasn't kicked on (I control it with HA rather than Nest because I get better results.)

So what I've done is have Node Red reload the integration every 4 hours, because when I manually do this it'll come up that the integration needs reconfiguring.

So now all I need is to be notified when the integration needs reconfiguring. A Google just brings me up threads on how to send a notification. I can do this already, I just want a notification when I get a notification...

See, the problem is that it's called "Notifications" in HA.

you are viewing a single comment's thread
view the rest of the comments
[-] CondorWonder@lemmy.ca 6 points 7 months ago

Why not set up an automation for when it disconnects (goes into unavailable or unknown state probably) and send a notification? That’s relying on the actual problem (Nest goes offline) rather than a side effect of the problem (notification that the integration is broken).

[-] Lifebandit666@feddit.uk 2 points 7 months ago

First thing I thought of, but it remains "connected" in HA as in it just reads as the same temperature and has API errors when It sends commands. It's actually disconnected but not registering as such.

I haven't had a disconnect since I started refreshing the integration in Node Red a couple of days ago, so to be fair I don't know if it will become "Disconnected" when it refreshes and isn't connected.

Basically what I'm saying is this may actually be the way to do it, I just don't know yet if it will become "Disconnected" yet

[-] CondorWonder@lemmy.ca 3 points 7 months ago

Maybe look at something like a template trigger that checks the last_updated property of the state object? If it’s older than n hours ago it’s triggered?

[-] Lifebandit666@feddit.uk 1 points 7 months ago

Nice, I'd have to see how often the temperature changes during a normal day but I could make it work. Great idea thabks

this post was submitted on 30 Nov 2023
17 points (100.0% liked)

homeassistant

11433 readers
40 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 1 year ago
MODERATORS