XML-API
XML-API copied to clipboard
Fehler bei xmlapi/state.cgi?
Hallo, nach einem Update der pivccu3 auf die neue Version (siehe unten) liefert folgender Aufruf nur eine unvollständige Antwort:
curl -k https://ccu3-webui/addons/xmlapi/devicelist.cgi
dann mit sensor ise_id
curl -k https://ccu3-webui/addons/xmlapi/state.cgi?device_id=1324
bringt folgenden Eintrag:
<?xml version="1.0" encoding="ISO-8859-1" ?><state><device name='AZ LARS' ise_id='1324' unreach='false' sticky_unreach='false' config_pending='false' ><channel name='AZ LARS:0' ise_id='1325'><datapoint name='BidCos-RF.PEQ0569677:0.UNREACH' type='UNREACH' ise_id='1345' value='false' valuetype='2' valueunit='' timestamp='1624791578' /><datapoint name='BidCos-RF.PEQ0569677:0.STICKY_UNREACH' type='STICKY_UNREACH' ise_id='1341' value='false' valuetype='2' valueunit='' timestamp='1624791578' /><datapoint name='BidCos-RF.PEQ0569677:0.CONFIG_PENDING' type='CONFIG_PENDING' ise_id='1327' value='false' valuetype='2' valueunit='' timestamp='1624791578' /><datapoint name='BidCos-RF.PEQ0569677:0.LOWBAT' type='LOWBAT' ise_id='1335' value='false' valuetype='2' valueunit='' timestamp='1624791578' /><datapoint name='BidCos-RF.PEQ0569677:0.RSSI_DEVICE' type='RSSI_DEVICE' ise_id='1339' value='1' valuetype='8' valueunit='' timestamp='1624791578' /><datapoint name='BidCos-RF.PEQ0569677:0.RSSI_PEER' type='RSSI_PEER' ise_id='1340' value='1' valuetype='8' valueunit='' timestamp='1624791578' /><datapoint name='BidCos-RF.PEQ0569677:0.DEVICE_IN_BOOTLOADER' type='DEVICE_IN_BOOTLOADER' ise_id='1331' value='false' valuetype='2' valueunit='' timestamp='1624791578' /><datapoint name='BidCos-RF.PEQ0569677:0.UPDATE_PENDING' type='UPDATE_PENDING' ise_id='1349' value='false' valuetype='2' valueunit='' timestamp='1624791578' /></channel><channel name='HM-Sec-SCo PEQ0569677:1' ise_id='1353'><datapoint name='BidCos-RF.PEQ0569677:1.STATE' type='STATE' ise_id='1378' value='true' valuetype='2' valueunit='' timestamp='1624896118' /><datapoint name='BidCos-RF.PEQ0569677:1.ERROR' type='ERROR' ise_id='1354' value='0' valuetype='16' valueunit='' timestamp='1624896118' /><datapoint name='BidCos-RF.PEQ0569677:1.LOWBAT' type='LOWBAT' ise_id='1377' value='false' valuetype='2' valueunit='' timestamp='1624896118' /></channel></device></state>
Wenn ich nun mit der ise_id=1378 bei STATE weitergehen will (erforderlich für Sickboy78 / MMM-Homematic ) dann kommt mit
curl -k https://ccu3-webui/addons/xmlapi/state.cgi?device_id=1378
folgender unvollständiger Rückläufer:
<?xml version="1.0" encoding="ISO-8859-1" ?><state><device name='BidCos-RF.PEQ0569677:1.STATE' ise_id='1378'</state>
Augenscheinlich fehlt hier ein Abschnitt nach der ise_id. Woran kann das liegen?
Hinweis: vor update der pivccu3 lief das system erfolgreich. Vor einem Downgrade schrecke ich zurück. Vielen Dank für Hinweise!
Folgende Systemparameter:
- pivccu3 ver. 3.57.5-57
- xml-api 1.20
Hallo, keine eine Idee? Ich weiß, ist bei vielen Sommerpause. Ich komme hier aber einfach nicht weiter... @jens-maus , falls Dir etwas einfallen sollte, schaue ich auch gerne auf die bekannte AMAZON Wunschliste ... :)
I've got the same problem. Any solutions?
I've now updated to version xml-api 1.21 - but nothing changed... Any other Ideas how I can get the state of my channels / devices?
Maybe some examples? (I want to show the state of some devices in a PHP Script)
Ich habe jetzt auf die Version xml-api 1.21 aktualisiert - aber nichts hat sich geändert... Irgendwelche anderen Ideen, wie ich den Status meiner Channels / Geräte abfragen kann?
Vielleicht ein paar Beispiele? (Ich möchte den Status einiger Geräte in einem PHP-Script anzeigen)
Bitte erneut mit XML-API v2 probieren und Ticket erneut aufmachen wenn problem noch existiert.