[ANSWERED]RS232 support

Posted on
Tue Dec 23, 2014 3:47 am
Stoutjesdijk offline
User avatar
Posts: 135
Joined: Dec 21, 2014
Location: The Netherlands

[ANSWERED]RS232 support

Hello,
I have used Vera en CharmedQuark in the past. I have quite a few devices that are controlled by rs232. Can I easily send commands through serial ports on indigo? This is the only thing still holding me back!
Thanks,
mark

Best regards,

Mark

Trying to tie it all together...
| Indigo | Plex | NAD M33 | Unifi | LG WebOS | Tado | Sonos | SolarEdge | HUE |

Posted on
Tue Dec 23, 2014 3:50 am
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: RS232 support

One way would be the iTach devices (http://www.globalcache.com/products/itach/) for which a plugin exists in Indigo.

A number of us use the IP/Wifi to IR versions but I suspect some also use the IP to Serial versions.

Posted on
Tue Dec 23, 2014 8:25 am
Stoutjesdijk offline
User avatar
Posts: 135
Joined: Dec 21, 2014
Location: The Netherlands

Re: RS232 support

Thanks! How about direct communication through serial ports on the mac itself (ie usb to serial)?

Best regards,

Mark

Trying to tie it all together...
| Indigo | Plex | NAD M33 | Unifi | LG WebOS | Tado | Sonos | SolarEdge | HUE |

Posted on
Tue Dec 23, 2014 10:39 am
jay (support) offline
Site Admin
User avatar
Posts: 18225
Joined: Mar 19, 2008
Location: Austin, Texas

Re: RS232 support

You bet! Indigo ships with pyserial - a Python-based serial library. So, you can write a Python script in Indigo to open the serial port, send the command(s), close it, etc.

You could also write a plugin (or plugins) to do it - our Plugin API is quite simple and uses the same Python scripting as mentioned above. The benefits are that it's easier to share, if you have multiple of the same device types you only need to construct the plugin device type then just add multiple of the same type, etc.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Tue Dec 23, 2014 4:57 pm
Stoutjesdijk offline
User avatar
Posts: 135
Joined: Dec 21, 2014
Location: The Netherlands

Re: [ANSWERED]RS232 support

Wonderful 8)
I know what I can do next time I have a few days off! Is there a good example plugin for an RS232-controlled device that I could use as a learning template?

Thanks,

Mark

Best regards,

Mark

Trying to tie it all together...
| Indigo | Plex | NAD M33 | Unifi | LG WebOS | Tado | Sonos | SolarEdge | HUE |

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 8 guests