Jump to content

Sending variable to external program


wswartz

Recommended Posts

Posted

Is it possible, using the Network Module, to send the value of a variable to an external resource? For example, if I had a variable called "$myVar", could I somehow use that in the Path line, something like this:

 

 

 

Thanks.

post-3368-140474161438_thumb.png

Posted

No - or at least not yet. Rumor is once the Z-Wave changes are stabilized that this is the next feature in the pipeline.

Posted

If there aren't too many possible values for the variable you could define a separate network resource for each value hard coded in each network resource. Then write programs to call a particular network resource once a variable equals a certain value. A long work around that may work for you.

Posted

How do we go about putting in requests for variables we would like to see?

 

I've been hacking on my own little notification app for Android (both because I am cheap, and because I have some ideas I want to implement that don't exist in the current options), and adding certain values would make adding notifications easier.

 

As an example, I want to know when any window in my basement is opened or closed. As long as I am fine with a generic message saying "A window is open" or "A window is closed", I can do it with two network resources. However, what I would really like is the ability to set the message to indicate which device triggered the network resource, and what state it is in. Then, I could have a single message along the lines of "Windows $triggering_device is $state." and use that for all of the different notifications I need.

 

Is something like that in the plans?

Guest
This topic is now closed to further replies.

×
×
  • Create New...