Berniknet,
Sorry for what is likely very simple but frustrating for me. Somehow I can't get the AD2USB to talk to the alarm system via the ser2sock. Here's the applet:
do shell script ("/usr/local/bin/ser2sock -p15006 -s/dev/cu.usbserial-DJ009ezl -b115200 -d -c -w 5000")
Here's the response:
Reloading plugin "AD2USB Alarm Interface 1.6.0"
Stopping plugin "AD2USB Alarm Interface 1.6.0" (pid 10832)
AD2USB Alarm Interface panelMsgRead: Connection Closed:
AD2USB Alarm Interface runConcurrentThread Process completed, Restarting
Stopped plugin "AD2USB Alarm Interface 1.6.0"
Starting plugin "AD2USB Alarm Interface 1.6.0" (pid 11810)
AD2USB Alarm Interface Log level preferences are set to "Normal".
Started plugin "AD2USB Alarm Interface 1.6.0"
AD2USB Alarm Interface Plugin setup completed. Ready to open link to the ad2usb in Basic mode.
AD2USB Alarm Interface ad2usb opened for communication at
socket://127.0.0.1:15006But the alarm is unresponsive.
When directed to USB as below the plugin alarm control works ..... So the USB identifier is correct.
Sep 29, 2019, 12:28:56 AM
AD2USB Alarm Interface The configuration changes require a plugin reload. Reloading now...
Reloading plugin "AD2USB Alarm Interface 1.6.0"
Stopping plugin "AD2USB Alarm Interface 1.6.0" (pid 11810)
AD2USB Alarm Interface Plugin preferences have been updated
AD2USB Alarm Interface panelMsgRead: Connection Closed:
AD2USB Alarm Interface runConcurrentThread Process completed, Restarting
Stopped plugin "AD2USB Alarm Interface 1.6.0"
Starting plugin "AD2USB Alarm Interface 1.6.0" (pid 11818)
AD2USB Alarm Interface Log level preferences are set to "Normal".
Started plugin "AD2USB Alarm Interface 1.6.0"
AD2USB Alarm Interface Plugin setup completed. Ready to open link to the ad2usb in Basic mode.
AD2USB Alarm Interface ad2usb opened for communication at /dev/cu.usbserial-DJ009EZL
Then when I try to reload using telnet, the AD2usb is unresponsive.
Sep 29, 2019, 12:29:38 AM
AD2USB Alarm Interface The configuration changes require a plugin reload. Reloading now...
Reloading plugin "AD2USB Alarm Interface 1.6.0"
Stopping plugin "AD2USB Alarm Interface 1.6.0" (pid 11818)
AD2USB Alarm Interface Plugin preferences have been updated
AD2USB Alarm Interface panelMsgRead: Connection Closed:
AD2USB Alarm Interface runConcurrentThread Process completed, Restarting
Stopped plugin "AD2USB Alarm Interface 1.6.0"
Starting plugin "AD2USB Alarm Interface 1.6.0" (pid 11828)
AD2USB Alarm Interface Log level preferences are set to "Normal".
Started plugin "AD2USB Alarm Interface 1.6.0"
AD2USB Alarm Interface Plugin setup completed. Ready to open link to the ad2usb in Basic mode.
AD2USB Alarm Interface ad2usb opened for communication at
socket://127.0.0.1:15006Logs on via telnet:
Last login: Sat Sep 28 19:24:39 on ttys000
Mac-mini:~ hamiltonwilliams$ telnet localhost 15006
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying fe80::1...
telnet: connect to address fe80::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
!Welcome to AD2USB
Thoughts?