Pool Systems Dashboard: Difference between revisions

From Fairway Farms Swim Club
Jump to navigation Jump to search
Created page with "=Virtual Serial Ports= Create two files to support two virtual serial ports: * socat-serial-ttyV0.service * socat-serial-ttyV1.service The contents of these files are as f..."
 
No edit summary
Line 1: Line 1:
=Virtual Serial Ports=
Information about the visual dashboard (associated with the automation system) will follow shortly.
 
Create two files to support two virtual serial ports:
 
* socat-serial-ttyV0.service
* socat-serial-ttyV1.service
 
The contents of these files are as follows (replacing V0/v0 for V1/v1 as required):
 
<pre>
[Unit]
Description=Socat Serial ttyV0
Wants=network-online.target
After=network-online.target
 
[Service]
Type=simple
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=socat-serial-ttyv0
 
ExecStart=/usr/bin/socat pty,link=/dev/ttyV0,group=dialout,perm=0666,raw tcp:[ip]:[port]
Restart=always
 
[Install]
WantedBy=multi-user.target
</pre>
 
The [ip] and [port] values are redacted for security reasons; consult internal IT documentation for details.

Revision as of 00:30, 27 August 2021

Information about the visual dashboard (associated with the automation system) will follow shortly.