26.04.2023, 15:45
(25.04.2023, 17:50)CarlS Wrote:(25.04.2023, 16:48)admin Wrote: Update the app to 20230425 and see if it helps.
Everything seems to be ok now
Thanks a lot
Carl
It seems that there is a couple of problems with the device with profile name TuYa - 16A Relay / Smart Plug
(Manufacturer: _TZ3000_eyzb8yg3
Model: TS0121)
1. It does not report RmsCurrent, RmsVoltage and CurrentSummDelivered automatically, so I run this script every minute.
I don't know if it should report automatically. However, the script works, and the group addresses are updated
Code:
zb = require('applibs.zigbee')
--Manual reading--
--Create table
local zbtable = {
'CurrentSummDelivered'
}
zb.cmd('getnamedattributes', '943469fffe715fae',1794, zbtable,1)
--Create table
local zbtable2 = {
'RmsVoltage',
'RmsCurrent'
}
zb.cmd('getnamedattributes', '943469fffe715fae',2820, zbtable2,2)
2. When I write to the On/off group address the relay is turned on and off, but I get no response to the status group address.
Nothing is shown in the monitor.
Only this line in the log:
Code:
2023-04-26 17:07:32 ZB: sending ZCL message to 943469fffe715fae, cluster 0006:
{ FrameControl = [ "FrameTypeLocal", "DirectionToServer", "DisableDefaultResponse" ], TransactionSequenceNumber = 100, OnOffClusterFrame = { CommandIdentifier = "On" } }