So not sure what logs are best. Is this what you need?
Thanks
Paul
dev:142023-05-05 15:49:38.872debugSending message to 192.168.1.36:6668 msg: 000055AA0000000000000007000000B3332E31623963623835636336383839353435395A4D78376147717438727961357557354B4861425235705242726A5A576B704867535146417378363855435163656C66314E44325745624B43484B3351386E6B544A693237624849572F53745136437376437768523232376D556F59566C6B2B44426F485878545164476543366F4641695052787739356B784A52757A73735259774651683578377A766A315A71495452535A794B773D3DF53E77C10000AA55
dev:142023-05-05 15:49:38.869debugHEX crc: f53e77c1 : 4
dev:142023-05-05 15:49:38.868debug195
dev:142023-05-05 15:49:38.762debugPrefix: 000055AA00000000000000
dev:142023-05-05 15:49:38.759debug179
dev:142023-05-05 15:49:38.756debug332E31623963623835636336383839353435395A4D78376147717438727961357557354B4861425235705242726A5A576B704867535146417378363855435163656C66314E44325745624B43484B3351386E6B544A693237624849572F53745136437376437768523232376D556F59566C6B2B44426F485878545164476543366F4641695052787739356B784A52757A73735259774651683578377A766A315A71495452535A794B773D3D000000000000AA55
dev:142023-05-05 15:49:38.753debugpayload after=3.1b9cb85cc68895459ZMx7aGqt8rya5uW5KHaBR5pRBrjZWkpHgSQFAsx68UCQcelf1ND2WEbKCHK3Q8nkTJi27bHIW/StQ6CsvCwhR227mUoYVlk+DBoHXxTQdGeC6oFAiPRxw95kxJRuzssRYwFQh5x7zvj1ZqITRSZyKw==
dev:142023-05-05 15:49:38.749debugpreMd5Stringdata=ZMx7aGqt8rya5uW5KHaBR5pRBrjZWkpHgSQFAsx68UCQcelf1ND2WEbKCHK3Q8nkTJi27bHIW/StQ6CsvCwhR227mUoYVlk+DBoHXxTQdGeC6oFAiPRxw95kxJRuzssRYwFQh5x7zvj1ZqITRSZyKw==||lpv=3.1||398d5cf37b3f335f
dev:142023-05-05 15:49:38.746debugEncrypted payload: 5A4D78376147717438727961357557354B4861425235705242726A5A576B704867535146417378363855435163656C66314E44325745624B43484B3351386E6B544A693237624849572F53745136437376437768523232376D556F59566C6B2B44426F485878545164476543366F4641695052787739356B784A52757A73735259774651683578377A766A315A71495452535A794B773D3D
dev:142023-05-05 15:49:38.742debugpayload before={"devId":"02788604500291d7c52d","uid":"02788604500291d7c52d","t":"1683298178","dps":{"20":true}}
dev:142023-05-05 15:49:38.740debug31
dev:142023-05-05 15:43:50.103debugSocket status message received:send error: Connection reset by peer (Write failed)
dev:142023-05-05 15:43:49.166debugSending message to 192.168.1.36:6668 msg: 000055AA0000000000000007000000B3332E31626330633034653066326335323937315A4D78376147717438727961357557354B4861425235705242726A5A576B704867535146417378363855435163656C66314E44325745624B43484B3351386E6B544A693237624849572F537451364373764377685235444A30724369777045574735546D534E2B5271376543366F4641695052787739356B784A52757A73735259774651683578377A766A315A71495452535A794B773D3D0F7802BB0000AA55
dev:142023-05-05 15:43:49.164debugHEX crc: f7802bb : 3.5
dev:142023-05-05 15:43:49.163debug195
dev:142023-05-05 15:43:49.062debugPrefix: 000055AA00000000000000
dev:142023-05-05 15:43:49.060debug179
dev:142023-05-05 15:43:49.058debug332E31626330633034653066326335323937315A4D78376147717438727961357557354B4861425235705242726A5A576B704867535146417378363855435163656C66314E44325745624B43484B3351386E6B544A693237624849572F537451364373764377685235444A30724369777045574735546D534E2B5271376543366F4641695052787739356B784A52757A73735259774651683578377A766A315A71495452535A794B773D3D000000000000AA55
dev:142023-05-05 15:43:49.055debugpayload after=3.1bc0c04e0f2c52971ZMx7aGqt8rya5uW5KHaBR5pRBrjZWkpHgSQFAsx68UCQcelf1ND2WEbKCHK3Q8nkTJi27bHIW/StQ6CsvCwhR5DJ0rCiwpEWG5TmSN+Rq7eC6oFAiPRxw95kxJRuzssRYwFQh5x7zvj1ZqITRSZyKw==
dev:142023-05-05 15:43:49.053debugpreMd5Stringdata=ZMx7aGqt8rya5uW5KHaBR5pRBrjZWkpHgSQFAsx68UCQcelf1ND2WEbKCHK3Q8nkTJi27bHIW/StQ6CsvCwhR5DJ0rCiwpEWG5TmSN+Rq7eC6oFAiPRxw95kxJRuzssRYwFQh5x7zvj1ZqITRSZyKw==||lpv=3.1||398d5cf37b3f335f
dev:142023-05-05 15:43:49.051debugEncrypted payload: 5A4D78376147717438727961357557354B4861425235705242726A5A576B704867535146417378363855435163656C66314E44325745624B43484B3351386E6B544A693237624849572F537451364373764377685235444A30724369777045574735546D534E2B5271376543366F4641695052787739356B784A52757A73735259774651683578377A766A315A71495452535A794B773D3D
dev:142023-05-05 15:43:49.047debugpayload before={"devId":"02788604500291d7c52d","uid":"02788604500291d7c52d","t":"1683297829","dps":{"20":true}}
dev:142023-05-05 15:43:49.046debug31
dev:142023-05-05 15:41:34.777debugSending message to 192.168.1.36:6668 msg: 000055AA0000000000000007000000B3332E31363136306435653531613466326231665A4D78376147717438727961357557354B4861425235705242726A5A576B704867535146417378363855435163656C66314E44325745624B43484B3351386E6B544A693237624849572F5374513643737643776852784148476D6779536E374770704135544479457A696943366F4641695052787739356B784A52757A73735259774651683578377A766A315A71495452535A794B773D3D28EAAD260000AA55
dev:142023-05-05 15:41:34.775debugHEX crc: 28eaad26 : 4
dev:142023-05-05 15:41:34.773debug195
dev:142023-05-05 15:41:34.634debugPrefix: 000055AA00000000000000
dev:142023-05-05 15:41:34.632debug179
dev:142023-05-05 15:41:34.630debug332E31363136306435653531613466326231665A4D78376147717438727961357557354B4861425235705242726A5A576B704867535146417378363855435163656C66314E44325745624B43484B3351386E6B544A693237624849572F5374513643737643776852784148476D6779536E374770704135544479457A696943366F4641695052787739356B784A52757A73735259774651683578377A766A315A71495452535A794B773D3D000000000000AA55
dev:142023-05-05 15:41:34.627debugpayload after=3.16160d5e51a4f2b1fZMx7aGqt8rya5uW5KHaBR5pRBrjZWkpHgSQFAsx68UCQcelf1ND2WEbKCHK3Q8nkTJi27bHIW/StQ6CsvCwhRxAHGmgySn7GppA5TDyEziiC6oFAiPRxw95kxJRuzssRYwFQh5x7zvj1ZqITRSZyKw==
dev:142023-05-05 15:41:34.625debugpreMd5Stringdata=ZMx7aGqt8rya5uW5KHaBR5pRBrjZWkpHgSQFAsx68UCQcelf1ND2WEbKCHK3Q8nkTJi27bHIW/StQ6CsvCwhRxAHGmgySn7GppA5TDyEziiC6oFAiPRxw95kxJRuzssRYwFQh5x7zvj1ZqITRSZyKw==||lpv=3.1||398d5cf37b3f335f
dev:142023-05-05 15:41:34.623debugEncrypted payload: 5A4D78376147717438727961357557354B4861425235705242726A5A576B704867535146417378363855435163656C66314E44325745624B43484B3351386E6B544A693237624849572F5374513643737643776852784148476D6779536E374770704135544479457A696943366F4641695052787739356B784A52757A73735259774651683578377A766A315A71495452535A794B773D3D
dev:142023-05-05 15:41:34.615debugpayload before={"devId":"02788604500291d7c52d","uid":"02788604500291d7c52d","t":"1683297694","dps":{"20":true}}
dev:142023-05-05 15:41:34.614debug31
Also, here is the Get Device Sepcification Attribute details from the Tuya IOT site.
{
"result": {
"category": "dj",
"functions": [
{
"code": "switch_led",
"dp_id": 20,
"type": "Boolean",
"values": "{}"
},
{
"code": "work_mode",
"dp_id": 21,
"type": "Enum",
"values": "{\"range\":[\"white\",\"colour\",\"scene\",\"music\"]}"
},
{
"code": "bright_value_v2",
"dp_id": 22,
"type": "Integer",
"values": "{\"min\":10,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}"
},
{
"code": "temp_value_v2",
"dp_id": 23,
"type": "Integer",
"values": "{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}"
},
{
"code": "colour_data_v2",
"dp_id": 24,
"type": "Json",
"values": "{\"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}}"
},
{
"code": "scene_data_v2",
"dp_id": 25,
"type": "Json",
"values": "{\"scene_num\":{\"min\":1,\"scale\":0,\"max\":8,\"step\":1},\"scene_units\": {\"unit_change_mode\":{\"range\":[\"static\",\"jump\",\"gradient\"]},\"unit_switch_duration\":{\"min\":0,\"scale\":0,\"max\":100,\"step\":1},\"unit_gradient_duration\":{\"min\":0,\"scale\":0,\"max\":100,\"step\":1},\"bright\":{\"min\":0,\"scale\":0,\"max\":1000,\"step\":1},\"temperature\":{\"min\":0,\"scale\":0,\"max\":1000,\"step\":1},\"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}}}"
},
{
"code": "countdown_1",
"dp_id": 26,
"type": "Integer",
"values": "{\"unit\":\"\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
},
{
"code": "music_data",
"dp_id": 27,
"type": "Json",
"values": "{\"change_mode\":{\"range\":[\"direct\",\"gradient\"]}, \"bright\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"temperature\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1}}"
},
{
"code": "control_data",
"dp_id": 28,
"type": "Json",
"values": "{\"change_mode\":{\"range\":[\"direct\",\"gradient\"]}, \"bright\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"temperature\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1}}"
}
],
"status": [
{
"code": "switch_led",
"dp_id": 20,
"type": "Boolean",
"values": "{}"
},
{
"code": "work_mode",
"dp_id": 21,
"type": "Enum",
"values": "{\"range\":[\"white\",\"colour\",\"scene\",\"music\"]}"
},
{
"code": "bright_value_v2",
"dp_id": 22,
"type": "Integer",
"values": "{\"min\":10,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}"
},
{
"code": "temp_value_v2",
"dp_id": 23,
"type": "Integer",
"values": "{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}"
},
{
"code": "colour_data_v2",
"dp_id": 24,
"type": "Json",
"values": "{\"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}}"
},
{
"code": "scene_data_v2",
"dp_id": 25,
"type": "Json",
"values": "{\"scene_num\":{\"min\":1,\"scale\":0,\"max\":8,\"step\":1},\"scene_units\": {\"unit_change_mode\":{\"range\":[\"static\",\"jump\",\"gradient\"]},\"unit_switch_duration\":{\"min\":0,\"scale\":0,\"max\":100,\"step\":1},\"unit_gradient_duration\":{\"min\":0,\"scale\":0,\"max\":100,\"step\":1},\"bright\":{\"min\":0,\"scale\":0,\"max\":1000,\"step\":1},\"temperature\":{\"min\":0,\"scale\":0,\"max\":1000,\"step\":1},\"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}}}"
},
{
"code": "countdown_1",
"dp_id": 26,
"type": "Integer",
"values": "{\"unit\":\"\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
},
{
"code": "music_data",
"dp_id": 27,
"type": "Json",
"values": "{\"change_mode\":{\"range\":[\"direct\",\"gradient\"]}, \"bright\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"temperature\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1}}"
},
{
"code": "control_data",
"dp_id": 28,
"type": "Json",
"values": "{\"change_mode\":{\"range\":[\"direct\",\"gradient\"]}, \"bright\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"temperature\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1}}"
}
]
},
"success": true,
"t": 1683373196918,
"tid": "b9c1472eec0211ed9b213e97a7ff9260"
}