Feature Request: SendViaPlugin like SendToHTTP?

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
hvdwolf
Normal user
Posts: 51
Joined: 09 Jun 2016, 12:37

Feature Request: SendViaPlugin like SendToHTTP?

#1 Post by hvdwolf » 24 Oct 2016, 19:50

Currently there is the "SendToHTTP" command in the rules section. Personally I also would welcome something like a "SendViaPlugin". This would enable you to send "something" from the Rules via the (C)Plugin using the protocol that you configured in the Config section.
As the plugin with its protocol, user name, password and the like is already configured you would specify a device, or a "free selectable" remote variable with a value (number or string), when calling the "SendViaPlugin" in your rule.
The remote variable is something you configured on your remote controlling system (pimatic, domoticz, Thingspeak, etc.)
The variable is optional and only necessary when using a free form variable. In case of a device the value is taken from that device.

Like:

Code: Select all

On System#Boot do
   SendViaPlugin <device>
   SendViaPlugin <variable> <value>
endon
I don't mind to fiddle and monkey about myself with this, but not being a C-programmer I need some headstart.
Can someone point me in the right direction?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest