Coder Social home page Coder Social logo

Comments (7)

addons-assistant avatar addons-assistant commented on June 15, 2024

👋 Thanks for opening your first issue here! If you're reporting a 🐛 bug, please make sure you include steps to reproduce it. Also, logs, error messages and information about your hardware might be useful.

from addon-nut.

sinclairpaul avatar sinclairpaul commented on June 15, 2024

You can try setting the vendor id as per the documentation examples, maybe it is conflicting with your other USB devices. You may also want to test with only the UPS connected.

Please do note the addon is not yet released.

from addon-nut.

AlexVVVx avatar AlexVVVx commented on June 15, 2024

Thank you for quick response.
I am not sure if this id is correct
https://networkupstools.org/stable-hcl.html - Powercom WOW USB (2009 models, product id: 00a4)

Updated my config but it didn't help.
I have already tested the only UPS inserted - no any difference.

users:

  • username: upsmon
    password: ha_upsmon
    instcmds:
    • all
      actions: []
      devices:
  • name: myups
    driver: usbhid-ups
    port: auto
    config:
    • vendorid = 00a4
      mode: netserver
      shutdown_hassio: 'false'
      list_usb_devices: 'true'
Power Devices support

from addon-nut.

sinclairpaul avatar sinclairpaul commented on June 15, 2024

Bus 001 Device 040: ID 0d9f:0004 Powercom Co., Ltd

I believe the vendorid in your example is likely 0d9f

0004 looks to be the productid

Can you post your config in backticks, to avoid the markdown formating.

it should be something like { "name": "myups", "driver": "usbhid-ups", "port": "auto", "config": [ "vendorid = 0d9f" ] },
It is stated that the support is experimental, and the key difference is likely that the addon runs in Alpine. If you cannot get it to recognise the UPS there is always the option to run in Netclient mode, in which the addon can still receive notifications from a remote NUT install.

from addon-nut.

AlexVVVx avatar AlexVVVx commented on June 15, 2024

Thank you for your time.
I updated the vendorid but still no luck...
Looks like I have to switch back to my previous configuration with separate NUT server.
In this case I don't need this addon at all - just sensor.
I'll try this addon some later when it is released.
Thank you anyway!

Here is my config:
{
"users": [
{
"username": "upsmon",
"password": "****",
"instcmds": [
"all"
],
"actions": []
}
],
"devices": [
{
"name": "myups",
"driver": "usbhid-ups",
"port": "auto",
"config": ["vendorid = 0d9f"]
}
],
"mode": "netserver",
"shutdown_hassio": "false"
"list_usb_devices": "true"
}

from addon-nut.

sinclairpaul avatar sinclairpaul commented on June 15, 2024

We made some changes around USB ports within the addon, please feel free to retest, but will close this out for now.

from addon-nut.

addons-assistant avatar addons-assistant commented on June 15, 2024

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

from addon-nut.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.