[dss-developer] index out of bounds

at at bannach.ch at at bannach.ch
Thu Jan 9 12:19:59 CET 2020


Guten Tag

Der digitalSTROM Support hat mich hierher verwiesen.

Erst eine generelle Frage: Warum ist digitalSTROM nicht mit HomeKit kompatibel?

Wenn ich versuche die HomeKit Integration selber zu erreichen mit Hilfe von ‘homebridge’ und der JSON API, dann stosse ich auf folgende Fehlermeldung. Beim Aufruf von
	/json/device/getOutputChannelValue?channels=brightness&dsid=3504175fe000000000019bb7&token=...
erhalte ich die Fehlermeldung
	(500) Could not find item Device::getOutputChannel: index out of bounds. model/apartment.cpp:885 httpPath:/json/device/getOutputChannelValue

Ich möchte mit dem Call die aktuelle Helligkeit einer Lampe abfragen. Laut der Dokumentation müsste mein Call korrekt sein, aber warum geht es nicht?

Freundliche Grüsse
David Bannach




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://forum.digitalstrom.org/pipermail/dss-developer/attachments/20200109/ca9a1d92/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-1.jpg
Type: image/jpeg
Size: 20568 bytes
Desc: not available
URL: <http://forum.digitalstrom.org/pipermail/dss-developer/attachments/20200109/ca9a1d92/attachment-0001.jpg>


More information about the dss-developer mailing list