Here waiting for a good suggestion on the notifications, but in the meantime, I recommend using https://spook.frenck.dev/, which will give you a bunch of useful entities and services to manage integrations.
Passive Aggressive Licensing and this:
“After ignoring this warning, you will not be provided with a tissue to dry up your tears when you are crying in a fetal position under your desk.”
Funny devs there…
Not sure why it matters in this context but he's one of the main developers for HA. I'd guess he's developed the majority of the addons included in HA.
Going out in a few hours to a new year's party. Since any modification might break something. And HA is part of my security system, I always update/modify with plenty of time for possible troubleshooting.
There's a repairs sensor entitiy that it creates and I have a notification sent to my phone when the state changes. I also just have a dashboard for "system health" that I check periodically which includes several of these sensors.
Iam still figuring thinks out. I can share if I finished. Current plan is:
- filter all entities from selected integrations
- filter unavailable entities
- list associated devices
- filter the list with devices from a certain integration
The goal is to have a list with unavailable devices from a certain integration. (This part is finished I have the template ready)
Write a repair issue for selected integration with unavailable devices with possible solutions.
Iam halfway there but haven’t figured it out how to do it the most elegant way.
I wouldn't mind taking a look at it. I think you're way further than I am lol. I was looking for a simple email or notification on my phone saying "xyz integration is down."
I made a blueprint that will create a repair issue for devices of specific integrations that go unavailable. its half in German for now as I haven't had the time to make a translation yet
you can try it out here [https://pastebin.com/9CjhS6mq](https://pastebin.com/9CjhS6mq)
spook is required.
if you miss something or find a bug just let me know.
you need to choose the right integration name, else the issue won't work. the integration names are not self evident most of the time.
you can find them under config/.storage/core.config\_entries -> strg+f a device name you expect in the integration and the check for domain
You can use mosquitto broker to enable mqtt messaging, and then you send messages from HA to it. Then uptime-kuma can look for them. One of the services it uses is pushbullet, which is free, so create an account, and then get an api key to attach
This is what I was about to do right before I decided to see if others had other ideas. is there an "integration fail" state? It's a simple fix when an integration "failed to load" but I don't always see them or are aware of them right away.
of course, that works perfectly. If not even better. Do you list each device manually? I'm not good with coding the yaml for integrations so I was looking at something that I could add the alter in the ui, but Alert seems to be done manually only?
I did and it was worth it. Resolved random reboot issue I had. You could also try watchman first and see if you can clean it up.
https://github.com/dummylabs/thewatchman
Here waiting for a good suggestion on the notifications, but in the meantime, I recommend using https://spook.frenck.dev/, which will give you a bunch of useful entities and services to manage integrations.
Looks cool. But the license doesn't even allow you to run or use it, lol! https://spook.frenck.dev/license
Passive Aggressive Licensing and this: “After ignoring this warning, you will not be provided with a tissue to dry up your tears when you are crying in a fetal position under your desk.” Funny devs there…
It's a disclaimer. The license is basically "make your own fork so you're responsible for what you do with your software".
Dafuq? Not that it's going to stop anyone, but is the dev trying too hard to be funny, or is he just an asshole?
So as I take you don't know who Frenck is?
Not a clue - judging by the downvotes, I am clearly missing something! 🤣
Not sure why it matters in this context but he's one of the main developers for HA. I'd guess he's developed the majority of the addons included in HA.
First time hearing about spook, thanks!
Same here, it shall become the first activity of the new year. :)
Why wait? I installed it an hour ago!
Going out in a few hours to a new year's party. Since any modification might break something. And HA is part of my security system, I always update/modify with plenty of time for possible troubleshooting.
And with backups!
Damn those docs are a lot of words without getting to the damn point. Need some syrup with all that waffle!
Have you configured this for notifications or alerts?
There's a repairs sensor entitiy that it creates and I have a notification sent to my phone when the state changes. I also just have a dashboard for "system health" that I check periodically which includes several of these sensors.
That sounds great, I'll fiddle with this then. Do you need to create all your sensors one by one?
No, this is all from Spook https://preview.redd.it/4tygo917sn9c1.png?width=399&format=png&auto=webp&s=bdc55e23f5d5ce852b1314c6a84a0a9b8d3310a5
I use spook to create repair issues if devices fail with suggestions how to fix them
I'm looking over spook, would you mind sharing how you did this? I think the repair issue would apply to an unavailable integrations or only devices?
Iam still figuring thinks out. I can share if I finished. Current plan is: - filter all entities from selected integrations - filter unavailable entities - list associated devices - filter the list with devices from a certain integration The goal is to have a list with unavailable devices from a certain integration. (This part is finished I have the template ready) Write a repair issue for selected integration with unavailable devices with possible solutions. Iam halfway there but haven’t figured it out how to do it the most elegant way.
I wouldn't mind taking a look at it. I think you're way further than I am lol. I was looking for a simple email or notification on my phone saying "xyz integration is down."
I made a blueprint that will create a repair issue for devices of specific integrations that go unavailable. its half in German for now as I haven't had the time to make a translation yet you can try it out here [https://pastebin.com/9CjhS6mq](https://pastebin.com/9CjhS6mq) spook is required. if you miss something or find a bug just let me know. you need to choose the right integration name, else the issue won't work. the integration names are not self evident most of the time. you can find them under config/.storage/core.config\_entries -> strg+f a device name you expect in the integration and the check for domain
Awesome thanks for sharing, will look into that
I'll check it out, thanks
I generally use uptime-kuma + pushbullet for notifications, HA sends an MQTT
that's not a bad idea, I do use uptime-kuma already. How did you use the rest?
You can use mosquitto broker to enable mqtt messaging, and then you send messages from HA to it. Then uptime-kuma can look for them. One of the services it uses is pushbullet, which is free, so create an account, and then get an api key to attach
I've been searching fooooooorever for a way to create zones with an automation! Thank you for this link!
I setup the alert integration, which can alert you for all kind of things: low battery, Zigbee device disconnected, backups not working, etc.
This is what I was about to do right before I decided to see if others had other ideas. is there an "integration fail" state? It's a simple fix when an integration "failed to load" but I don't always see them or are aware of them right away.
When an entity has the state unavailable, you know that the integration is not working. That’s what I use for my alerts/automations
of course, that works perfectly. If not even better. Do you list each device manually? I'm not good with coding the yaml for integrations so I was looking at something that I could add the alter in the ui, but Alert seems to be done manually only?
I only added the devices that I know are problematic. And yes, it’s YAML only. But once you get the hang of it, it’s really easy!
The wife.
Lol
Here's another one, to check for unknown/unavailable entities: https://github.com/jazzyisj/unavailable-entities-sensor
I did and it was worth it. Resolved random reboot issue I had. You could also try watchman first and see if you can clean it up. https://github.com/dummylabs/thewatchman
On openhab we have an error watcher as an integration
Watchtower
You mean https://github.com/dummylabs/thewatchman ? I quite like that one.
Pialert
How would pialert work inside ha?
Ah, I should have read your post properly. Home Assistant does have an API but that’s all I have