wenn ich im Webinterface einen Dimmer (HM-LC-Dim1L-Pl-3) bediene, dann kann ich da zum Einen dimmen und zum Anderen auch ein und aus schalten. Wenn er passend parametrisiert ist dann hat er auch nach dem Einschalten den selben Wert wie vorher. Das gleiche gilt bei der Ansteuerung über einen Taster - kurzer druck ein/aus, lange hoch bzw. herunter dimmen.
Über das XMP API kann ich problemlos einen Wert setzen. Das ist dann aber der neue eingestellt wert. Das möchte ich aber nicht. Ich möchte ein- und ausschalten können und der vorherige Wert soll erhalten bleiben. In de "Devicelist" sehe ich z.B.
Code: Alles auswählen
<device name="Dimmer 1" address="MEQ1116229" ise_id="4345" interface="BidCos-RF" device_type="HM-LC-Dim1L-Pl-3" ready_config="true">
<channel name="Dimmer 1:1" type="27" address="MEQ1116229:1" ise_id="4374" direction="RECEIVER" parent_device="4345" index="1" group_partner="" aes_available="true" transmission_mode="DEFAULT" visible="true" ready_config="true" operate="true"/>
<channel name="Dimmer 1:2" type="27" address="MEQ1116229:2" ise_id="4395" direction="RECEIVER" parent_device="4345" index="2" group_partner="" aes_available="true" transmission_mode="DEFAULT" visible="true" ready_config="true" operate="true"/>
<channel name="Dimmer 1:3" type="27" address="MEQ1116229:3" ise_id="4416" direction="RECEIVER" parent_device="4345" index="3" group_partner="" aes_available="true" transmission_mode="DEFAULT" visible="true" ready_config="true" operate="true"/>
</device>
Code: Alles auswählen
<device name="Dimmer 1" ise_id="4345" unreach="false" sticky_unreach="true" config_pending="false">
<channel name="Dimmer 1:0" ise_id="4346" index="0" visible="" operate="">
<datapoint name="BidCos-RF.MEQ1116229:0.UNREACH" type="UNREACH" ise_id="4366" value="false" valuetype="2" valueunit="" timestamp="1575128538" operations="5"/>
<datapoint name="BidCos-RF.MEQ1116229:0.STICKY_UNREACH" type="STICKY_UNREACH" ise_id="4362" value="true" valuetype="2" valueunit="" timestamp="1575128538" operations="7"/>
<datapoint name="BidCos-RF.MEQ1116229:0.CONFIG_PENDING" type="CONFIG_PENDING" ise_id="4348" value="false" valuetype="2" valueunit="" timestamp="1575128089" operations="5"/>
<datapoint name="BidCos-RF.MEQ1116229:0.DUTYCYCLE" type="DUTYCYCLE" ise_id="4356" value="false" valuetype="2" valueunit="" timestamp="1575128089" operations="5"/>
<datapoint name="BidCos-RF.MEQ1116229:0.RSSI_DEVICE" type="RSSI_DEVICE" ise_id="4360" value="128" valuetype="8" valueunit="" timestamp="1575128089" operations="5"/>
<datapoint name="BidCos-RF.MEQ1116229:0.RSSI_PEER" type="RSSI_PEER" ise_id="4361" value="185" valuetype="8" valueunit="" timestamp="1575128089" operations="5"/>
<datapoint name="BidCos-RF.MEQ1116229:0.DEVICE_IN_BOOTLOADER" type="DEVICE_IN_BOOTLOADER" ise_id="4352" value="false" valuetype="2" valueunit="" timestamp="1575128089" operations="5"/>
<datapoint name="BidCos-RF.MEQ1116229:0.UPDATE_PENDING" type="UPDATE_PENDING" ise_id="4370" value="false" valuetype="2" valueunit="" timestamp="1575128089" operations="5"/>
</channel>
<channel name="Dimmer 1:1" ise_id="4374" index="1" visible="true" operate="true">
<datapoint name="BidCos-RF.MEQ1116229:1.LEVEL" type="LEVEL" ise_id="4388" value="0.400000" valuetype="6" valueunit="100%" timestamp="1575213565" operations="7"/>
<datapoint name="BidCos-RF.MEQ1116229:1.OLD_LEVEL" type="OLD_LEVEL" ise_id="4390" value="" valuetype="2" valueunit="" timestamp="0" operations="2"/>
<datapoint name="BidCos-RF.MEQ1116229:1.LEVEL_REAL" type="LEVEL_REAL" ise_id="4389" value="0.400000" valuetype="4" valueunit="100%" timestamp="1575213565" operations="5"/>
<datapoint name="BidCos-RF.MEQ1116229:1.RAMP_TIME" type="RAMP_TIME" ise_id="4393" value="" valuetype="4" valueunit="s" timestamp="0" operations="2"/>
<datapoint name="BidCos-RF.MEQ1116229:1.RAMP_STOP" type="RAMP_STOP" ise_id="4392" value="" valuetype="2" valueunit="" timestamp="0" operations="2"/>
<datapoint name="BidCos-RF.MEQ1116229:1.ERROR" type="ERROR" ise_id="4376" value="0" valuetype="16" valueunit="" timestamp="1575213565" operations="5"/>
</channel>
<channel name="Dimmer 1:2" ise_id="4395" index="2" visible="true" operate="true">
<datapoint name="BidCos-RF.MEQ1116229:2.LEVEL" type="LEVEL" ise_id="4409" value="0.000000" valuetype="6" valueunit="100%" timestamp="1575129295" operations="7"/>
<datapoint name="BidCos-RF.MEQ1116229:2.OLD_LEVEL" type="OLD_LEVEL" ise_id="4411" value="" valuetype="2" valueunit="" timestamp="0" operations="2"/>
<datapoint name="BidCos-RF.MEQ1116229:2.LEVEL_REAL" type="LEVEL_REAL" ise_id="4410" value="0.400000" valuetype="4" valueunit="100%" timestamp="1575213565" operations="5"/>
<datapoint name="BidCos-RF.MEQ1116229:2.RAMP_TIME" type="RAMP_TIME" ise_id="4414" value="" valuetype="4" valueunit="s" timestamp="0" operations="2"/>
<datapoint name="BidCos-RF.MEQ1116229:2.RAMP_STOP" type="RAMP_STOP" ise_id="4413" value="" valuetype="2" valueunit="" timestamp="0" operations="2"/>
<datapoint name="BidCos-RF.MEQ1116229:2.ERROR" type="ERROR" ise_id="4397" value="0" valuetype="16" valueunit="" timestamp="1575129295" operations="5"/>
</channel>
<channel name="Dimmer 1:3" ise_id="4416" index="3" visible="true" operate="true">
<datapoint name="BidCos-RF.MEQ1116229:3.LEVEL" type="LEVEL" ise_id="4430" value="0.000000" valuetype="6" valueunit="100%" timestamp="1575129296" operations="7"/>
<datapoint name="BidCos-RF.MEQ1116229:3.OLD_LEVEL" type="OLD_LEVEL" ise_id="4432" value="" valuetype="2" valueunit="" timestamp="0" operations="2"/>
<datapoint name="BidCos-RF.MEQ1116229:3.LEVEL_REAL" type="LEVEL_REAL" ise_id="4431" value="0.400000" valuetype="4" valueunit="100%" timestamp="1575213565" operations="5"/>
<datapoint name="BidCos-RF.MEQ1116229:3.RAMP_TIME" type="RAMP_TIME" ise_id="4435" value="" valuetype="4" valueunit="s" timestamp="0" operations="2"/>
<datapoint name="BidCos-RF.MEQ1116229:3.RAMP_STOP" type="RAMP_STOP" ise_id="4434" value="" valuetype="2" valueunit="" timestamp="0" operations="2"/>
<datapoint name="BidCos-RF.MEQ1116229:3.ERROR" type="ERROR" ise_id="4418" value="0" valuetype="16" valueunit="" timestamp="1575129296" operations="5"/>
</channel>
</device>
TIA