Page 1 of 1

Limit to number of devices a plugin can manage?

Posted: Saturday 31 December 2022 18:30
by JanCeuleers
I am in the process of adding support for Goodwe ET series inverters to the Goodwe MODBUS-over-UDP plugin developed by remco-k (https://github.com/remco-k/domoticz-goo ... udp-plugin). See also https://github.com/remco-k/domoticz-goo ... n/issues/3.

This inverter exposes a lot more information via its MODBUS interface than the Goodwe inverters that this plugin appears to have been developed and tested for (because it is a 3-phase hybrid inverter, so that it adds information for phases 2 and 3 (which the unmodified plugin already supports) and also for battery-related parameters (which it does not)). As a result a lot more devices need to be created and managed by the ET-capable plugin than the original version.

I am getting name errors (not attributed to any specific piece of code) when I enable all of the devices that the modified plugin theoretically supports. But if I limit the number of parameters and devices to a smaller number the plugin works.

I experimentally determined that the name errors begin appearing when the number of devices exceeds ~64.

My question: is this a known limit? Or are the name errors I am seeing only appearing by chance when the number of devices exceeds 64?

If the limit is real, any advice on how to circumvent it? For example, should I summarise 3-phase parameters in a single device rather than having each phase and the total as separate devices?

Re: Limit to number of devices a plugin can manage?

Posted: Sunday 01 January 2023 14:08
by waltervl
Are using the old or the new DomoticzEx framework?
The old has a limit of 255 devices (unit), the new supports unlimited amount.
Check the zigbee2mqtt or zigate plugin how they manage it.