- Posted on
Wed Aug 15, 2012 10:44 am
-
pgershon
offline
-
- Posts: 509
- Joined: Jul 10, 2004
I need some help in communicating with the Squeezebox. Best method I can find is through the CLI of Squeezebox. I can do this fine through Terminal using Telnet. I telnet into 192.168.1.103:9090 (my IP address and port for CLI) and can send commands to and receive responses from the Squeezebox. Problem is how to do the same in a python plugin with Indigo. I have tried using the TCP OUT in the Cynical Network plugin but while I can get the port open, I do not get answers from the Squeeze Network like get with telnet/terminal. Not sure why.
Is there a more simple way to establish telnet communications with a specific port in python/indigo? I feel like I am missing something. I have another plugin I am working with that does fine sending and receiving data with serial data over IP. That plugin works fine but I am looking for straight telnet I/O here and not serial (although there may not be a difference).
Thoughts?