[Nut-upsuser] Cannot connect to a GPSER on serial, USB returning wrong data
dany.craciun at gmail.com
Tue Apr 21 16:38:36 UTC 2015
I already solved the problem and emailed Elio, just forgot to update the
Could not make serial connection work reliably (probably bug or hardware
problem) but the problem with USB was that I had both an USB cable and a
serial cable connected.
I tried at first only with a serial cable, but the UPS is in a remote
location, so once I determined serial had issues I connected both a
serial and USB cable, so I could test both remotely.
Turns out this was a bad idea. Once I disconnected the serial cable, the
USB driver connected and reported correct values.
Probably this should be in the documentation: for select models, serial
connection does not work reliably and for USB to work you need to have
only the USB cable connected.
On 4/21/2015 3:33 PM, Charles Lepple wrote:
> On Apr 15, 2015, at 3:56 PM, Dan Craciun <dany.craciun at gmail.com> wrote:
>> I'm using Nut 2.7.2 with riello_ser and riello_usb 0.3 (upgraded from
>> 0.2). Raspbian on Raspberry PI model 2015.
>> The drivers work on SENTR models.
>> But on several GPSER the behaviour is erratic:
>> - usually, the serial driver cannot connect with the UPS. But, when left
>> on for several days, I found that it suddenly connected on one machine...
>> - the usb driver connects immediately, but failes to recognize the UPS
>> model and the readings are wrong. The GPSER models we have are single
>> phase, the drive sees them as 3-phase. The output of upsc is below.
>> You'll notice a lot of 52432 values.
> I CC'd Elio from Riello. Maybe they have seen this before?
> I am not very familiar with the code or the protocol, but a quick look at the driver says that you should be able to see traces of the data by passing "-DDD" to the driver.
> If you capture the logs this way, I don't think it needs to be for long - especially because it incorrectly detected the phases during initialization. Please gzip the output before emailing the list. Thanks!
More information about the Nut-upsuser