AMoo-Miki / homebridge-tuya-lan

Homebridge plugin for IoT devices that use Tuya Smart's platform
MIT License
196 stars 50 forks source link

Failed to parse discovery response on port 6667 #255

Open johnstray opened 2 years ago

johnstray commented 2 years ago

Having trouble getting this RGB Light Globe Working...

This is the product: Arlec Grid Connect Smart 9.5W 806lm RGB+CCT ES E27 Globe (Model: GLD122HA) Available from: https://www.bunnings.com.au/arlec-grid-connect-smart-9-5w-806lm-rgb-cct-es-e27-globe_p0111501

From the logs:

[04/10/2021, 1:42:28 pm] [TuyaLan] Discovered Arlec GLD122HA (<hidden>) identified as RGBTWLight (3.3)
[Tuya] Changing ping gap for Arlec GLD122HA to 9s
[TuyaDiscovery] Failed to parse discovery response on port 6667: {"ip":"192.168.1.233","gwId":"<hidden>","active":2,"ability":0,"mode":0,"encrypt":true,"productKey":"<hidden>","version":"3.3"}
[TuyaDiscovery] Failed to parse discovery raw message on port 6667: 000055aa0000000000000013000000ac00000000d09766676f3369eb10b5e9f132fd802ade3ddee16e345de3bc1401f37f2764c9a9a7ea9014ca8b68d9a30645acb4febc54898dbca71227b01c08f6b35ab6cc4b4cb2e96c0a7f1e413baed18d2f9ce89dd98a2083cc863e53249cdfed5ec93122b4b2bbeece5882c45b23697e1daac6fcff428041ec6ab57e8babf113e3b2a682b42fb4d382da37498c8ddd04590fd752768ffc6ab334859566b8db83b5bc2215bcd3c32e0000aa55

My HomeBridge config:

"platforms": [
        {
            "name": "Config",
            "port": 8581,
            "platform": "config"
        },
        {
            "devices": [
                {
                    "type": "RGBTWLight",
                    "name": "Arlec GLD122HA",
                    "id": "<hidden>",
                    "key": "<hidden>",
                    "manufacturer": "Arlec",
                    "model": "GLD122HA"
                }
            ],
            "platform": "TuyaLan"
        }
    ]

Any help would be greatly appreciated.

IrWayz commented 2 years ago

Not sure if you solved this but i found the solution. The colour information must be put in the config like this: "type": "RGBTWLight", "name": "Lounge 2", "id": "", "key": "", "manufacturer": "Arlec", "model": "Arlec GLD122HA", "dpPower": 20, "dpMode": 21, "dpBrightness": 22, "dpColorTemperature": 23, "dpColor": 24, "maxWhiteColor": 221, "colorFunction": "HSB", "minBrightness": 10, "scaleBrightness": 1000, "scaleWhiteColor": 1000

rnmixon commented 1 year ago

In case it helps anyone else - these settings (dpPower through scaleWhiteColor) worked perfectly for the 4 pack of Feit color bulbs I bought last week at CostCo for $15. The part number on the box is: A800/RGBW/4.

Thank you much! I had spent hours trying other settings.

Not sure if you solved this but i found the solution. The colour information must be put in the config like this: "type": "RGBTWLight", "name": "Lounge 2", "id": "", "key": "", "manufacturer": "Arlec", "model": "Arlec GLD122HA", "dpPower": 20, "dpMode": 21, "dpBrightness": 22, "dpColorTemperature": 23, "dpColor": 24, "maxWhiteColor": 221, "colorFunction": "HSB", "minBrightness": 10, "scaleBrightness": 1000, "scaleWhiteColor": 1000

dadsalleb commented 6 months ago

@IrWayz how did you decide the value? I'm using Feit smart bulb. With this option, changing color works but changing temperature doesn't.

rnmixon commented 6 months ago

@IrWayz https://github.com/IrWayz how did you decide the value? I'm using Feit smart bulb. With this option, changing color works but changing temperature doesn't.

Just experimentation using the examples provided earlier in the topic.

On Mon, Dec 11, 2023 at 8:52 AM dadsalleb @.***> wrote:

@IrWayz https://github.com/IrWayz how did you decide the value? I'm using Feit smart bulb. With this option, changing color works but changing temperature doesn't.

— Reply to this email directly, view it on GitHub https://github.com/AMoo-Miki/homebridge-tuya-lan/issues/255#issuecomment-1850357472, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2IEJD42NUEAMGEAMQKVLTYI4T5HAVCNFSM5FIO2TC2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBVGAZTKNZUG4ZA . You are receiving this because you commented.Message ID: <AMoo-Miki/homebridge-tuya-lan/issues/255/1850357472 @.*** com>

-- Richard Mixon Custom Computer Creations, L.L.C. mobile: (480) 577-6834 <4805776834> email: @. @.> Microsoft Partner ID: 1263725 The messages and documents transmitted with this notice contain confidential information belonging to the sender. If you are not the intended recipient of this information, you are hereby notified that any disclosure, copying, distribution or use of the information is strictly prohibited. If you have received this transmission in error, please notify the sender immediately.