companion icon indicating copy to clipboard operation
companion copied to clipboard

Serial module system

Open haakonnessjoen opened this issue 8 years ago • 10 comments

We should develop a serial module wrapper, just like the udp and tcp stacks in Companion. So that any device that can be controlled by RS232/422/485, can use both internal serial ports, and also any instantiated network serial ports that we add support for.

haakonnessjoen avatar Oct 23 '18 20:10 haakonnessjoen

This is something that we are looking for - at the moment we are looking to have another bit of software configured that can be triggered externally just to do the serial commands - With so much stuff that can be triggered by serial commands this would be REALLY helpful...

mattrog avatar Dec 02 '19 15:12 mattrog

@mattrog have you looked at the GlobalCache iTach products?

josephdadams avatar Dec 02 '19 16:12 josephdadams

@mattrog have you looked at the GlobalCache iTach products?

I thought I had - but dismissed them as they were £300+ - obviously googled the wrong thing - ta very much !!

mattrog avatar Dec 02 '19 17:12 mattrog

They’re controllable in Companion!

josephdadams avatar Dec 02 '19 17:12 josephdadams

I have a couple of serial-only devices to added to my companion control. I just picked up a couple of these: https://www.amazon.com/USR-TCP232-302-Serial-Ethernet-Converter-Support/dp/B01GPGPEBM

istnv avatar Dec 02 '19 22:12 istnv

I’ve tried the Global Cache IP2SL module, but I don’t know if Companion is sending out ASCII or hex. I’m assuming ASCII because the commands don’t work through Companion, but do work using my USB to serial cable.

vibinc901 avatar Dec 03 '19 09:12 vibinc901

Just bought one of the IP2SL boxes ... hope they do actually work ... Any ideas if other serial boxes work - like this one? https://www.amazon.co.uk/StarTech-Serial-Ethernet-Converter-Device-Black/dp/B00LJEQLR2

mattrog avatar Dec 03 '19 09:12 mattrog

@vibinc901 would you mind making an issue request for the IP2SL module repository directly to see if @cxselph can help you?

https://github.com/bitfocus/companion-module-globalcache-itac-sl/issues

josephdadams avatar Dec 03 '19 11:12 josephdadams

I'm developing a module right now for the Dsan limitimer where i use the ip2sl box and it works fine the existing module for the box terminates each command with CRLF wich might be an issue we could possibly make end of line termination a instance config item or a action option

PerRoine avatar Dec 03 '19 12:12 PerRoine

@PerRoine I just added options for line termination in the IP2SL module for greater flexibility. You can choose between CR, LF, or CRLF now. That may help those that are having some trouble. Can you have a look and push the changes to core if all is good? I tested mine with all three options and it is working fine here.

cxselph avatar Dec 04 '19 16:12 cxselph