Addon Open Media Vault 2 MQTT
I created an addon to push informations from Open Media Vault to MQTT.
OMV2MQTT is a wrapper for send data on Open Media Vault to MQTT broker.
Installation
If you want to do add the repository manually, please follow the procedure highlighted in the Home Assistant website . Use the following URL to add this repository: https://github.com/GollumDom/addon-repository
Usage
Install broker addon
Install OMV2MQTT
Configure MQTT URI
Configure host, login and password of OMV
Start your container
OMV2MQTT has auto discovery MQTT topics.
External Link
Donate
If the heart tells you
3 Likes
very cool, thanks for your work
1 Like
Iāll try it right away, small question, can the hard drives speed down?
i tried the addon, i get an error about cpu detection, but worst thing continuous reading smart data doesnāt allow hard disk to spindown
Itās just to measure for the moment, no action is available (except reboot and shutdown).
But could you tell me more about your mistake? Put the module in debug mode and send me the logs
New update add option for disable https check
1 Like
Hi,
I have two OMV. One running on a Pi4 and the other running on a Proxmox VM
I have created in Issue describing the problem
opened 10:20AM - 09 Nov 24 UTC
Hi,
I am running OMV in a Proxmox VM. Looks like it does not support cputemp wh⦠ich ends in an exception.
That would be a big deal if it does not lead to that the whole service section is missing
OMV in a Proxmox VM

OMV on my Pi4

````
OMV login success
Update MQTT data
ERROR: TypeError: Cannot read properties of null (reading 'cputemp')
at updateSystem (/app/dist/index.js:429:49)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Promise.all (index 1)
at async mainLoop (/app/dist/index.js:844:17)
OMV login success
Update MQTT data
ERROR: TypeError: Cannot read properties of null (reading 'cputemp')
at updateSystem (/app/dist/index.js:429:49)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Promise.all (index 1)
at async mainLoop (/app/dist/index.js:844:17)
OMV login success
Update MQTT data
ERROR: TypeError: Cannot read properties of null (reading 'cputemp')
at updateSystem (/app/dist/index.js:429:49)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Promise.all (index 1)
at async mainLoop (/app/dist/index.js:844:17)
````
Would be great if such an error does not end in the whole system information is missing
Thanks
Still getting the same error
mqtt-retain: enabled
mqtt-qos: 0
omv-url: http://192.168.178.???:9080
omv-login: xyz
omv-password: ***********
omv-exposed-networks: ens18
omv-disable-check-https: disabled
scan-interval: 30
login-interval: 300
ha-discovery: enabled
ha-prefix: homeassistant
log: MESSAGE
(node:1) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
OMV login success
Initialize success
Update MQTT data
Connected to MQTT: mqtt://abc:[email protected] .???
ERROR: TypeError: Cannot read properties of null (reading 'cputemp')
at updateSystem (/app/dist/index.js:429:49)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Promise.all (index 1)
at async mainLoop (/app/dist/index.js:844:17)
Just ran into this addon which looks very promising (thanks you!) but iām receiving the same error reported months ago āERROR: TypeError: Cannot read properties of null (reading ācputempā)ā.
My omv is 7, iām running the latest version of the docker addon.
Did any of you find a solution or workaround?
@smeagolworms4