Loxone VIRTUAL OUTPUT with variables (ETHERRAIN system irrigation)

1,767 views
Skip to first unread message

tzajaczk

unread,
Jul 29, 2017, 7:00:15 AM7/29/17
to Loxone English
Hello all,
I wonder whenever there is a way to create a dynamic http output with some variables comming from loxone virtual inputs.

http://www.quicksmart.com/qs_etherrain.html
Project :  ETHERRAIN irrigation system which operats with http commands like :

http://192.168.0.139/result.cgi?lu=admin&lp=pw&xi=0:30:0:0:10:0:0:0:0
this actuates the first valve for 30 minutes and immediately after the fourth valve for 10 minutes ...

The target is to put dynamicly all values between ":" in order to send a valid command intu irrigation system using Loxone's planning function.

I didn't find any subject about the variables in virtual input so ... here is something rather interesting :)

Any help would be appreciated.
Thanks in advance.

tzajaczk

unread,
Aug 17, 2017, 5:04:42 PM8/17/17
to Loxone English
Whenever anyone has any idea concerning this subject: you are welcome ... :)

Tico

unread,
Aug 17, 2017, 7:11:23 PM8/17/17
to loxone-...@googlegroups.com
You could create a Virtual Output (VO). There are a couple of options -

Simple option:

1. Create a separate VO for each valve. For the first valve for 30mins on, the 'Command for ON' would look like this (with a virtual input slider set at 30)

/result.cgi?lu=admin&lp=pw&xi=0:<v>:0:0:0:0:0:0:0

Then create separate VO's for each valve.

A more complex option:

2. Use a State Block to combine characters to create a text string that defines up to 4 valves (limited by the 4 inputs of the State Block).

I can't test this obviously, but use the attached .loxone file as a starting point to experiment.
Valve Test.Loxone
Reply all
Reply to author
Forward
0 new messages