Closed iskandarluqman closed 4 months ago
That's interesting. What do you see when using the API?
How do I test the API actually? Sorry I am not familiar. I tried by clicking the API docs
I am not sure what is the device ID.
EDIT: I think I found it
I got 33 entries from the API, same as from webnut. I guess my UPS just isnt giving enough information? But now I am just curious how webnut got my UPS name
EDIT 2: Upon checking my ups.conf file, I set the desc field as the model name, that is where webnut is using as the device name. Any ideas how do I solve it?
Hm. I've never seen a ups that didn't report its model. I've published a new test version that should use your device description in the event that there is no model. Could you try it out? brandawg93/peanut:test
That definitely did the trick. Thank you so much! However I did messed around with changing the driver for my UPS, as I lookup for my UPS, nutdrv_qx was the one to be used as my UPS comes with Viewpower software. Even nut scanner recommended this. Then I decided to try random drivers and I end up with blazer_usb driver. Somewhat this driver is better as it show device.model etc.
Not sure why but hey it works in the end. Just though letting you know. Thank you again!
Even better! Thanks for testing my changes, though. I'll close this as completed since your problem is resolved but will still publish a new official version for anyone else with this issue.
Describe the bug
Hello. Before that I would like to say everything besides that is showing perfectly
Just only some of it are missing and not showing the name is kinda bothering me. I am migrating from webNUT to peaNUT.
Webnut shows the model no issue. So far if I recalled correctly, there isnt any configuration file for webnut so the name must be from the device itself. Just I dont know why peaNUT is not showing the name.
Debug Output
Missing Device Manufacturer/ Model/ Serial/ Runtime
Steps to reproduce
networks: default: name: custom1 external: true
Device Type
Desktop
UPS Device
offline / line interactive, nutdrv_qx
Last Working Version
No response