29.01.2022, 21:49
Hello,
I am a novice in scripting.
Is there Anyone that can help me in reading out my doorbell status to link to object in KNX?
My Dorrbell is the 2N IP Verso and it has its own HTTP API (Testtool).
I need the status of the relay switch or the validation of the rfid card. Both would work.
My goal is following problem:
If the relay switch status of the doorbell turns to 'true' then the knx group adresss (boolean) should write to 'true'.
I can start with "https://<ip-adress>/api/switch/status?switch=1" an request from the doorbell. The doorbell uses TLS and the type "digest" for https.
The response is:
With the automation manual for the http request it is possible to send an request from the doorbell.
https://wiki.2n.com/hip/auto/latest/en/4-akce-action
Is there already a solution for my question/problem?
Thanks!!
I am a novice in scripting.
Is there Anyone that can help me in reading out my doorbell status to link to object in KNX?
My Dorrbell is the 2N IP Verso and it has its own HTTP API (Testtool).
I need the status of the relay switch or the validation of the rfid card. Both would work.
My goal is following problem:
If the relay switch status of the doorbell turns to 'true' then the knx group adresss (boolean) should write to 'true'.
I can start with "https://<ip-adress>/api/switch/status?switch=1" an request from the doorbell. The doorbell uses TLS and the type "digest" for https.
The response is:
Code:
{
"success" : true,
"result" : {
"switches" : [
{
"switch" : 1,
"active" : false,
"locked" : false,
"held" : false
}
]
}
}
With the automation manual for the http request it is possible to send an request from the doorbell.
https://wiki.2n.com/hip/auto/latest/en/4-akce-action
Is there already a solution for my question/problem?
Thanks!!