I’m running openhabian on a P5 with openHAB 5.0 snapshot. I have been very pleased with the Tuya binding. It is much more stable than the old one and I’m seeing state updates that I wasn’t before.
But my openhab.log is filled with warnings that are generated with every polling cycle for ~4 of my 20 Tuya devices. The Things for these devices stay online and they appear to be functioning as expected. I guess I can change the logging to ERROR to get rid of these, but like seeing the warnings generally.
I suspect the issue is related to the fact that binding tires both to both DP_QUERY and DP_REFRESH because one works for some devices and not others and vice versa. In my case I believe the query works and the refresh fails, generating the warning.
2025-06-04 19:23:37.868 [WARN ] [nding.tuya.internal.local.TuyaDevice] - 31824587ecfabc657e92: Refreshing status failed. Device is not connected.
2025-06-04 19:23:47.869 [WARN ] [nding.tuya.internal.local.TuyaDevice] - 31824587ecfabc657e92: Refreshing status failed. Device is not connected.
2025-06-04 19:23:57.869 [WARN ] [nding.tuya.internal.local.TuyaDevice] - 31824587ecfabc657e92: Refreshing status failed. Device is not connected.
2025-06-04 19:24:07.870 [WARN ] [nding.tuya.internal.local.TuyaDevice] - 31824587ecfabc657e92: Refreshing status failed. Device is not connected.
2025-06-04 19:24:17.870 [WARN ] [nding.tuya.internal.local.TuyaDevice] - 31824587ecfabc657e92: Refreshing status failed. Device is not connected.
2025-06-04 19:24:27.870 [WARN ] [nding.tuya.internal.local.TuyaDevice] - 31824587ecfabc657e92: Refreshing status failed. Device is not connected.
2025-06-04 19:24:37.871 [WARN ] [nding.tuya.internal.local.TuyaDevice] - 31824587ecfabc657e92: Refreshing status failed. Device is not connected.
2025-06-04 19:24:47.871 [WARN ] [nding.tuya.internal.local.TuyaDevice] - 31824587ecfabc657e92: Refreshing status failed. Device is not connected.
2025-06-04 19:24:57.872 [WARN ] [nding.tuya.internal.local.TuyaDevice] - 31824587ecfabc657e92: Refreshing status failed. Device is not connected.
2025-06-04 19:25:07.285 [DEBUG] [.internal.local.handlers.TuyaEncoder] - 31824587ecfabc657e92/10.0.0.42:6668: Sending DP_REFRESH, payload {devId=31824587ecfabc657e92, uid=31824587ecfabc657e92, t=1749086707, dpId=[20, 21, 22, 23, 24, 25, 26, 28, 20], gwId=31824587ecfabc657e92}
2025-06-04 19:25:07.285 [TRACE] [.internal.local.handlers.TuyaEncoder] - 31824587ecfabc657e92/10.0.0.42:6668: Sending encoded '000055AA00006A6000000012000000980628D80C3CDC9B242C4C4EEAA5FCF45048508BAA0C092CB4BD76CC2E215D29FF0C1799DA710607751E9DC22EE54D56B3D2156B3C443ABEF8A7DE3D5769B6D996FA4CC3B1EDB596C3918A287580D88D99DAF4B4B6CF93E8D9085F205AA9969DC99D261A863690BB42B12BF6C230E3987E1100970350F735572511D8C5E69C0B529E133A307DC131E0D8CB5378C65B21CEFB85DE650000AA55'
2025-06-04 19:25:07.286 [DEBUG] [.internal.local.handlers.TuyaEncoder] - 31824587ecfabc657e92/10.0.0.42:6668: Sending DP_QUERY, payload {devId=31824587ecfabc657e92, uid=31824587ecfabc657e92, t=1749086707, dps={}, gwId=31824587ecfabc657e92}
2025-06-04 19:25:07.286 [TRACE] [.internal.local.handlers.TuyaEncoder] - 31824587ecfabc657e92/10.0.0.42:6668: Sending encoded '000055AA00006A610000000A000000880628D80C3CDC9B242C4C4EEAA5FCF45048508BAA0C092CB4BD76CC2E215D29FF0C1799DA710607751E9DC22EE54D56B3D2156B3C443ABEF8A7DE3D5769B6D996F2C855B789A111CDC57C6EE7E4AFF3114693338CC3989819C1C1A4B9AF77EACCE2F1ECE0AEB4601CE527E45A0F1AAA488F136A399435ED4E35621147B859C6E4F71E199B0000AA55'
2025-06-04 19:25:07.321 [TRACE] [.internal.local.handlers.TuyaDecoder] - 31824587ecfabc657e92/10.0.0.42:6668: Received encoded '000055AA00006A610000000A000000AC000000000628D80C3CDC9B242C4C4EEAA5FCF45048508BAA0C092CB4BD76CC2E215D29FFC11E75F8C313F165B04314C27C2375A2A975E2FE6EEE77AABF93BE8719CD07FD382CFBE4FDF7468344954B5D8910BAC2C320E6EF4C1131C0D7D17AC0045ED4B1463D82509D5EBB14B70C7C7926E40616B636EB8707401055290CE1296B85E22EDCD48D016FB55918FCC805FEC078C93448265BB524AE5E87A9F7E768690695ED790A8E500000AA55'
2025-06-04 19:25:07.322 [TRACE] [.internal.local.handlers.TuyaDecoder] - 31824587ecfabc657e92/10.0.0.42:6668: Protocol version '3.3'
2025-06-04 19:25:07.322 [TRACE] [.internal.local.handlers.TuyaDecoder] - 31824587ecfabc657e92/10.0.0.42:6668: Decoded raw payload: 7B226465764964223A223331383234353837656366616263363537653932222C22647073223A7B223230223A66616C73652C223231223A227768697465222C223232223A3530302C223233223A3232302C223234223A22303066303033653830336538222C223235223A2230303065306430303030326530336538303263633030303030303030222C223236223A307D7D0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F
2025-06-04 19:25:07.322 [DEBUG] [.internal.local.handlers.TuyaDecoder] - 31824587ecfabc657e92/10.0.0.42:6668: Received MessageWrapper{commandType=DP_QUERY, content='TcpStatusPayload{protocol=-1, devId='31824587ecfabc657e92', gwId='', uid='', t=0, dps={20=false, 21=white, 22=500.0, 23=220.0, 24=00f003e803e8, 25=000e0d00002e03e802cc00000000, 26=0.0}, data=Data{dps={}}}'}
2025-06-04 19:25:07.322 [TRACE] [a.internal.handler.TuyaDeviceHandler] - 'tuya:tuyaDevice:31824587ecfabc657e92' received status message '{20=false, 21=white, 22=500.0, 23=220.0, 24=00f003e803e8, 25=000e0d00002e03e802cc00000000, 26=0.0}'
2025-06-04 19:25:07.408 [DEBUG] [.internal.local.handlers.TuyaEncoder] - 31824587ecfabc657e92/10.0.0.42:6668: Sending DP_REFRESH, payload {devId=31824587ecfabc657e92, uid=31824587ecfabc657e92, t=1749086707, dpId=[20, 21, 22, 23, 24, 25, 26, 28, 20], gwId=31824587ecfabc657e92}
2025-06-04 19:25:07.408 [TRACE] [.internal.local.handlers.TuyaEncoder] - 31824587ecfabc657e92/10.0.0.42:6668: Sending encoded '000055AA00006A6200000012000000980628D80C3CDC9B242C4C4EEAA5FCF45048508BAA0C092CB4BD76CC2E215D29FF0C1799DA710607751E9DC22EE54D56B3D2156B3C443ABEF8A7DE3D5769B6D996FA4CC3B1EDB596C3918A287580D88D99DAF4B4B6CF93E8D9085F205AA9969DC99D261A863690BB42B12BF6C230E3987E1100970350F735572511D8C5E69C0B529E133A307DC131E0D8CB5378C65B21CE591993BA0000AA55'
2025-06-04 19:25:07.408 [DEBUG] [.internal.local.handlers.TuyaEncoder] - 31824587ecfabc657e92/10.0.0.42:6668: Sending DP_QUERY, payload {devId=31824587ecfabc657e92, uid=31824587ecfabc657e92, t=1749086707, dps={}, gwId=31824587ecfabc657e92}
2025-06-04 19:25:07.408 [TRACE] [.internal.local.handlers.TuyaEncoder] - 31824587ecfabc657e92/10.0.0.42:6668: Sending encoded '000055AA00006A630000000A000000880628D80C3CDC9B242C4C4EEAA5FCF45048508BAA0C092CB4BD76CC2E215D29FF0C1799DA710607751E9DC22EE54D56B3D2156B3C443ABEF8A7DE3D5769B6D996F2C855B789A111CDC57C6EE7E4AFF3114693338CC3989819C1C1A4B9AF77EACCE2F1ECE0AEB4601CE527E45A0F1AAA488F136A399435ED4E35621147B859C6E44DB0ADCE0000AA55'
2025-06-04 19:25:07.443 [TRACE] [.internal.local.handlers.TuyaDecoder] - 31824587ecfabc657e92/10.0.0.42:6668: Received encoded '000055AA00006A630000000A000000AC000000000628D80C3CDC9B242C4C4EEAA5FCF45048508BAA0C092CB4BD76CC2E215D29FFC11E75F8C313F165B04314C27C2375A2A975E2FE6EEE77AABF93BE8719CD07FD382CFBE4FDF7468344954B5D8910BAC2C320E6EF4C1131C0D7D17AC0045ED4B1463D82509D5EBB14B70C7C7926E40616B636EB8707401055290CE1296B85E22EDCD48D016FB55918FCC805FEC078C93448265BB524AE5E87A9F7E768690695ED1D5B633F0000AA55'
2025-06-04 19:25:07.443 [TRACE] [.internal.local.handlers.TuyaDecoder] - 31824587ecfabc657e92/10.0.0.42:6668: Protocol version '3.3'
2025-06-04 19:25:07.444 [TRACE] [.internal.local.handlers.TuyaDecoder] - 31824587ecfabc657e92/10.0.0.42:6668: Decoded raw payload: 7B226465764964223A223331383234353837656366616263363537653932222C22647073223A7B223230223A66616C73652C223231223A227768697465222C223232223A3530302C223233223A3232302C223234223A22303066303033653830336538222C223235223A2230303065306430303030326530336538303263633030303030303030222C223236223A307D7D0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F
2025-06-04 19:25:07.444 [DEBUG] [.internal.local.handlers.TuyaDecoder] - 31824587ecfabc657e92/10.0.0.42:6668: Received MessageWrapper{commandType=DP_QUERY, content='TcpStatusPayload{protocol=-1, devId='31824587ecfabc657e92', gwId='', uid='', t=0, dps={20=false, 21=white, 22=500.0, 23=220.0, 24=00f003e803e8, 25=000e0d00002e03e802cc00000000, 26=0.0}, data=Data{dps={}}}'}
2025-06-04 19:25:07.444 [TRACE] [a.internal.handler.TuyaDeviceHandler] - 'tuya:tuyaDevice:31824587ecfabc657e92' received status message '{20=false, 21=white, 22=500.0, 23=220.0, 24=00f003e803e8, 25=000e0d00002e03e802cc00000000, 26=0.0}'
2025-06-04 19:25:07.872 [WARN ] [nding.tuya.internal.local.TuyaDevice] - 31824587ecfabc657e92: Refreshing status failed. Device is not connected.
2025-06-04 19:25:17.285 [DEBUG] [.internal.local.handlers.TuyaEncoder] - 31824587ecfabc657e92/10.0.0.42:6668: Sending DP_REFRESH, payload {devId=31824587ecfabc657e92, uid=31824587ecfabc657e92, t=1749086717, dpId=[20, 21, 22, 23, 24, 25, 26, 28, 20], gwId=31824587ecfabc657e92}
2025-06-04 19:25:17.285 [TRACE] [.internal.local.handlers.TuyaEncoder] - 31824587ecfabc657e92/10.0.0.42:6668: Sending encoded '000055AA00006A6400000012000000980628D80C3CDC9B242C4C4EEAA5FCF45048508BAA0C092CB4BD76CC2E215D29FF0C1799DA710607751E9DC22EE54D56B3D2156B3C443ABEF8A7DE3D5769B6D996A27A4646F3F9B10A9697022C9A15DB37DAF4B4B6CF93E8D9085F205AA9969DC99D261A863690BB42B12BF6C230E3987E1100970350F735572511D8C5E69C0B529E133A307DC131E0D8CB5378C65B21CE726856D20000AA55'
2025-06-04 19:25:17.287 [DEBUG] [.internal.local.handlers.TuyaEncoder] - 31824587ecfabc657e92/10.0.0.42:6668: Sending DP_QUERY, payload {devId=31824587ecfabc657e92, uid=31824587ecfabc657e92, t=1749086717, dps={}, gwId=31824587ecfabc657e92}
2025-06-04 19:25:17.287 [TRACE] [.internal.local.handlers.TuyaEncoder] - 31824587ecfabc657e92/10.0.0.42:6668: Sending encoded '000055AA00006A650000000A000000880628D80C3CDC9B242C4C4EEAA5FCF45048508BAA0C092CB4BD76CC2E215D29FF0C1799DA710607751E9DC22EE54D56B3D2156B3C443ABEF8A7DE3D5769B6D99654719C7427F368173A365F44660689624693338CC3989819C1C1A4B9AF77EACCE2F1ECE0AEB4601CE527E45A0F1AAA488F136A399435ED4E35621147B859C6E4D29C08F40000AA55'
2025-06-04 19:25:17.338 [TRACE] [.internal.local.handlers.TuyaDecoder] - 31824587ecfabc657e92/10.0.0.42:6668: Received encoded '000055AA00006A650000000A000000AC000000000628D80C3CDC9B242C4C4EEAA5FCF45048508BAA0C092CB4BD76CC2E215D29FFC11E75F8C313F165B04314C27C2375A2A975E2FE6EEE77AABF93BE8719CD07FD382CFBE4FDF7468344954B5D8910BAC2C320E6EF4C1131C0D7D17AC0045ED4B1463D82509D5EBB14B70C7C7926E40616B636EB8707401055290CE1296B85E22EDCD48D016FB55918FCC805FEC078C93448265BB524AE5E87A9F7E768690695EDB1A9548E0000AA55'
2025-06-04 19:25:17.339 [TRACE] [.internal.local.handlers.TuyaDecoder] - 31824587ecfabc657e92/10.0.0.42:6668: Protocol version '3.3'
2025-06-04 19:25:17.339 [TRACE] [.internal.local.handlers.TuyaDecoder] - 31824587ecfabc657e92/10.0.0.42:6668: Decoded raw payload: 7B226465764964223A223331383234353837656366616263363537653932222C22647073223A7B223230223A66616C73652C223231223A227768697465222C223232223A3530302C223233223A3232302C223234223A22303066303033653830336538222C223235223A2230303065306430303030326530336538303263633030303030303030222C223236223A307D7D0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F
2025-06-04 19:25:17.339 [DEBUG] [.internal.local.handlers.TuyaDecoder] - 31824587ecfabc657e92/10.0.0.42:6668: Received MessageWrapper{commandType=DP_QUERY, content='TcpStatusPayload{protocol=-1, devId='31824587ecfabc657e92', gwId='', uid='', t=0, dps={20=false, 21=white, 22=500.0, 23=220.0, 24=00f003e803e8, 25=000e0d00002e03e802cc00000000, 26=0.0}, data=Data{dps={}}}'}
2025-06-04 19:25:17.339 [TRACE] [a.internal.handler.TuyaDeviceHandler] - 'tuya:tuyaDevice:31824587ecfabc657e92' received status message '{20=false, 21=white, 22=500.0, 23=220.0, 24=00f003e803e8, 25=000e0d00002e03e802cc00000000, 26=0.0}'
2025-06-04 19:25:17.408 [DEBUG] [.internal.local.handlers.TuyaEncoder] - 31824587ecfabc657e92/10.0.0.42:6668: Sending DP_REFRESH, payload {devId=31824587ecfabc657e92, uid=31824587ecfabc657e92, t=1749086717, dpId=[20, 21, 22, 23, 24, 25, 26, 28, 20], gwId=31824587ecfabc657e92}
2025-06-04 19:25:17.408 [TRACE] [.internal.local.handlers.TuyaEncoder] - 31824587ecfabc657e92/10.0.0.42:6668: Sending encoded '000055AA00006A6600000012000000980628D80C3CDC9B242C4C4EEAA5FCF45048508BAA0C092CB4BD76CC2E215D29FF0C1799DA710607751E9DC22EE54D56B3D2156B3C443ABEF8A7DE3D5769B6D996A27A4646F3F9B10A9697022C9A15DB37DAF4B4B6CF93E8D9085F205AA9969DC99D261A863690BB42B12BF6C230E3987E1100970350F735572511D8C5E69C0B529E133A307DC131E0D8CB5378C65B21CED0F41B0D0000AA55'
2025-06-04 19:25:17.408 [DEBUG] [.internal.local.handlers.TuyaEncoder] - 31824587ecfabc657e92/10.0.0.42:6668: Sending DP_QUERY, payload {devId=31824587ecfabc657e92, uid=31824587ecfabc657e92, t=1749086717, dps={}, gwId=31824587ecfabc657e92}
2025-06-04 19:25:17.408 [TRACE] [.internal.local.handlers.TuyaEncoder] - 31824587ecfabc657e92/10.0.0.42:6668: Sending encoded '000055AA00006A670000000A000000880628D80C3CDC9B242C4C4EEAA5FCF45048508BAA0C092CB4BD76CC2E215D29FF0C1799DA710607751E9DC22EE54D56B3D2156B3C443ABEF8A7DE3D5769B6D99654719C7427F368173A365F44660689624693338CC3989819C1C1A4B9AF77EACCE2F1ECE0AEB4601CE527E45A0F1AAA488F136A399435ED4E35621147B859C6E46832BCA10000AA55'
2025-06-04 19:25:17.438 [TRACE] [.internal.local.handlers.TuyaDecoder] - 31824587ecfabc657e92/10.0.0.42:6668: Received encoded '000055AA00006A670000000A000000AC000000000628D80C3CDC9B242C4C4EEAA5FCF45048508BAA0C092CB4BD76CC2E215D29FFC11E75F8C313F165B04314C27C2375A2A975E2FE6EEE77AABF93BE8719CD07FD382CFBE4FDF7468344954B5D8910BAC2C320E6EF4C1131C0D7D17AC0045ED4B1463D82509D5EBB14B70C7C7926E40616B636EB8707401055290CE1296B85E22EDCD48D016FB55918FCC805FEC078C93448265BB524AE5E87A9F7E768690695EDD5F8B9E10000AA55'
2025-06-04 19:25:17.439 [TRACE] [.internal.local.handlers.TuyaDecoder] - 31824587ecfabc657e92/10.0.0.42:6668: Protocol version '3.3'
2025-06-04 19:25:17.439 [TRACE] [.internal.local.handlers.TuyaDecoder] - 31824587ecfabc657e92/10.0.0.42:6668: Decoded raw payload: 7B226465764964223A223331383234353837656366616263363537653932222C22647073223A7B223230223A66616C73652C223231223A227768697465222C223232223A3530302C223233223A3232302C223234223A22303066303033653830336538222C223235223A2230303065306430303030326530336538303263633030303030303030222C223236223A307D7D0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F
2025-06-04 19:25:17.440 [DEBUG] [.internal.local.handlers.TuyaDecoder] - 31824587ecfabc657e92/10.0.0.42:6668: Received MessageWrapper{commandType=DP_QUERY, content='TcpStatusPayload{protocol=-1, devId='31824587ecfabc657e92', gwId='', uid='', t=0, dps={20=false, 21=white, 22=500.0, 23=220.0, 24=00f003e803e8, 25=000e0d00002e03e802cc00000000, 26=0.0}, data=Data{dps={}}}'}
2025-06-04 19:25:17.440 [TRACE] [a.internal.handler.TuyaDeviceHandler] - 'tuya:tuyaDevice:31824587ecfabc657e92' received status message '{20=false, 21=white, 22=500.0, 23=220.0, 24=00f003e803e8, 25=000e0d00002e03e802cc00000000, 26=0.0}'
2025-06-04 19:25:17.872 [WARN ] [nding.tuya.internal.local.TuyaDevice] - 31824587ecfabc657e92: Refreshing status failed. Device is not connected.
2025-06-04 19:25:27.285 [DEBUG] [.internal.local.handlers.TuyaEncoder] - 31824587ecfabc657e92/10.0.0.42:6668: Sending DP_REFRESH, payload {devId=31824587ecfabc657e92, uid=31824587ecfabc657e92, t=1749086727, dpId=[20, 21, 22, 23, 24, 25, 26, 28, 20], gwId=31824587ecfabc657e92}
2025-06-04 19:25:27.286 [TRACE] [.internal.local.handlers.TuyaEncoder] - 31824587ecfabc657e92/10.0.0.42:6668: Sending encoded '000055AA00006A6800000012000000980628D80C3CDC9B242C4C4EEAA5FCF45048508BAA0C092CB4BD76CC2E215D29FF0C1799DA710607751E9DC22EE54D56B3D2156B3C443ABEF8A7DE3D5769B6D996E005DB85529791BFED25B222B66559E8DAF4B4B6CF93E8D9085F205AA9969DC99D261A863690BB42B12BF6C230E3987E1100970350F735572511D8C5E69C0B529E133A307DC131E0D8CB5378C65B21CEF1E039D50000AA55'
2025-06-04 19:25:27.286 [DEBUG] [.internal.local.handlers.TuyaEncoder] - 31824587ecfabc657e92/10.0.0.42:6668: Sending DP_QUERY, payload {devId=31824587ecfabc657e92, uid=31824587ecfabc657e92, t=1749086727, dps={}, gwId=31824587ecfabc657e92}
2025-06-04 19:25:27.286 [TRACE] [.internal.local.handlers.TuyaEncoder] - 31824587ecfabc657e92/10.0.0.42:6668: Sending encoded '000055AA00006A690000000A000000880628D80C3CDC9B242C4C4EEAA5FCF45048508BAA0C092CB4BD76CC2E215D29FF0C1799DA710607751E9DC22EE54D56B3D2156B3C443ABEF8A7DE3D5769B6D996D4719AFC620C0E2CC9BED32AE35DC30C4693338CC3989819C1C1A4B9AF77EACCE2F1ECE0AEB4601CE527E45A0F1AAA488F136A399435ED4E35621147B859C6E44B73F0A40000AA55'
2025-06-04 19:25:27.324 [TRACE] [.internal.local.handlers.TuyaDecoder] - 31824587ecfabc657e92/10.0.0.42:6668: Received encoded '000055AA00006A690000000A000000AC000000000628D80C3CDC9B242C4C4EEAA5FCF45048508BAA0C092CB4BD76CC2E215D29FFC11E75F8C313F165B04314C27C2375A2A975E2FE6EEE77AABF93BE8719CD07FD382CFBE4FDF7468344954B5D8910BAC2C320E6EF4C1131C0D7D17AC0045ED4B1463D82509D5EBB14B70C7C7926E40616B636EB8707401055290CE1296B85E22EDCD48D016FB55918FCC805FEC078C93448265BB524AE5E87A9F7E768690695ED333C3DAD0000AA55'
2025-06-04 19:25:27.325 [TRACE] [.internal.local.handlers.TuyaDecoder] - 31824587ecfabc657e92/10.0.0.42:6668: Protocol version '3.3'
2025-06-04 19:25:27.325 [TRACE] [.internal.local.handlers.TuyaDecoder] - 31824587ecfabc657e92/10.0.0.42:6668: Decoded raw payload: 7B226465764964223A223331383234353837656366616263363537653932222C22647073223A7B223230223A66616C73652C223231223A227768697465222C223232223A3530302C223233223A3232302C223234223A22303066303033653830336538222C223235223A2230303065306430303030326530336538303263633030303030303030222C223236223A307D7D0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F
2025-06-04 19:25:27.325 [DEBUG] [.internal.local.handlers.TuyaDecoder] - 31824587ecfabc657e92/10.0.0.42:6668: Received MessageWrapper{commandType=DP_QUERY, content='TcpStatusPayload{protocol=-1, devId='31824587ecfabc657e92', gwId='', uid='', t=0, dps={20=false, 21=white, 22=500.0, 23=220.0, 24=00f003e803e8, 25=000e0d00002e03e802cc00000000, 26=0.0}, data=Data{dps={}}}'}
2025-06-04 19:25:27.326 [TRACE] [a.internal.handler.TuyaDeviceHandler] - 'tuya:tuyaDevice:31824587ecfabc657e92' received status message '{20=false, 21=white, 22=500.0, 23=220.0, 24=00f003e803e8, 25=000e0d00002e03e802cc00000000, 26=0.0}'
2025-06-04 19:25:27.407 [DEBUG] [.internal.local.handlers.TuyaEncoder] - 31824587ecfabc657e92/10.0.0.42:6668: Sending DP_REFRESH, payload {devId=31824587ecfabc657e92, uid=31824587ecfabc657e92, t=1749086727, dpId=[20, 21, 22, 23, 24, 25, 26, 28, 20], gwId=31824587ecfabc657e92}
2025-06-04 19:25:27.408 [TRACE] [.internal.local.handlers.TuyaEncoder] - 31824587ecfabc657e92/10.0.0.42:6668: Sending encoded '000055AA00006A6A00000012000000980628D80C3CDC9B242C4C4EEAA5FCF45048508BAA0C092CB4BD76CC2E215D29FF0C1799DA710607751E9DC22EE54D56B3D2156B3C443ABEF8A7DE3D5769B6D996E005DB85529791BFED25B222B66559E8DAF4B4B6CF93E8D9085F205AA9969DC99D261A863690BB42B12BF6C230E3987E1100970350F735572511D8C5E69C0B529E133A307DC131E0D8CB5378C65B21CE537C740A0000AA55'
2025-06-04 19:25:27.408 [DEBUG] [.internal.local.handlers.TuyaEncoder] - 31824587ecfabc657e92/10.0.0.42:6668: Sending DP_QUERY, payload {devId=31824587ecfabc657e92, uid=31824587ecfabc657e92, t=1749086727, dps={}, gwId=31824587ecfabc657e92}
2025-06-04 19:25:27.408 [TRACE] [.internal.local.handlers.TuyaEncoder] - 31824587ecfabc657e92/10.0.0.42:6668: Sending encoded '000055AA00006A6B0000000A000000880628D80C3CDC9B242C4C4EEAA5FCF45048508BAA0C092CB4BD76CC2E215D29FF0C1799DA710607751E9DC22EE54D56B3D2156B3C443ABEF8A7DE3D5769B6D996D4719AFC620C0E2CC9BED32AE35DC30C4693338CC3989819C1C1A4B9AF77EACCE2F1ECE0AEB4601CE527E45A0F1AAA488F136A399435ED4E35621147B859C6E4F1DD44F10000AA55'
2025-06-04 19:25:27.452 [TRACE] [.internal.local.handlers.TuyaDecoder] - 31824587ecfabc657e92/10.0.0.42:6668: Received encoded '000055AA00006A6B0000000A000000AC000000000628D80C3CDC9B242C4C4EEAA5FCF45048508BAA0C092CB4BD76CC2E215D29FFC11E75F8C313F165B04314C27C2375A2A975E2FE6EEE77AABF93BE8719CD07FD382CFBE4FDF7468344954B5D8910BAC2C320E6EF4C1131C0D7D17AC0045ED4B1463D82509D5EBB14B70C7C7926E40616B636EB8707401055290CE1296B85E22EDCD48D016FB55918FCC805FEC078C93448265BB524AE5E87A9F7E768690695ED576DD0C20000AA55'
2025-06-04 19:25:27.452 [TRACE] [.internal.local.handlers.TuyaDecoder] - 31824587ecfabc657e92/10.0.0.42:6668: Protocol version '3.3'
2025-06-04 19:25:27.452 [TRACE] [.internal.local.handlers.TuyaDecoder] - 31824587ecfabc657e92/10.0.0.42:6668: Decoded raw payload: 7B226465764964223A223331383234353837656366616263363537653932222C22647073223A7B223230223A66616C73652C223231223A227768697465222C223232223A3530302C223233223A3232302C223234223A22303066303033653830336538222C223235223A2230303065306430303030326530336538303263633030303030303030222C223236223A307D7D0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F
2025-06-04 19:25:27.453 [DEBUG] [.internal.local.handlers.TuyaDecoder] - 31824587ecfabc657e92/10.0.0.42:6668: Received MessageWrapper{commandType=DP_QUERY, content='TcpStatusPayload{protocol=-1, devId='31824587ecfabc657e92', gwId='', uid='', t=0, dps={20=false, 21=white, 22=500.0, 23=220.0, 24=00f003e803e8, 25=000e0d00002e03e802cc00000000, 26=0.0}, data=Data{dps={}}}'}
2025-06-04 19:25:27.453 [TRACE] [a.internal.handler.TuyaDeviceHandler] - 'tuya:tuyaDevice:31824587ecfabc657e92' received status message '{20=false, 21=white, 22=500.0, 23=220.0, 24=00f003e803e8, 25=000e0d00002e03e802cc00000000, 26=0.0}'
2025-06-04 19:25:27.872 [WARN ] [nding.tuya.internal.local.TuyaDevice] - 31824587ecfabc657e92: Refreshing status failed. Device is not connected.
openhabian@oh-m5:~ $
I guess my suggestion is that if one method works, the other not generate a warning. That may be too difficult to program, but I thought I would at least ask.
Regardless, thanks for all the work on the updated and improved binding.