Displaying 20 results from an estimated 2000 matches similar to: "Open source UPS server?"
2024 Oct 18
2
NUT 2.8.0-7 Can't claim USB device [2341:8036]@2/0: Invalid parameter using usbhid-ups
Hello All,
I have been trying to get NUT package working on proxmox host with
Arduino HIDPowerDevice (https://github.com/abratchik/HIDPowerDevice)
And I have been banding my head against the wall and looking through the
internet why I am getting "Can't claim USB device [2341:8036]@2/0:
Invalid parameter" error, but could not find anything relevant.
The information :
- OS name
2024 Oct 18
1
NUT 2.8.0-7 Can't claim USB device [2341:8036]@2/0: Invalid parameter using usbhid-ups
Hi, you need a newer version of NUT. I was doing a similar project with
that library and NUT needed some PRs to get it work. IIRC, v2.8.2 has
everything needed.
On Fri, Oct 18, 2024 at 4:58?AM linkinpiocz via Nut-upsuser <
nut-upsuser at alioth-lists.debian.net> wrote:
> Hello All,
>
> I have been trying to get NUT package working on proxmox host with
> Arduino HIDPowerDevice
2023 Nov 12
1
What is the arduino sub-driver intended to be used for?
I posted earlier on this list about getting an Arduino Pro Micro using
https://github.com/abratchik/HIDPowerDevice in a simple sketch to monitor a
DIY UPS I have built. With the changes from that thread (I had a PR
merged), I was able to get usbhid-ups to recognize my device and could
setup NUT the rest of the way. My intended configuration is to run NUT on a
Raspberry Pi, have that device be
2024 May 17
1
Supporting a DIY UPS with minimal effort butmaximum gain
Looks very great, thanks for writing this! I gather you'd port this to the
Wiki page you've started, too?
A couple of comments:
> So I run a NUT server on a Raspberry PI which is connected via USB to my
DIY-NAS Arduino.
DIY-UPS?
> See drivers/arduino-hid.c for the list of supported IDs...
Since NUT v2.8.1 [PR #1369], the `usbhid-ups` driver allows the user to
specify a
2024 May 16
1
Supporting a DIY UPS with minimal effort butmaximum gain
Ha! I got several on and off list requests for details, so I'll give a
bunch of details here and then maybe I can move this to a wiki page others
can help edit.
WARNING! WARNING! WARNING!
Be careful! My implementation required opening up high power components,
and dealing with 120VAC mains power and high currents on 12VDC. If you
decide to tackle any of this yourself, you need to understand
2023 Nov 12
1
What is the arduino sub-driver intended to be used for?
Well, the intention generally is to use it as a driver, so the more
abilities the merrier (PR would be welcome) :)
Per comments to initial PR that added it,
https://github.com/networkupstools/nut/pull/1044 :
> The idea of introducing this driver is to enable creation and prototyping
of smart UPS based on Arduino, which is inexpensive versatile platform very
much suitable for custom fully
2023 Nov 13
1
What is the arduino sub-driver intended to be used for?
oh! Ok, I'll go look at all the HID objects reported by the sample
code @abratchik has on top-of-tree of his repo and see what makes sense to
add to NUT. PR coming this week.
On Sun, Nov 12, 2023 at 2:38?PM Jim Klimov <jimklimov+nut at gmail.com> wrote:
> Well, the intention generally is to use it as a driver, so the more
> abilities the merrier (PR would be welcome) :)
>
2018 Jul 17
1
Codec Implementation on Hardware
Respected Sir/Madam,
I am working as Research Scholar at IIT, Bhubaneshwar, which is one of the
pioneer educational organization in India. ( http://www.iitbbs.ac.in )
My assigned task is to transfer voice signal (Audio in future) over
wireless sensor network.
I have Arduino DUE, Arduino Mega, TMS320C6713 DSP board, TMS320F28379D
Lunch pad, FPGA boards and necessary
Microphone, filter, amplifier,
2024 May 16
1
Supporting a DIY UPS with minimal effort but maximum gain
Hi Kelly -
As an Arduino nerd, I am interested in this! I am sure others on the
list would be interested. If nothing else, it would be nice to have
some documentation in the archives.
I assume you set it up as an online system rather than a standby system.
Right? If true, then the choice of inverter is fairly critical. It
has to be bomb-proof reliable.
What did you choose for battery
2024 May 16
1
Supporting a DIY UPS with minimal effort but maximum gain
I put together my own DIY UPS, it's a RV charger/converter, an inverter,
and some batteries. I use an Arduino and the HIDPowerDevice library (
https://github.com/abratchik/HIDPowerDevice) to get it to talk to NUT. Been
working great for months!
The Arduino is connected to two modules:
* AC detection circuit to measure mains power on/off
* Voltage divider and an external ADC to get a
2024 May 16
1
Supporting a DIY UPS with minimal effort but maximum gain
I agree with earlier posters, such documentation can help future tinkerers.
There is probably more than just one to hold the hand and walk through the
ordeals :)
Perhaps a new page at https://github.com/networkupstools/nut/wiki can be a
good location...
Jim
On Thu, May 16, 2024 at 1:29?PM Bill Gee <bgee at campercaver.net> wrote:
> Hi Kelly -
>
> As an Arduino nerd, I am
2024 May 16
2
Supporting a DIY UPS with minimal effort butmaximum gain
On 5/16/24 08:59, Jim Klimov via Nut-upsuser wrote:
> I agree with earlier posters, such documentation can help future
> tinkerers. There is probably more than just one to hold the hand and
> walk through the ordeals :)
>
> Perhaps a new page at https://github.com/networkupstools/nut/wiki
> <https://github.com/networkupstools/nut/wiki> can be a good location...
>
2018 Aug 19
2
Protocol for an Arduino based UPS
Hi,
I'm building a DIY UPS for a Raspberry Pi using a 12V SLA battery, charger, and
an off the shelf 5V regulator. To monitor the battery level I'd like to use an
Arduino or similar type device. Since the Arduino can have a serial over USB
connection with the Pi I'd like to implement a protocol that can be used with NUT.
Does anyone know if something like this has already been done?
2023 Oct 30
2
usbhid-ups not loading with Arduino Leonardo on Ubuntu 23.10
> VID 2341 doesn't show up in the NUT Git source tree.
I was curious about this so just searched for Arduino and then 2341. I
found a few hits, but the interesting one was in nut/drivers
/arduino-hid.c
I don't know enough about the project to know what a "subdriver" (that's
what the comments says) is, but it looks to me like there's at least some
people that have
2009 Jun 03
1
Wiring or Arduino package/scripts
Hi, I am looking any way to communicant with Arduino
(http://www.arduino.cc/) Wiring (http://www.wiring.org.co) boards and
read data generate with sensor on these.
If anyone know how to do it, I will appreciate if could give some
advice.
Thanks in advance
2023 Nov 15
2
What is the arduino sub-driver intended to be used for?
Making progress on this PR. I have question about storing and checking
state in a subdriver
HID Power Devices can a "UPS.PowerSummary.CapacityMode" value. According to
the spec, the values are:
0: maH
1: mwH
2: percent (%)
3: Boolean support only (OK or failed)
Grep'ing the source, nothing makes use of this now (some subdrivers have it
mapped to
2023 Nov 05
1
Passing hid_rep_index to libusb_get_config_descriptor is wrong?
Hi all,
I posted originally here last week:
https://alioth-lists.debian.net/pipermail/nut-upsuser/2023-October/013461.html
Since then, I've been building and testing from source following the
instructions a helpful reply in the above thread pointed out. The original
problem is I've got one of these arduino HID power devices, as a project
for a DIY UPS at home. This arduino is a composite
2023 Oct 30
1
usbhid-ups not loading with Arduino Leonardo on Ubuntu 23.10
On Oct 29, 2023, at 10:17 PM, Kelly Byrd <kbyrd at memcpy.com> wrote:
>
> > VID 2341 doesn't show up in the NUT Git source tree.
> I was curious about this so just searched for Arduino and then 2341. I found a few hits, but the interesting one was in nut/drivers
> /arduino-hid.c
>
Sorry, I made a mistake while searching for the VID. That should work.
> Is it
2023 Feb 20
2
Using 'dummy.ups' for a real application, not just testing...
Tom via Nut-upsuser <nut-upsuser at alioth-lists.debian.net> writes:
>>That makes sense. So you'll have input voltage, output voltage, and
>>output current I would guess. You might consider a nodemcu (ESP8266)
>>publishing via MQTT to reduce power and use of unobtainium.
>
> Yes, that is exactly what I was planning to instrument. Maybe battery
> voltage too
2023 Nov 05
1
Passing hid_rep_index to libusb_get_config_descriptor is wrong?
Thank you for the investigation!
I've thought about this in vague terms, i.e. that numbers like this should
be configurable, but did not have time to read into USB-related libraries
and specs to make any more specific sense of it (and the libusb code is not
mine except the recent layers of cleanup). I guess I did not even realize
that there is more than the regularly mentioned "interface