Skip to content

Add Red Fix and HS mode for all Tuya TS0505B models (RGB+CCT) #11467

@ViperScull

Description

@ViperScull

Z2M version 2.8.0
Herdsman converters version: 25.120.0

I have 2 MiBoxer E3-ZR (TS0505B ) models ( _TZB210_yatkpuha and _TZB210_wy1pyu1q) that currently suffer from an incorrect color mapping where selecting pure blue (#0000FF) results in a purple/lila tint. This happens because the default converter uses XY coordinates that trigger an incorrect internal color correction in the Tuya firmware.
This is solved in tuya.ts for TS0505B_3 with:
extend: [ m.light({ colorTemp: {range: [153, 500]}, color: {modes: ["hs"], applyRedFix: true, enhancedHue: false}, }),

but not for TS0505B_1 which has the most devices including the MiBoxer ones.
I have tested with external converter the solution and fixes the problem.

About TS0505B_2, I don't have any device, but I suspect it will behave the same.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions