[dss-developer] Best way for polling state of devices

aldo at ikatu.com aldo at ikatu.com
Fri Jul 8 15:56:22 CEST 2016


Thanks Christoph for the answer. So, its not a good idea to ask the 
output value to the devices. Perfectly clear.

Best Regards,
Aldo

On 2016-07-06 12:52, Hofmann, Christoph wrote:
> Dear Aldo,
>
>> Re-asking the question: is it possible to get the output values of 
>> the
>> devices from the property tree of the dSServer? or the only way to 
>> do
>> that is using "HTTP GET /json/device/getOutputValue" for each 
>> device?
>
> digitalSTROM is a decentralized system, the dSS does not know the
> output values of the devices. The system works with presets (scenes).
> If you really need to, you can ask the devices for the current output
> value. But as I already told you: If you like to do cyclic reads of
> the values, you may query only one value per minute and circuit! See
> Rule 8 and Rule 9 in ds-basics.
>
> Regs,
> Christoph
>
> --
> Christoph Hofmann
> Software Development
> digitalSTROM GmbH
>
>
>
> _______________________________________________
> dss-developer mailing list
> dss-developer at forum.digitalstrom.org
> http://forum.digitalstrom.org/cgi-bin/mailman/listinfo/dss-developer



More information about the dss-developer mailing list