search for: hidpowerdevice

Displaying 14 results from an estimated 14 matches for "hidpowerdevice".

2024 May 16
2
Supporting a DIY UPS with minimal effort butmaximum gain
...her model for this. > > Thanks - > =============== > Bill Gee > > On 5/15/24 20:11, Kelly Byrd wrote: > > 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 > <https://github.com/abratchik/HIDPowerDevice> > > <https://github.com/abratchik/HIDPowerDevice > <https://github.com/abratchik/HIDPowerDevice>>) to get it to talk to > NUT. >...
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 and...
2024 Oct 18
1
NUT 2.8.0-7 Can't claim USB device [2341:8036]@2/0: Invalid parameter using usbhid-ups
...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 (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 inform...
2024 May 16
1
Supporting a DIY UPS with minimal effort butmaximum gain
...unning NUT. The RPi is powered by the inverter, and it powers the Arduino over USB. The RPi stays on during a power outage. So now I can write some Arduino code that loops and checks the status of a digital pin. How do I pretend to be a UPS in a way NUT will recognize? Some googling led me to the HIDPowerDevice project. https://github.com/abratchik/HIDPowerDevice. That is a library for Arduino MCUs that does all the protocol for getting an Arduino device to be recognized as a HID compliant UPS device over USB. You use it by periodically calling a `sendReport` function with various flags set. Ex: PowerDevi...
2024 May 16
1
Supporting a DIY UPS with minimal effort but maximum gain
...it would be quite easy to get some other model for this. > > Thanks - > =============== > Bill Gee > > On 5/15/24 20:11, Kelly Byrd wrote: > > 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 > > <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 meas...
2024 May 17
1
Supporting a DIY UPS with minimal effort butmaximum gain
...ed by the inverter, and it > powers the Arduino over USB. The RPi stays on during a power outage. > > So now I can write some Arduino code that loops and checks the status of a > digital pin. How do I pretend to be a UPS in a way NUT will recognize? > > Some googling led me to the HIDPowerDevice project. > https://github.com/abratchik/HIDPowerDevice. That is a library for > Arduino MCUs that does all the protocol for getting an Arduino device to be > recognized as a HID compliant UPS device over USB. You use it by > periodically calling a `sendReport` function with various flag...
2024 May 16
1
Supporting a DIY UPS with minimal effort but maximum gain
...o projects use the Pro Mini, though it would be quite easy to get some other model for this. Thanks - =============== Bill Gee On 5/15/24 20:11, Kelly Byrd wrote: > 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 > <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 > * V...
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 reasonably good DC voltage level for the batt...
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 master and then ha...
2023 Nov 12
1
What is the arduino sub-driver intended to be used for?
...e worth asking @abratchik if he has something tinkered over this time and ready to upstream, as well. Jim Klimov On Sun, Nov 12, 2023, 22:46 Kelly Byrd <kbyrd at memcpy.com> wrote: > 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 b...
2023 Nov 13
1
What is the arduino sub-driver intended to be used for?
...something tinkered over this > time and ready to upstream, as well. > > Jim Klimov > > On Sun, Nov 12, 2023, 22:46 Kelly Byrd <kbyrd at memcpy.com> wrote: > >> 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, ha...
2023 Nov 15
2
What is the arduino sub-driver intended to be used for?
...; this time and ready to upstream, as well. >> >> Jim Klimov >> >> On Sun, Nov 12, 2023, 22:46 Kelly Byrd <kbyrd at memcpy.com> wrote: >> >>> 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 >>>...
2024 May 15
2
Supporting a DIY UPS with minimal effort but maximum gain
Hello, I found out about NUT just days ago while searching for a solution for my home setup. After some digging through the interwebs, I come to you with questions. I'm putting together a DIY 12V UPS, very similar to what this guy did: [1] https://baldpenguin.blogspot.com/2015/10/diy-12v-ups-for-home-network-equipment.html The objective is to keep a bunch of mini PCs and network gear
2023 Oct 29
1
usbhid-ups not loading with Arduino Leonardo on Ubuntu 23.10
...: I've got a DIY UPS that I would like to get working with my QNAP NAS (which uses Linux and NUT underneath the hood) Immediate short-term problem: I can't get past running usbhid-ups on Ubuntu 23.10 with an Arduino Leonardo. I have an Arduino Micro using this https://github.com/abratchik/HIDPowerDevice/ library. I have a sketch working successfully with both Win10 and MacOS. They both recognize the Arduino as a HID power device and detect the AC present true/false as well as a hard-coded (for now) charge state. Before getting it to work with the QNAP I thought it would be easier to get this work...