search for: abratchik

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

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 welcom...
2023 Nov 12
1
What is the arduino sub-driver intended to be used for?
...enable creation and prototyping of smart UPS based on Arduino, which is inexpensive versatile platform very much suitable for custom fully open-source UPS development. I don't think it was supposed to end and be finished work at that point, but distractions happen... It might be 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 simpl...
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 version, root at pve2:~# cat...
2024 May 16
2
Supporting a DIY UPS with minimal effort butmaximum gain
...========== > 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. > > Been working great for months! > &gt...
2024 May 16
1
Supporting a DIY UPS with minimal effort but maximum gain
...is. > > 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 > > * Voltage divid...
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 mas...
2024 Oct 18
1
NUT 2.8.0-7 Can't claim USB device [2341:8036]@2/0: Invalid parameter using usbhid-ups
...ork. 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 information : > > - OS name an...
2024 May 16
1
Supporting a DIY UPS with minimal effort but maximum gain
...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 > * Voltage divider and an external ADC to get a...
2023 Nov 15
2
What is the arduino sub-driver intended to be used for?
...be stored in the normal nut names variable hierarchy. Or maybe this is too much trouble and I'll just assume CapacityMode = 2. On Mon, Nov 13, 2023 at 7:41?AM Kelly Byrd <kbyrd at memcpy.com> wrote: > 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 >> abilit...
2024 May 16
1
Supporting a DIY UPS with minimal effort butmaximum gain
...ter, 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: PowerDevice.sendReport(HID_PD_REMAININGCAPACITY...
2024 May 17
1
Supporting a DIY UPS with minimal effort butmaximum gain
...no 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: > PowerDevice.sendReport(HID_...
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 battery which I turn into the a charge perc...
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
...term goal: 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 t...