Homematic Aktor per Script prüfen und schalten
Script:

var check_fenster = dom.GetObject("BidCos-RF.NEQ1824293:1.STATE").Value();
WriteLine("Fenster offen: " # check_fenster );

if (check_fenster == true )
{
!Licht an
dom.GetObject("BidCos-RF.NEQ1693740:1.STATE").State(true);
}