20.12.2024, 11:40
No input about these? Mostly interested in a way to use the left/right arrows on the IKEA Styrbar - I had plans for those...
Zigbee gateway integration
|
20.12.2024, 11:40
No input about these? Mostly interested in a way to use the left/right arrows on the IKEA Styrbar - I had plans for those...
20.12.2024, 11:49
Custom actions for buttons can be done via a script: https://kb.logicmachine.net/libraries/zi...al-devices
Check ZigBee app monitor on what is sent when a certain button is pressed.
I just got a new hue strip, it won't be added in app. When i set network in open state, it disconnects the rs232 gw it seems. Button for network state dissappears and only a red flashing light on top right corner. Any ideas?
It seems, in monitor, that the gw finds the light, but just wont add it to the list. # Time Type Address Cluster Action Data 36 20:41:12.565 RX 14% 086bd7fffeb6c6cb ClosuresDoorLock ReportAttributes AttributeReports = [ { Attribute = { Type = enum8, Value = 2 }, AttributeIdentifier = 0 } ] 35 20:40:43.376 RX - - getpermitjoin addr = -1, max = 50 34 20:40:43.374 RX - - ready connmode = rs232, fwupgrade = false, fwversion = 20221226, ieeeaddr = 00124b00258c4ffa 33 20:40:36.921 RX 14% 086bd7fffeb6c6cb ClosuresDoorLock ReportAttributes AttributeReports = [ { Attribute = { Type = enum8, Value = 1 }, AttributeIdentifier = 3 } ] 32 20:40:35.630 RX - - init - 31 20:40:15.538 RX 54% 001788010c5678ec LightingColorCtrl ReadAttributesResponse ReadAttributeStatusRecords = [ { Attribute = { Type = uint16, Value = 366 }, AttributeIdentifier = 7, Status = SUCCESS } ] 30 20:40:15.519 RX 54% 001788010c5678ec LightingColorCtrl ConfigureReportingResponse AttributeStatusRecords = [ { Status = SUCCESS } ] 29 20:40:15.320 RX 54% 001788010c5678ec LevelCtrl ReadAttributesResponse ReadAttributeStatusRecords = [ { Attribute = { Type = uint8, Value = 254 }, AttributeIdentifier = 0, Status = SUCCESS } ] 28 20:40:15.319 RX 54% 001788010c5678ec LevelCtrl ConfigureReportingResponse AttributeStatusRecords = [ { Status = SUCCESS } ] 27 20:40:15.048 RX 54% 001788010c5678ec OnOff ReadAttributesResponse ReadAttributeStatusRecords = [ { Attribute = { Type = bool, Value = true }, AttributeIdentifier = 0, Status = SUCCESS } ] 26 20:40:15.006 RX 54% 001788010c5678ec OnOff ConfigureReportingResponse AttributeStatusRecords = [ { Status = SUCCESS } ] 25 20:40:14.811 RX 54% 001788010c5678ec Basic ReadAttributesResponse ReadAttributeStatusRecords = [ { Attribute = { Type = string, Value = 1.122.2 }, AttributeIdentifier = 16384, Status = SUCCESS } ] 24 20:40:14.809 RX 54% 001788010c5678ec Basic ReadAttributesResponse ReadAttributeStatusRecords = [ { Attribute = { Type = uint8, Value = 0 }, AttributeIdentifier = 3, Status = SUCCESS }, { Attribute = { Type = string, Value = Signify Netherlands B.V. }, AttributeIdentifier = 4, Status = SUCCESS }, { Attribute = { Type = string, Value = LCL001 }, AttributeIdentifier = 5, Status = SUCCESS } ] 23 20:40:14.408 RX 001788010c5678ec - announce ieeeaddr = 001788010c5678ec, nwkaddr = 8124
27.12.2024, 09:13
App has been updated, see if it fixes RGB device pairing for you.
27.12.2024, 14:52
(20.12.2024, 11:49)admin Wrote: Custom actions for buttons can be done via a script: https://kb.logicmachine.net/libraries/zi...al-devices Thank you very much! I should have known this. Bonus question, though: Is this an ok way to do this? Code: 12345678910111213141516171819202122232425262728293031323334 if not zb then
zb = require('applibs.zigbee')
zb.addcallback('44e2f8fffe37c87e', function(msg)
if msg.clustername == "Scenes" then
if msg.clusterdata.TradfriArrowHold then
log('Hold')
elseif msg.clusterdata.TradfriArrowRelease and msg.clusterdata.TradfriArrowRelease.Value ~= 0 then
log('Release ' .. msg.clusterdata.TradfriArrowRelease.Value)
elseif msg.clusterdata.TradfriArrowSingle and msg.clusterdata.TradfriArrowSingle.Value == 2 then
log('Scene')
elseif msg.clusterdata.TradfriArrowSingle and msg.clusterdata.TradfriArrowSingle.Value == 257 then
log('Left')
elseif msg.clusterdata.TradfriArrowSingle and msg.clusterdata.TradfriArrowSingle.Value == 256 then
log('Right')
end
elseif msg.clustername == "OnOff" then
if msg.clusterdata.CommandIdentifier == "On" then
log("On")
elseif msg.clusterdata.CommandIdentifier == "Off" then
log("Off")
end
elseif msg.clustername == "LevelControl" and msg.clusterdata.MoveWithOnOff and msg.clusterdata.MoveWithOnOff.MoveMode == "Up" then
log("Up")
elseif msg.clustername == "LevelControl" and msg.clusterdata.Move and msg.clusterdata.Move.MoveMode and msg.clusterdata.Move.MoveMode == "Down" then
log("Down")
elseif msg.clustername == "LevelControl" and msg.clusterdata.CommandIdentifier == "Stop" then
log("Stop")
else
log(msg)
end
end)
end
zb.loop(1)
02.01.2025, 10:08
Script looks ok.
02.01.2025, 11:29
07.01.2025, 12:46
Hello again. I've been scripting to read and write some attributes.
Command is as follows: res, err = zb.cmdsync('setrawattribute', 'a49e69fxxxxxx' , 513, 1043, true, 'bool') The command value "true" does as it should, but when writing "false" I get "No response". It's the same for all other 'bool' attributes. Is this component issue or zigbee app issue? Thanks in advance.
07.01.2025, 12:51
What do you have in the ZigBee app logs?
07.01.2025, 13:29
This is monitor data, not logs.
(07.01.2025, 13:29)admin Wrote: This is monitor data, not logs. ah, sorry. Log: Code: 12 2025-01-07 14:37:14 ZB: sending ZCL message to a49e69fffe7d394b, cluster 0201, dst EP 1:
{ FrameControl = [ "FrameTypeGlobal", "DirectionToServer" ], TransactionSequenceNumber = 7, GeneralCommandFrame = { CommandIdentifier = "WriteAttributes", WriteAttributes = { WriteAttributeRecords = [ { AttributeIdentifier = 1043, Attribute = { Type = "bool" } } ] } } }Code: 123456789101112131415161718 2025-01-07 14:37:14 ZB: could not encode ZCL data, error: /tmp/tmp.jOqIz9XAnc/files/store/daemon/zigbee/lib/codec.lua:315: no value for Value
stack traceback:
[C]: in function 'assert'
/tmp/tmp.jOqIz9XAnc/files/store/daemon/zigbee/lib/codec.lua:315: in function 'encode'
/tmp/tmp.jOqIz9XAnc/files/store/daemon/zigbee/lib/codec.lua:94: in function 'encode'
/tmp/tmp.jOqIz9XAnc/files/store/daemon/zigbee/lib/codec.lua:94: in function 'encode'
/tmp/tmp.jOqIz9XAnc/files/store/daemon/zigbee/lib/codec.lua:94: in function 'encode'
/tmp/tmp.jOqIz9XAnc/files/store/daemon/zigbee/lib/codec.lua:246: in function 'encode'
/tmp/tmp.jOqIz9XAnc/files/store/daemon/zigbee/lib/codec.lua:94: in function 'encode'
/tmp/tmp.jOqIz9XAnc/files/store/daemon/zigbee/lib/codec.lua:94: in function 'encode'
/tmp/tmp.jOqIz9XAnc/files/store/daemon/zigbee/lib/codec.lua:94: in function 'encode'
/tmp/tmp.jOqIz9XAnc/files/store/daemon/zigbee/lib/codec.lua:94: in function 'encode'
/tmp/tmp.jOqIz9XAnc/files/store/daemon/zigbee/lib/codec.lua:94: in function </tmp/tmp.jOqIz9XAnc/files/store/daemon/zigbee/lib/codec.lua:78>
[C]: in function 'xpcall'
...tmp.jOqIz9XAnc/files/store/daemon/zigbee/zigbee/core.lua:49: in function 'tx_zcl'
.../tmp.jOqIz9XAnc/files/store/daemon/zigbee/zigbee/zcl.lua:118: in function <.../tmp.jOqIz9XAnc/files/store/daemon/zigbee/zigbee/zcl.lua:46>
[C]: in function 'pcall'
/tmp/tmp.jOqIz9XAnc/files/store/daemon/zigbee/app.lua:295: in function </tmp/tmp.jOqIz9XAnc/files/store/daemon/zigbee/app.lua:294>Code: 12 2025-01-07 14:39:41 ZB: sending ZCL message to a49e69fffe7d394b, cluster 0201, dst EP 1:
{ FrameControl = [ "FrameTypeGlobal", "DirectionToServer" ], TransactionSequenceNumber = 9, GeneralCommandFrame = { CommandIdentifier = "WriteAttributes", WriteAttributes = { WriteAttributeRecords = [ { AttributeIdentifier = 1043, Attribute = { Type = "bool", Value = true } } ] } } }when sending "true" it actually sends the value true. As far as I can see, that is not the case when false is transmitted.
09.01.2025, 11:35
Any feedback regarding this?
10.01.2025, 12:30
ZigBee app has been updated, see if it fixes the attribute writing issue for you.
12.01.2025, 15:28
(10.01.2025, 12:30)admin Wrote: ZigBee app has been updated, see if it fixes the attribute writing issue for you. Hello How can I be sure that my devıce received the latest update? Does SE Wiser have the same fix? Still ZigBee 3-channel switch, can not change chanels independently (https://community.home-assistant.io/t/zi...tly/501707) they solved the issue for ZHA but still in Wiser I cannot control independently 3 or 4 channel relay modules. Do you have the visibility on this issue? Thank you Best Regards Turker
13.01.2025, 08:51
SE is maintaining apps on their own, it is not question to us.
------------------------------
Ctrl+F5
04.03.2025, 20:08
Hello,
How do you add zigbee products? I read that you can add profiles but can't find where this can be done and where to find all the profiles? Is the reset button the small one at the top next to the diodes? I have a variety of schneider wiser products that are on the list
05.03.2025, 08:25
It is hard codded in the app, only we can add profiles.
------------------------------
Ctrl+F5
05.03.2025, 10:29
|
« Next Oldest | Next Newest »
|