Hi team,
I saw the documentation and UI related to the Alarms feature (with severity levels, status tracking, and asset linking). I would like to ask if this feature has already been developed and completed.
If so, is the code available for us to pull and merge into our custom project?
Looking forward to your guidance. Thanks!
Hi!
The alarms feature has been added in September 2024. (GitHub PR)
So it’d be a matter of upgrading to the latest version.
I assume here that your custom project is older than 6 months?
Because you’ll need to do some migration steps as we added Release Management.
We got rid of submodules, and are using versioned artifacts now.
More details can be found here:
1 Like
Hi Martin,
Thanks a lot for your response and the helpful information!
I have a follow-up question. Unfortunately, the previous developer removed the .git
folder from our custom project, so we no longer have access to the Git history or the ability to pull the latest updates directly.
In this case, is there any alternative way to obtain the code related to the new alarm feature, such as a direct download or specific files/modules that I can manually integrate into our project?
Thanks again for your support!
Hi!
Well, you can always copy the code from the GitHub repository,
as long as the license is respected.
However, the most recommended way is using the Java artifacts (JARs) as I described.
Add them as a dependency, and the alarm functionality is included by default.
It also gives you access to the “SDK” / Java class files.
The custom project template does the same, but makes it easier.
FYI: all distributions of OpenRemote, such as the latest docker image,
all have the alarms functionality included by default.
Hope this helps!
1 Like
Hi Martin,
Thank you so much for your clear and helpful response! I truly appreciate the guidance.
I’m currently a young developer just starting out and still learning my way around OpenRemote and Java development. I understand from your explanation that using the Java artifacts (JARs) is the most recommended way to access the alarm functionality, but I still find it a bit confusing how to properly add them and get started.
Would you mind showing me a more detailed step-by-step guide or pointing me to any specific examples or documentation on how to integrate the alarm functionality into a custom project? Even a small walkthrough would mean a lot to me.
Thank you in advance for your patience and support—I’m very eager to learn from experienced developers like you!
Hi!
No problem!
Great to hear you’re looking into the OpenRemote code and custom projects 
Let’s take a more simple approach then.
How old is the custom project you’re using? Is it a fresh clone of the template,
or can you share a commit the OpenRemote repository code is on?
If it’s more recent, it will be easier to do this.