Accessing Indigo variables from outside of framework?

Posted on
Sun Dec 25, 2016 1:17 pm
ereuter offline
Posts: 18
Joined: Dec 15, 2009
Location: Kittery, ME

Accessing Indigo variables from outside of framework?

This is probably a very basic question, but I can't seem to find an answer to it.

Say I have a Python script running in the system's Python environment (or on another machine). Is there a way for me to interact with the Indigo server without running the script within the Indigo environment?

Say, for example, I have a script running on a Raspberry Pi that handles a standalone task, but I want to get or write a variable value on the Indigo server. Can I do this easily?

Thanks-
Eric

Posted on
Sun Dec 25, 2016 2:00 pm
jay (support) offline
Site Admin
User avatar
Posts: 18220
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Accessing Indigo variables from outside of framework?

Use the RESTful API. The requests python library makes handling the communication (including authentication) very easy so you'll probably want to install that as well.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Sun Dec 25, 2016 11:05 pm
ereuter offline
Posts: 18
Joined: Dec 15, 2009
Location: Kittery, ME

Re: Accessing Indigo variables from outside of framework?

Wow, that's really easy. Thanks! Got it working.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 8 guests