Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Response Parameters
#1
It would be much better to pass parameters to responses in order to save us the trouble of having to write two or maybe three responses for each action concerning home automation (esp.KNX).
Consider the following: a single control group can contain up to 10 commands regarding e.g. lights. Why write 10 seperate responses for each KNX group address that do exactly the same thing (switch on a light)? It would be best to specify the group address as a parameter to the response when calling it from the control group.
Reply

#2
It seems to me if there is a way of passing the group address to the Response, you would still need  a way to specify the group address to be passed so you may still need a response for this. eg You may use the same Response eg KNX Group ON
but you would need another action set Group address = 01 before that, so you may not save on Responses

We may consider a way of automating the building of the control menu after you configure the KNX to Comfort mapping which may save time


Reply

#3
Realise its a few months late...but I (ab)use counters for this. Obviously there\'s only a fixed number so some care is required but works well for a limited number in some cases

Set counter value
Call response...


In the response
Read counter
Do action etc.
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

Powered By MyBB, © 2002-2026 Melroy van den Berg.