HM-LC-Dim1L-Pl-3 per XML API schalten (nicht dimmen :-)

Kabellose und kabelgebundene Sender und Empfänger der klassischen Homematic-Serie

Moderator: Co-Administratoren

Antworten
mahescho
Beiträge: 13
Registriert: 07.01.2018, 08:36

HM-LC-Dim1L-Pl-3 per XML API schalten (nicht dimmen :-)

Beitrag von mahescho » 01.12.2019, 16:37

Hallo,

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>
und in der "Statelist" das hier:

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>
Für welche "ise_id" muss ich welchen Wert setzen um ein. bzw. auszuschalten?

TIA

Benutzeravatar
Sammy
Beiträge: 9172
Registriert: 09.09.2008, 20:47
Hat sich bedankt: 15 Mal
Danksagung erhalten: 174 Mal

Re: HM-LC-Dim1L-Pl-3 per XML API schalten (nicht dimmen :-)

Beitrag von Sammy » 02.12.2019, 08:23

Hallo,

LEVEL muss auf 0 (aus) oder 201 (bzw. 100.5% oder 1.005) gesetzt werden.

Gruß Sammy
Links: CCU-Logik, Tipps für Anfänger, WebUI-Doku, Expertenparameter, virtuelle Aktorkanäle
Inventur vom 22.01.14: 516 Kanäle in 165 Geräten, 132 Programme, 270 Direkte Verknüpfungen
Ich übernehme für alle von mir gegebenen Hinweise, Tipps und Links keine Haftung! Das Befolgen meiner Tipps ist nur für Fachkundige gedacht und erfolgt auf eigene Gefahr!

Antworten

Zurück zu „HomeMatic Aktoren und Sensoren (klassisch)“