Page 1 of 1

Feature Request: SendViaPlugin like SendToHTTP?

Posted: 24 Oct 2016, 19:50
by hvdwolf
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?