Flic KNX integration
-
Hi guys
I found a way to control a KNX installation with a Flic button.
Arcus-EDS has an intelligent IP Gateway (KNX-GW-IP-2TE) with web interface which can send KNX group addresses triggered by an HTTP request (firmware v1.06 and higher).
You can also use this gateway to download devices from ETS, NTP KNX server, Data logging, sending emails,...Example 1-bit:
Let's say you want to write a binary value '1' to group address 0/0/1.
You will need a small script:
#!/bin/sh
grpswrite 0/0/1 $1
echo Done
This script you need to save as an .sh file (example: light_001.sh).
Next you need to upload this script to http://<IP_ADDRESS>/events.html under Http-request-scripts.
Now you can send '0' and '1' to 0/0/1 using these URLs:
For '0' use http://<IP_ADDRESS>/http/light_001.sh?req=0
For '1' use http://<IP_ADDRESS>/http/light_001.sh?req=1
I suggest to put the timeout time 2 seconds, and disable the response.Example 1-byte:
Let's say you want to write a byte value '7F' (50%) to group address 0/3/1.
You will need a small script:
#!/bin/sh
grpwrite 0/3/1 $1
echo Done
This script you need to save as an .sh file (example: light_001_value.sh).
Next you need to upload this script to http://<IP_ADDRESS>/events.html under Http-request-scripts.
Now you can send byte values from 00 to FF (hexadecimal) to 0/3/1 using these URLs:
For '7F' use http://<IP_ADDRESS>/http/light_001_value.sh?req=7F
Change '7F' for every value you want.S10