how can I represent a lamp (with switch i know) in knxweb, which is dependent on one or more and/or condition? For example: My time switch sends a on signal at 17 o'clock. Only with the signal of the dawn the lamp is switched on.
Today i didn't found a way to show the "really" status of the light. This would be a very good feature, but no priority.
Thanks
Ronny
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Are you sure that you really need to do this with linknx? Most actuators have a status object for each output, and this objects sends the real state of the switch.
If that feature is missing on your actuator, you can similate it in linknx by creating an internal object (without group address) and create a rule that will set it's value:
Hi
how can I represent a lamp (with switch i know) in knxweb, which is dependent on one or more and/or condition? For example: My time switch sends a on signal at 17 o'clock. Only with the signal of the dawn the lamp is switched on.
Today i didn't found a way to show the "really" status of the light. This would be a very good feature, but no priority.
Thanks
Ronny
Hi,
Are you sure that you really need to do this with linknx? Most actuators have a status object for each output, and this objects sends the real state of the switch.
If that feature is missing on your actuator, you can similate it in linknx by creating an internal object (without group address) and create a rule that will set it's value:
<object id="outdoor_light_status">Outdoor light</object>
<rule id="outdoor_light_status_rule">
<condition type="and">
<condition type="object" id="timer_17h" value="on" trigger="true"/>
<condition type="object" id="dawn_detector" value="on" trigger="true"/>
</condition>
<actionlist>
<action type="set-value" id="outdoor_light_status" value="on" />
</actionlist>
<actionlist type="on-false">
<action type="set-value" id="outdoor_light_status" value="off" />
</actionlist>
</rule>
Regards,
Jean-François