Addon Open Media Vault 2 MQTT

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

"Add repository on my Home Assistant"

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

MQTT

OMV2MQTT has auto discovery MQTT topics.

HA

External Link

Donate

If the heart tells you

"Buy Me A Coffee"
"Buy Me A Coffee"

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

Thanks

Is fixed :smiley:

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)