Is there a way to get more specific with the notifications? #532
Unanswered
NTPanaccio
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I apologize if this is a dumb question, but I'm new to HA and struggling to figure out how to accomplish this task. Ideally, I would like to use the HMS errors entity to trigger an event. However, I am looking to check the HMS error code and then trigger another action. For instance, when my AMS unit throws the HMS code for AMS overload, which is HMS_0700-0100-0002-0002, I want HA to press the Resume Printing button, since that usually resolves it for me, and then notify me that it's attempting to resume. If the HMS errors entity is still set to Problem, then notify me that it's still an issue and I can address it manually at the printer.
Here is my current notification which is just sending me a message on my iPhone when there's a problem:

Here is the more advanced notification that will attempt to resume, wait for 30 seconds, and then check the Problem status and notify me again:

So, is there a way to only trigger a notification based on a specific HMS error? If so, is there a specific string I need to include in the message to capture the error? To my knowledge, I can't force an HMS error, so I basically have to set something up and wait for a failure to even confirm success.
Beta Was this translation helpful? Give feedback.
All reactions