stas-demydiuk / domoticz-zigbee2mqtt-plugin

zigbee2mqtt plugin for domoticz
MIT License
136 stars 98 forks source link

Zigbee2MQTT Can not create new Domoticz device: maximum of 255 devices is reached #731

Closed McGyver64 closed 2 years ago

McGyver64 commented 2 years ago

I use Domoticz and Zigbee2MQTT for 1,5 year now and all is working well Tried to add an extra Aqara Temp sensor (WSDCGQ11LM) but the second one i add does not show his devices

Schermafbeelding 2021-10-27 om 15 13 06

(Temperature + Humidity) (Link Quality) (Battery Voltage) (Battery) (Temperature) (Humidity) (Pressure) (Barometer) (Temperature + Humidity + Barometer)

I have a total of 30 (real) devices , but some devices have 6-10 different sub-devices (temperature, pressure, etc

Schermafbeelding 2021-10-27 om 15 08 07

When i look into log file i see message Error: Zigbee2MQTT: (Zigbee2MQTT) Can not create new Domoticz device: maximum of 255 devices is reached.

When i remove the 2 newly added sensors and i count the number of devices, i still have 286 devices and they all work fine (but it s mora as 255?) When i delete the unused devices i am left with a total of 160 devices, but after some time, or reboot all the unused devices are back again and i still cannot add a device.

Is there a way to overcome the 255 limit or to disable the unused devices so i can add more sensos?

stas-demydiuk commented 2 years ago

Yes, you basically have 2 options:

  1. Use the blacklist feature to disable device creation for features that you do not require
  2. Upgrade plugin to 3.1.0-beta which supports more than 255 devices, but it will require the latest Domoticz beta version as well, and please note that there are some open issues with that version