UNRAID Integration

Any support / templates / guides on a dashboard? I would LOOOVE to get rid of glance and it’s docker.

I would love to some something like this

here is their GitHub

2 Likes

I haven’t thought about dashboards yet but you will be able to create something similar or better with the integration.

I have two UNRAID servers in the house. Has this Integration been tested with two servers on the same network?

It may just be my lack of experience with HA. But when I try and rename the Device only some of the entity IDs get renamed at the same time.

binary_sensors seem to have the Server name, but sensors don’t. As the above image is from my second server being added, they all get a “_2” just stuck on the end of the sensor name. Would be neater if they had similar naming to the binary_sensors.

Any way to fix that? Or do I have to rename all 15 by hand?

I definitely second this!

I have only tested on my unraid server. When I get some free time I will look into implementing a fix.

1 Like

Thanks. I’ll try and watch out for updates and check them out for you.

1 Like

I get unavailable for all entities for all 3 unraid servers

1 Like

Any errors in home assistant logs?

I am not getting any energy data for this entity:

This is my UPS data in Unraid:

Your UPS doesn’t have the NOMPOWER attribute. Without it the sensor won’t work.

I replied to your GitHub post

:sob: That’s unfortunate.
As a workaround, I put a Kauf smart plug in front of the UPS.

1 Like

I’ll be releasing an update soon to address the naming and re-naming of unraid entities.

2 Likes

This may be a slightly noobish question. Or slightly off thread…

Is there a way to force a status update when an event happens?

I want to make a HA automation that basically says:
“if server fails to respond to ping, update HA-UNRAID status”.
if (binary_sensor.unraid_server = “disconencted”) then (refresh ha-unraid state of that server)

Is there an action I can add to make that happen?

Extra details waffle…
I have pings on a fast rate to check state of servers in my house, but ha-unraid is on a much lower refresh rate. I’d like to be able to do an “update now” command to ha-unraid in case HA sees a ping fail.

I thought of this when I had a power cut this week. Kinda funny to sit in a dark house with the PC still running and online. It was a good test of my shutdown automations. :grin: When my UNRAID server shut down correctly this was reflected in HA’s ping check. BUT ha-unraid was not aware things had changed.

This is why I’ll like to be able to nudge ha-unraid to check when something like this occurs.

1 Like

You can try this action

UNRAID: Force Update

To find the Config ID you would

  • Go to Settings → Devices & Services → Unraid

  • Click on your device entity

  • Click on UNRAID under Device Info

  • The URL will show: /config/integrations/integration/unraid_[entry_id]

  • Use the ID after unraid_ in your service calls

  • Example URL: /config/integrations/integration/unraid#config_entry/1234abcd5678efgh

  • Your entry_id would be: 1234abcd5678efgh

Screenshot 2024-12-02 at 8.46.40 am

2 Likes

Excellent. I like that. I’ll give it a go for certain.

Thanks a lot @ruaandeysel

It would be awesome to have HASS Unraid entities for:

  • array status (parity check, data rebuild, etc.)
  • notifications for alerts, warnings
  • last parity check and result
  • plugin updates
  • interface speeds (snmp?)
  • drive temp for array and cache drives

I will replicate this post as a github feature request as well.

1 Like