HmIP-BDT Aktoren lassen sich nicht via XMLAPI ansteuern

HMIP Sender und Empfänger der Serie Homematic IP

Moderator: Co-Administratoren

Antworten
Snoopy17
Beiträge: 10
Registriert: 15.06.2020, 11:02
System: CCU
Wohnort: Aschaffenburg
Hat sich bedankt: 3 Mal

HmIP-BDT Aktoren lassen sich nicht via XMLAPI ansteuern

Beitrag von Snoopy17 » 22.01.2022, 14:45

Beim Versuch, Aktoren via XML anzusteuern, tritt das Problem auf, dass sich Aktoren vom Typ HmIP-BDT nicht ansteuern lassen, BROLL hingegen schon. XMLAPI scheint grundsätzlich zu funktionieren, denn Abfragen wie

Code: Alles auswählen

http://hm1.arb.dom/config/xmlapi/devicelist.cgi
funktionieren und Aktoren vom Typ BROLL lassen sich über diese Schnittstelle steuern. Es sieht so aus, als würde HmIP-BDT zwar den XML-Aufruf erhalten, er wird auch quittiert, aber es geschieht nichts. Zentrale ist eine CCU3 (Firmwareversion 3.61.7). Über das normale UI lässt sich alles problemlos steuern.

Auszug aus devicelist:

Code: Alles auswählen

<deviceList>
...
<device name="AZ11" address="00111A49A1B5CB" ise_id="3017" interface="HmIP-RF" device_type="HmIP-BROLL" ready_config="true">
<channel name="AZ11:0" type="30" address="00111A49A1B5CB:0" ise_id="3018" direction="UNKNOWN" parent_device="3017" index="0" group_partner="" aes_available="false" transmission_mode="AES" visible="true" ready_config="true" operate="true"/>
<channel name="AZ11:1" type="17" address="00111A49A1B5CB:1" ise_id="3044" direction="SENDER" parent_device="3017" index="1" group_partner="" aes_available="false" transmission_mode="AES" visible="true" ready_config="true" operate="true"/>
<channel name="AZ11:2" type="17" address="00111A49A1B5CB:2" ise_id="3047" direction="SENDER" parent_device="3017" index="2" group_partner="" aes_available="false" transmission_mode="AES" visible="true" ready_config="true" operate="true"/>
<channel name="AZ11:3" type="17" address="00111A49A1B5CB:3" ise_id="3050" direction="UNKNOWN" parent_device="3017" index="3" group_partner="" aes_available="false" transmission_mode="AES" visible="true" ready_config="true" operate="true"/>
<channel name="AZ11:4" type="17" address="00111A49A1B5CB:4" ise_id="3059" direction="RECEIVER" parent_device="3017" index="4" group_partner="" aes_available="false" transmission_mode="AES" visible="true" ready_config="true" operate="true"/>
<channel name="AZ11:5" type="17" address="00111A49A1B5CB:5" ise_id="3067" direction="RECEIVER" parent_device="3017" index="5" group_partner="" aes_available="false" transmission_mode="AES" visible="true" ready_config="true" operate="true"/>
<channel name="AZ11:6" type="17" address="00111A49A1B5CB:6" ise_id="3075" direction="RECEIVER" parent_device="3017" index="6" group_partner="" aes_available="false" transmission_mode="AES" visible="true" ready_config="true" operate="true"/>
<channel name="AZ11:7" type="36" address="00111A49A1B5CB:7" ise_id="3083" direction="UNKNOWN" parent_device="3017" index="7" group_partner="" aes_available="false" transmission_mode="AES" visible="true" ready_config="true" operate="true"/>
</device>

<device name="AZ21" address="0008DD899C4E60" ise_id="5956" interface="HmIP-RF" device_type="HmIP-BDT" ready_config="true">
<channel name="AZ21:0" type="30" address="0008DD899C4E60:0" ise_id="5957" direction="UNKNOWN" parent_device="5956" index="0" group_partner="" aes_available="false" transmission_mode="AES" visible="true" ready_config="true" operate="true"/>
<channel name="AZ21:1" type="17" address="0008DD899C4E60:1" ise_id="5985" direction="SENDER" parent_device="5956" index="1" group_partner="" aes_available="false" transmission_mode="AES" visible="true" ready_config="true" operate="true"/>
<channel name="AZ21:2" type="17" address="0008DD899C4E60:2" ise_id="5990" direction="SENDER" parent_device="5956" index="2" group_partner="" aes_available="false" transmission_mode="AES" visible="true" ready_config="true" operate="true"/>
<channel name="Az21:3" type="27" address="0008DD899C4E60:3" ise_id="5995" direction="UNKNOWN" parent_device="5956" index="3" group_partner="" aes_available="false" transmission_mode="AES" visible="true" ready_config="true" operate="true"/>
<channel name="AZ21:4" type="27" address="0008DD899C4E60:4" ise_id="6002" direction="RECEIVER" parent_device="5956" index="4" group_partner="" aes_available="false" transmission_mode="AES" visible="true" ready_config="true" operate="true"/>
<channel name="AZ21:5" type="27" address="0008DD899C4E60:5" ise_id="6012" direction="RECEIVER" parent_device="5956" index="5" group_partner="" aes_available="false" transmission_mode="AES" visible="true" ready_config="true" operate="true"/>
<channel name="AZ21:6" type="27" address="0008DD899C4E60:6" ise_id="6022" direction="RECEIVER" parent_device="5956" index="6" group_partner="" aes_available="false" transmission_mode="AES" visible="true" ready_config="true" operate="true"/>
<channel name="AZ21:7" type="27" address="0008DD899C4E60:7" ise_id="6032" direction="UNKNOWN" parent_device="5956" index="7" group_partner="" aes_available="false" transmission_mode="AES" visible="true" ready_config="true" operate="true"/>
</device>
...
</deviceList>

Abgesetzte XML-Aufrufe für HmIP-BDT:

Es wurden alle Kanäle durchprobiert, Eingaben im Chrome-Browser (Version 97.0.4692.71).

Code: Alles auswählen

http://hm1.arb.dom/config/xmlapi/statechange.cgi?ise_id=5956&new_value=0.8
<result>
<changed id="5956" new_value="0.8"/>
</result>
http://hm1.arb.dom/config/xmlapi/statechange.cgi?ise_id=5957&new_value=0.8
<result>
<changed id="5957" new_value="0.8"/>
</result>
http://hm1.arb.dom/config/xmlapi/statechange.cgi?ise_id=5985&new_value=0.8
<result>
<changed id="5985" new_value="0.8"/>
</result>
http://hm1.arb.dom/config/xmlapi/statechange.cgi?ise_id=5990&new_value=0.8
<result>
<changed id="5990" new_value="0.8"/>
</result>
http://hm1.arb.dom/config/xmlapi/statechange.cgi?ise_id=5995&new_value=0.8
<result>
<changed id="5995" new_value="0.8"/>
</result>
http://hm1.arb.dom/config/xmlapi/statechange.cgi?ise_id=6002&new_value=0.8
<result>
<changed id="6002" new_value="0.8"/>
</result>
http://hm1.arb.dom/config/xmlapi/statechange.cgi?ise_id=6012&new_value=0.8
<result>
<changed id="6012" new_value="0.8"/>
</result>
http://hm1.arb.dom/config/xmlapi/statechange.cgi?ise_id=6022&new_value=0.8
<result>
<changed id="6022" new_value="0.8"/>
</result>
http://hm1.arb.dom/config/xmlapi/statechange.cgi?ise_id=6032&new_value=0.8
<result>
<changed id="6032" new_value="0.8"/>
</result>
Die Aufrufe werden zwar quittiert wie als Erfolg. In keinem Fall trat aber irgendeine Wirkung ein. Auffällig war dabei, dass die Aufrufe im Chrome-Browser für ISE_ID 5956 - 5995 sehr schnell zum Ergebnis führten, die für ISE_ID 6002 - 6032 dauerten ca. 20 Sekunden.

Abgesetzte XML-Aufrufe für HmIP-BROLL im Vergleich (Device: AZ11):

Code: Alles auswählen

http://hm1.arb.dom/config/xmlapi/statechange.cgi?ise_id=3017&new_value=0.8
<result>
<changed id="3017" new_value="0.8"/>
</result>
--> nichts passiert, wie erwartet
http://hm1.arb.dom/config/xmlapi/statechange.cgi?ise_id=3059&new_value=0.8
<result>
<changed id="3059" new_value="0.8"/>
</result>
--> Rollladen fährt auf 80%, wie erwartet
Bin für jeden Hinweis in Richtung einer Problemlösung dankbar.
Zuletzt geändert von Snoopy17 am 30.01.2022, 13:13, insgesamt 1-mal geändert.

Snoopy17
Beiträge: 10
Registriert: 15.06.2020, 11:02
System: CCU
Wohnort: Aschaffenburg
Hat sich bedankt: 3 Mal

Gelöst: HmIP-BDT Aktoren lassen sich nicht via XMLAPI ansteuern

Beitrag von Snoopy17 » 23.01.2022, 10:38

Das beschriebene Problem hat sich im Nachgang wie folgt gelöst.

In einem Beitrag der GitHub Community fand ich unter https://github.com/homematic-community/ ... /issues/44 den Hinweis, dass neben der devicelist auch die statelist zum Ermitteln der ise_id verwendet werden kann. Dort findet man für channel:4 des HmIP-BDT Aktors folgende Einträge:

Code: Alles auswählen

<channel name="AZ21:4" ise_id="6002" index="4" visible="true" operate="true">
    <datapoint name="HmIP-RF.0008DD899C4E60:4.ACTIVITY_STATE" type="ACTIVITY_STATE" ise_id="6003" value="3" valuetype="16" valueunit="" timestamp="1642890690" operations="5"/>
    <datapoint name="HmIP-RF.0008DD899C4E60:4.COMBINED_PARAMETER" type="COMBINED_PARAMETER" ise_id="6004" value="" valuetype="20" valueunit="" timestamp="0" operations="2"/>
    <datapoint name="HmIP-RF.0008DD899C4E60:4.LEVEL" type="LEVEL" ise_id="6005" value="1.000000" valuetype="6" valueunit="100%" timestamp="1642890690" operations="7"/>
    <datapoint name="HmIP-RF.0008DD899C4E60:4.LEVEL_STATUS" type="LEVEL_STATUS" ise_id="6006" value="0" valuetype="16" valueunit="" timestamp="1642890690" operations="5"/>
    <datapoint name="HmIP-RF.0008DD899C4E60:4.PROCESS" type="PROCESS" ise_id="6008" value="0" valuetype="16" valueunit="" timestamp="1642890690" operations="5"/>
    <datapoint name="HmIP-RF.0008DD899C4E60:4.RAMP_TIME" type="RAMP_TIME" ise_id="6009" value="" valuetype="4" valueunit="s" timestamp="0" operations="2"/>
    <datapoint name="HmIP-RF.0008DD899C4E60:4.SECTION" type="SECTION" ise_id="6010" value="3" valuetype="16" valueunit="" timestamp="1642890690" operations="5"/>
    <datapoint name="HmIP-RF.0008DD899C4E60:4.SECTION_STATUS" type="SECTION_STATUS" ise_id="6011" value="0" valuetype="16" valueunit="" timestamp="0" operations="5"/>
</channel>
Hier liefert der Datapoint mit dem Namen LEVEL die ise_id, die zum Steuern des Aktors benötigt wird und damit funktioniert alles. Interessant nur, dass die Datenstrukturen bei HmIP-BDT offensichtlich komplizierter sind als bei HmIP-BROLL, denn der liefert die richtige ise_id bereits in der devicelist.

Antworten

Zurück zu „HomeMatic IP Aktoren und Sensoren“