in parallel to the OH UI I would like to use a KNX taster to switch the item as well. Everything works fine but I don’t get a status update on the KNX taster if I switch the item from the OH UI! So, without a KNX actor nobody sends a status telegram to the KNX taster. Maybe I missed something but how can I generate a status telegram out of OH to sync the taster status with my UI?
Note, there is no actor behind. Only my MDT taster is connected with these GA one with the switch command and the other with the status. I want to switch a scene (a switch item) via the taster which then is triggering a rule for switching several items.
My item configuration:
Switch SceneDinner "" {knx="0/1/25+0/1/26"}
I can switch the scene from the taster but I don’t get a status back from the OH in order to turn the status of the taster into ON.
I think this doesn´t work this way, openhab has no status-address like knx. The status can be seen in the switch-item. So i think you have to write the same GA 0/1/25 into your MDT Sensor into “Schalten” and into “Rückmeldung Schalten” (i don´t know the exact description for this).
Without an actuator you have to build a rule in openHAB to send the status GA telegrams.
Note: you can only send one GA from an knx touch sensor. Normally the actuator sends a status GA then after switching/dimming/whatever.
So, your MDT sends 0/1/25 and you have to bring 0/1/26 in line: You need to
Add another item in OH2 and
Change it in line with your switch.
I’m on my mobile, if you need help please tell and I’ll do my best to type it in - otherwise please post the result, as it would be of help for others… Thanks!
Do you want the status to get the led of the MDT switch blinking?
If it is only for this case, maybe you can switch the led on/off with an external knx adress? So you can make a rule to switch the led when the scene is “on”?
and I switch SzeneDinnerStatus via a rule as you proposed.
rule SwitchSceneDinner
when
Item SceneDinner received command
then
if (receivedCommand == ON)
sendCommand(SceneDinnerStatus, ON)
else
sendCommand(SceneDinnerStatus, OFF)
end
It works, the LED of my knx MDT taster turns on or off.
It is problematic for automation, yes.
normally the status GA are set to different GAs as the actuators’ GAs. That way the visualisation (and openHAB!) have more flexibility to use the different GAs as intended. In a simple “only switch sensors” it’s not neccessary (read: makes live a bit more complicated for the electrician…).
So, If you have Access to your ETS you could easily change that.