Process name

Hi, what is the precess name of hass agent in windows11? I sometimes notice the process crashing, and all sensors going unavailable. Suffice to say my whole house basically shuts down when HA thinks the PC "turned off" like this. Wanna set a scheduled event on crash to just re-run the process. Also I vaguely know how to do this but am not sure about the event number as trigger. ChatGPT says it's 7024. Is that it?
Solution:
the process is called just "HASS.Agent"
Jump to solution
39 Replies
DrR0x
DrR0xā€¢8mo ago
Look, i would be happy to give you that but i would rather stop the crashing lmao
ChrisRosenkreuz23
ChrisRosenkreuz23OPā€¢8mo ago
haha, fair enough i only asked like that because I didn't want to trouble you for the long work well, that, and I don't think I still have the logs
DrR0x
DrR0xā€¢8mo ago
well, not to hurt him but im not the one thats gonna be fixing it šŸ¤£ @Amadeo
ChrisRosenkreuz23
ChrisRosenkreuz23OPā€¢8mo ago
so presumably I would have to wait for the crash to happen again then get the log it doesn't happen all that often i think it was twice but I couldn't be bothered, so the log probably got overwritten
DrR0x
DrR0xā€¢8mo ago
If you have any logs there should be a very large part of them that is stack traces which will help find the error spot
Amadeo
Amadeoā€¢8mo ago
Ya, with debug logs enabled in the settings if possible šŸ˜„
ChrisRosenkreuz23
ChrisRosenkreuz23OPā€¢8mo ago
it;s from today, it happened again
Amadeo
Amadeoā€¢8mo ago
hm, nothing per se that would indicate the crash
Amadeo
Amadeoā€¢8mo ago
is there anything in the event viewer (in system or application category) from that time?
ChrisRosenkreuz23
ChrisRosenkreuz23OPā€¢8mo ago
sorry for not seeing the message. Where is this event viewer? is it on the HA server side? or on the windows machine
Amadeo
Amadeoā€¢8mo ago
it's part of the windows - https://www.windowscentral.com/how-use-event-viewer-windows-10 (sorry for link to article rather than dedicated screenshots by my windows o this machine is not in English so it wouldn't be helpful :D)
Windows Central
How to use Event Viewer on Windows 10
If Windows 10 or an app isn't behaving as expected, you can use the Event Viewer to understand and troubleshoot the issue, and in this guide, we'll show you how.
ChrisRosenkreuz23
ChrisRosenkreuz23OPā€¢8mo ago
is it here? like, am I in the right timeframe? think I narrowed it down
ChrisRosenkreuz23
ChrisRosenkreuz23OPā€¢8mo ago
No description
Amadeo
Amadeoā€¢8mo ago
what is the error from 18:00 and warnings from 17:4X? when you click at them there should be more details at the bottom od the window
ChrisRosenkreuz23
ChrisRosenkreuz23OPā€¢8mo ago
No description
ChrisRosenkreuz23
ChrisRosenkreuz23OPā€¢8mo ago
the error^
ChrisRosenkreuz23
ChrisRosenkreuz23OPā€¢8mo ago
the warnings
No description
ChrisRosenkreuz23
ChrisRosenkreuz23OPā€¢8mo ago
it seems like there's a bunch a services crashing, and not just hass agent could it be from the overclocking?
Amadeo
Amadeoā€¢8mo ago
I don't think so? I'd excpect system to crash rather than one specific app unless you experience more of the apps going awol randomly
ChrisRosenkreuz23
ChrisRosenkreuz23OPā€¢8mo ago
yes that's what it looks like. I managed to get a quick peek at the systray icons when that glitch happens and I could just see each of them disappear and reappear there so should I mark this as solved?
Amadeo
Amadeoā€¢8mo ago
Just to be sure, more applications are randomly going awol? (Whilst you're playing with overclock)
ChrisRosenkreuz23
ChrisRosenkreuz23OPā€¢8mo ago
yes, the entire systray section, basically all the apps running in background, I saw them one by one getting restarted at just that time this only happened a couple times so it's not every day and one time I just happened to be glancing at precisely that spot so yeah, I would conclude that maybe it is not HASS Agent's fault, most likely I just wanna have it restart when they do that all the rest, they restart by themselves for some reason I wanna set HASS agent to restart by itself when it does so, just need the process name, and event ID number for the trigger hello hey
Amadeo
Amadeoā€¢8mo ago
https://b.chihi.ro/m5t6cj.png you remind me of my collague from work that always writes "hello" but never what he actually wants šŸ˜„
ChrisRosenkreuz23
ChrisRosenkreuz23OPā€¢8mo ago
well, I asked for the process name it's in the title :p
ChrisRosenkreuz23
ChrisRosenkreuz23OPā€¢8mo ago
No description
Amadeo
Amadeoā€¢8mo ago
oh
Solution
Amadeo
Amadeoā€¢8mo ago
the process is called just "HASS.Agent"
Amadeo
Amadeoā€¢8mo ago
but what kind of event id number are we talking about?
ChrisRosenkreuz23
ChrisRosenkreuz23OPā€¢8mo ago
it is the number that windows expects, when I click new rule like in the automation manager whenever the selected program crashes, windows will restart it but it wants an id for the trigger, in task scheduler
Amadeo
Amadeoā€¢8mo ago
I'm not sure what that would be, if there is something in the event viewer related to the HASS.Agent crashing then maybe that ID? I've never setup such a thing so it's hard to say, especially if the program may be crashing do to the system/overclock
ChrisRosenkreuz23
ChrisRosenkreuz23OPā€¢8mo ago
No description
Amadeo
Amadeoā€¢8mo ago
yeah, I think it expects the event viewer event id
ChrisRosenkreuz23
ChrisRosenkreuz23OPā€¢8mo ago
yeah darn it
ChrisRosenkreuz23
ChrisRosenkreuz23OPā€¢8mo ago
No description
ChrisRosenkreuz23
ChrisRosenkreuz23OPā€¢8mo ago
I think this is a generic one for when an app crashes that's what chatgpt says anyway thank you for your help! I will tell you how it went after I observe it behaving. should I tick this closed? āœ…
Amadeo
Amadeoā€¢8mo ago
let's leave it open for now, we assume the crashes may be from the overclock but I always like to leave some chance that there is something on our side šŸ˜„
ChrisRosenkreuz23
ChrisRosenkreuz23OPā€¢8mo ago
very well. Yes, that is a healthy outlook
Want results from more Discord servers?
Add your server