[Nut-upsuser] FW: Unable to use the TCP network interface

tyler.montney at wast3dgeneration.com tyler.montney at wast3dgeneration.com
Wed Mar 18 00:44:18 GMT 2020


Looks like all I was missing was a line break. Realized it by looking at one
of the projects: http://elrik75.free.fr/ups_control/

 

Perhaps it's implied, but might be worth adding to the documentation.

 

From: tyler.montney at wast3dgeneration.com
<tyler.montney at wast3dgeneration.com> 
Sent: Monday, March 16, 2020 8:44 PM
To: 'nut-upsuser at alioth-lists.debian.net'
<nut-upsuser at alioth-lists.debian.net>
Subject: Unable to use the TCP network interface

 

*	Rasbian Buster Lite: latest
*	NUT version: latest
*	NUT installed from package manager
*	CyberPower CP1000PFCLCD via USB

 

Followed this article:
https://loganmarchione.com/2017/02/raspberry-pi-ups-monitor-with-nginx-web-m
onitoring/ "upsc" command works and outputs UPS data correctly.

 

My question regards the TCP network interface:
https://networkupstools.org/docs/developer-guide.chunked/ar01s09.html I can
connect and via netstat see the TCP connection is established. After writing
a command to the stream, when I read it times out.

 

Code here: https://pastebin.com/HXkGkhdZ

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20200317/7772b72d/attachment.html>


More information about the Nut-upsuser mailing list