thiagoralves / OpenPLC_Editor

OpenPLC Editor - IDE capable of creating programs for the OpenPLC Runtime
GNU General Public License v2.0
387 stars 191 forks source link

Many UPS messages when uploading. #58

Open EvansMike opened 1 year ago

EvansMike commented 1 year ago

Whenever I upload a runtime I keep getting messages on every terminal like:

Broadcast message from root@HOSTNAME (somewhere) (Tue Oct 25 21:
Warning communications lost with UPS HOSTNAME

Broadcast message from root@HOSTNAME (somewhere) (Tue Oct 25 21:
Communications restored with UPS HOSTNAME

Broadcast message from root@HOSTNAME (somewhere) (Tue Oct 25 21:
Warning communications lost with UPS HOSTNAME

Broadcast message from root@HOSTNAME (somewhere) (Tue Oct 25 21:
Communications restored with UPS HOSTNAME

My UPS in on /dev/ttyS0 and I/m uploading on /dev/ttyUSBX. I guess OpenPLC is finding which port are available to populate the dropdown but it shouldn't cause my apcupsd to complain.

System is Linux Fedora36.

EvansMike commented 1 year ago

For anyone else having this issue, In /etc/apcupsd/apccontrol I replaced the line WALL=wall with WALL=logger and now the messages appear in /var/log/messages

It's just a minor annoyance I know, but still...