[Nut-upsdev] Driver BETA for NHS UPS

Jim Klimov jimklimov+nut at gmail.com
Mon Nov 25 14:35:59 GMT 2024


Thanks for the contribution, looks quite nice.

On the first glance, comments and messages in Brazilian/Spanish would have
to get internationalized to the lowest common denominator, English. And
added to Makefile.am as a serial driver, to NEWS.adoc, etc.
But that can be done in subsequent commits as this gets into git. Which
brings me to the question: would you post the initial pull request on
GitHub, so it is attributed in NUT's Git history in your name?

I also wonder if the legacy-compatibility builders would agree with
structure initialization by named fields, I remember at some point
something complained about the approach - and we try to keep NUT buildable
wherever possible (including very old systems that are still running). In
the worst case, would have to initialize with dumber syntax, field by field
(or `memset 0` and init the few fields that have values).

Jim Klimov


On Mon, Nov 25, 2024 at 2:14 PM Lucas Bocchi via Nut-upsdev <
nut-upsdev at alioth-lists.debian.net> wrote:

> Sorry
>
> First send doesn't include GNU header. Please ignore first mail.
>
>
> Em 25/11/2024 09:57, Lucas Bocchi escreveu:
> > Hello everyone.
> >
> >
> > My name is Lucas Willian Bocchi. After a few weeks of suffering, a lot
> > of reverse engineering, creating serial port simulators in Python, C,
> > etc., I managed to create a functional driver for the NHS UPS,
> > sinusoidal line. It is a famous UPS in Brazil, but the company was
> > never interested in developing something solid to integrate with Nut
> > or ApCupsd. Since I had to choose between one or the other to start
> > with, I chose Nut.
> >
> > The driver is functional, but unfortunately, I can no longer continue
> > the development alone. I need help, because I will not be able to
> > handle this project, but I also do not want to let it die. If anyone
> > wants to take on the project, I can help with whatever I can in the
> > development part when time allows. But I can no longer do it alone.
> >
> > I would be very grateful to anyone who can help. Below is the source
> > code with the first "functional"
> version._______________________________________________
> Nut-upsdev mailing list
> Nut-upsdev at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/nut-upsdev/attachments/20241125/454b0710/attachment.htm>


More information about the Nut-upsdev mailing list