Loxone - arnemauer/Ducobox-ESPEasy-Plugin GitHub Wiki
Loxone domotics
Gateway configuration
Duco Ventiliation Remote should be configured and joined with the duco network. The setup below only uses ventilation mode for integration with loxone. All other values like humidity are fetched from Loxone sensors.
Loxone configuration
The following inputs/outputs need to be configured. Since espeasy currently lacks support for HTTP basic auth call's in the rules tab or HTTP advanced controller we need to poll from loxone.
Virtual input
-
Create a new Virtual HTTP input.
Fill in URL
http://XXX.XXX.XXX.XXX/json?tasknr=1
. Change tasknr to the ID of the RF gateway your configured in ESPEasy. The IP should be your gateway IP. -
Create new Virtual HTTP input command.
Configure the input with command recognition =
"\iValue\i":\v"
This should parse ESPeasy ventilation mode. It will receive the following values:- 0 : Auto
- 1 : Low
- 2 : Middle
- 3 : High
Virtual output
-
Create new virtual output and fill in Address =
"http://XXX.XXX.XXX.XXX"
where XX is your gateway IP. -
Create new virtual output command and fill in :
- Command for ON =
"/control?cmd=VENTMODE,<v>"
- Command for OFF =
"/control?cmd=VENTMODE,AUTO"
UNCHECK Use as digital output
- Command for ON =
Loxone logic
Create 2 STATUS
blocks, name on READ and another one WRITE.
Set each input to 0 = AUTO,0 ( text, value ) etc.
These 2 status blocks can convert the required values which are needed to read and write to espeasy.
For humidity detection i use loxone touch with integrated sensors.
Triggering ventilation based on humidity
My setup is as follows:
[ Room ventilation controller with humidity sensor attached and set to max 50 ].
Output AQ to memory flag VENTILATION REQUEST
.
Ventilation logic used this memory flag with Greater then or equals > 20. Output Q goes to a Tr
input of a push switch. You can connect multiple request memory flags to this input.
The push switch used Qoff and Qon outputs to trigger a Radio button configured with OFF = Auto, 1 = LOW, 2 = MIDDLE, 3 = HIGH.
The radio button output AQ is connected to the Ventilation WRITE status block. This triggered the virtual output.
Met dank aan Sam Van der Borght