Closed BEskandari closed 8 months ago
The device was configured without DDF in previous version by @Smanar https://github.com/dresden-elektronik/deconz-rest-plugin/issues/2739
It seem he have a strange version, without manufacture name and without Modelid. If it's not a bug, not possible to include this model. Deconz need them to reconise the device.
Thanks, I have found this on other communities: "manufId":4368,"manufName":"Profalux" But I have to check with the vendor to see if there is an issue on that.
Oups, @BEskandari is right I have just see a "hack" in the code to support this device, with missing information. So it's not a bug, as It was already like that previously, but it's more a "zigbee rule" problem.
//Add missing values for Profalux device
if (existDevicesWithVendorCodeForMacPrefix(node->address(), VENDOR_PROFALUX))
{
//Shutter ?
if (i->deviceId() == DEV_ID_ZLL_COLOR_LIGHT)
{
lightNode.setManufacturerName(QLatin1String("Profalux"));
lightNode.setModelId(QLatin1String("PFLX Shutter"));
lightNode.setNeedSaveDatabase(true);
}
}
So to work the device need to have
But this code is perhaps disabled with DDF core, you can try to disable it, time to include the device.
Thanks @Smanar , but this is beyond my knowledge, I will follow your instructions in case to check the DDF and make it work.
This device can't work with DDF. And there is no DDF for it. Just disable the DDF core, include your device with the legacy core, then re-enable DDF.
Just disable the DDF core, include your device with the legacy core, then re-enable DDF.
I don't see the option to disable DDF as mentioned in previous post by you by selecting "Draft". And last but not least how can I be sure that the node is included with the legacy code. Because now I have it in the deCONZ-gui but no mention in the API's.
Is there already an existing issue for this?
Product name
Profalux ZigBee roller shutters
Manufacturer
Profalux
Model identifier
unknown
Device type to add
Light
Node info
Endpoints and clusters
Basic
Further relevant clusters
Identify
Groups
Scenes
On/off
Level Control
Time
Commissioning
Shade Configuration