http to plugin

Posted on
Wed Nov 01, 2017 10:15 am
kw123 offline
User avatar
Posts: 8363
Joined: May 12, 2013
Location: Dallas, TX

http to plugin

I would like to propose an option:

in addition to update variables I would like to have a similar path to send data to a plugin:

for variables:
http:// ..../variables/theVariableName ...
add for plugins:
http:// ..../plugins/thePluginName ...

that would it make significantly easier for simple plugins. Frequent writing to variables adds overhead to the log file and the sql logger.

Karl

Posted on
Wed Nov 01, 2017 12:40 pm
FlyingDiver offline
User avatar
Posts: 7213
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: http to plugin

That would require any random plugin to have an action defined to get that data. I'm not sure that's going to work.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Wed Nov 01, 2017 3:37 pm
jay (support) offline
Site Admin
User avatar
Posts: 18216
Joined: Mar 19, 2008
Location: Austin, Texas

Re: http to plugin

[MODERATOR NOTE] moved to the Feature Requests forum

I'm not quite sure what this request is - can you more fully explain what you're trying to solve and the approach itself?

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Wed Nov 01, 2017 9:55 pm
RogueProeliator offline
User avatar
Posts: 2501
Joined: Nov 13, 2012
Location: Baton Rouge, LA

Re: http to plugin

Not sure your use case, but perhaps you could make use of the inter-plugin communication / subscription system (forget the term Jay used) that was added not too long ago?

Posted on
Thu Nov 02, 2017 7:55 am
kw123 offline
User avatar
Posts: 8363
Joined: May 12, 2013
Location: Dallas, TX

Re: http to plugin

==>
inter-plugin communication / subscription system
Yes same principle, the plugin receives a text string from an other plugin or here from http same principle.

Karl

Posted on
Thu Nov 02, 2017 7:58 am
matt (support) offline
Site Admin
User avatar
Posts: 21416
Joined: Jan 27, 2003
Location: Texas

Re: http to plugin

Yes, if you are trying to communicate from one plugin to another plugin then I definitely recommend the broadcast/subscribe APIs we added to Indigo 7 (search on "Broadcast and subscribe").

If you are trying to communicate from some other non-plugin process via a Web API then that is a feature on the request list. We have lots of improvements scheduled (but no ETA) for the Web server and its RESTful API, including a way for plugins to define some communication channels.

Image

Posted on
Thu Nov 02, 2017 10:46 am
kw123 offline
User avatar
Posts: 8363
Joined: May 12, 2013
Location: Dallas, TX

Re: http to plugin

THANKS !

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 3 guests