Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Where is the smart data? #158

Open
rofo69 opened this issue Nov 26, 2024 · 6 comments
Open

[Question] Where is the smart data? #158

rofo69 opened this issue Nov 26, 2024 · 6 comments
Labels
question Further information is requested

Comments

@rofo69
Copy link

rofo69 commented Nov 26, 2024

I have the plugin working and sending back data for my disks and services, all fine, but I can't find any entities or where I would find the smart data ?

@rofo69 rofo69 added the question Further information is requested label Nov 26, 2024
@rofo69
Copy link
Author

rofo69 commented Nov 26, 2024

Taking a poke around the code, there also seems to be code for returning the list of plugins, which I also don't have any entities for. I'm guessing things have gradually broken as OMV got upgraded and the plugin didn't keep up.

Copy link
Owner

tomaae commented Nov 27, 2024

for smart data, you have to enable them in integration configuration.

@rofo69
Copy link
Author

rofo69 commented Nov 27, 2024

Hi @tomaae - I found the smart data in the end, I was just not looking in the right place.
One thing I noticed is that there is not a disk attribute for 'overallstatus', which is what I really want, but its clearly coming through in the rpc calls, because I can see it in the payload when using debug logs:-

image

I have tried adding "overallstatus", to the list of attributes at line 45 of the line sensor_types.py as part of the DEVICE_ATTRIBUTES_DISK list, and then restarted home assistant, but the attribute never appears. I'm not sure what I am doing wrong.

Copy link
Owner

tomaae commented Nov 27, 2024

you need to define it in controller to process that data.

@rofo69
Copy link
Author

rofo69 commented Nov 27, 2024

Thanks @tomaae.
I'm getting the overallstatus now, and have written up how I did it here:-

https://community.home-assistant.io/t/openmediavault-integration/189310/156

@rofo69
Copy link
Author

rofo69 commented Nov 30, 2024

I've also added power on hours, the instructions for which are very similar to the above and can be found here:-

https://community.home-assistant.io/t/openmediavault-integration/189310/158

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants