Page 1 of 1

Domoticz.Device custom device options

Posted: Friday 05 April 2019 15:30
by starsky
Hi,
can You help me understanding syntax of

Code: Select all

Options = {"Custom": "1;%s" % "m"}
I was not able to find information about that. I'd like to update device with more than one value(like for DHT tempr + humid).
Above line of code takes only one string argument. How about two maybe three?

Thanks
Adrian.

Re: Domoticz.Device custom device options

Posted: Friday 19 April 2019 10:58
by pipiche
starsky wrote: Friday 05 April 2019 15:30 Hi,
can You help me understanding syntax of

Code: Select all

Options = {"Custom": "1;%s" % "m"}
I was not able to find information about that. I'd like to update device with more than one value(like for DHT tempr + humid).
Above line of code takes only one string argument. How about two maybe three?

Thanks
Adrian.
Be aware that using Options to store some plugin specific values, can be overwritten by Domoticz itself, as Options is a Domoticz field