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: [email protected] <[email protected]> Sent: Monday, March 16, 2020 8:44 PM To: '[email protected]' <[email protected]> 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
_______________________________________________ Nut-upsuser mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser
