Page 1 of 1

plugins : max 255 devices

Posted: Sunday 19 March 2017 11:08
by JonasF
Hi

I discover domoticz. I would like to write a plugin for externals devices with homemade protocol and look possibilities with domoticz python plugins.

Can you confirm me that are limited to 255 devices ? (The dico Devices keys are 'unit' limited to 255).
Is not it possible to make several Devices with the same key but a different hardwareID? (Like dummy devices)

Re: plugins : max 255 devices

Posted: Sunday 19 March 2017 14:02
by Dnpwwo
@ JonasF,

Domoticz does limit external hardware instances (C++ or Python) to only 255 devices.

Do you have more than 255 devices you need to control or just external device numbers greater than 255? If the latter then Domoticz has a DeviceID field that you can use rather than the Unit field. This can be set during device creation and is available in the Devices dictionary entries. AFAIK there are no restrictions or format or uniqueness so you can do what you want with it.

Re: plugins : max 255 devices

Posted: Sunday 19 March 2017 14:18
by JonasF
I do not think I will have more than 255 devices (but it's technically be possible). But as all the dummy device on "'unit' == 1" I thought I misunderstood.

Thank you for the quick reply