LogicMachine Forum
Zigbee gateway integration - Printable Version

+- LogicMachine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Gateway (https://forum.logicmachine.net/forumdisplay.php?fid=10)
+--- Thread: Zigbee gateway integration (/showthread.php?tid=3320)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34


RE: Zigbee gateway integration - FatMax - 18.12.2025

(18.12.2025, 08:58)admin Wrote: Check this: https://kb.logicmachine.net/libraries/zigbee/#get-device-attribute
For Voltage/Current/Power the formula is value * Multiplier / Divisor. In most cases multiplier and divisor are fixed values.

Thank you. I've tried:


Code:
local res, err = zb.cmd('getnamedattribute', address, 'SeMetering', 'CurrentSummDelivered')


But the result from that is: 

Code:
string: 21024-1


Which is not very useful to convert to integer. I've also tried other combinations to get current temperature, temperature setpoint and so on, but I get the same formatted string as a result every time. err is always nil.


RE: Zigbee gateway integration - Andi2010 - 20.12.2025

he Zigbee gateway does not work after a network outage and shows an error message: 
lua: /tmp/tmp.mtkFYYoRG4/files/store/daemon/zigbee/lib/ctx.lua:191: ...tmp.mtkFYYoRG4/files/store/daemon/zigbee/zigbee/core.lua:979: ZB: could not start coordinator
stack traceback:
[C]: in function 'error'
/tmp/tmp.mtkFYYoRG4/files/store/daemon/zigbee/lib/ctx.lua:191: in function 'task_resume'
/tmp/tmp.mtkFYYoRG4/files/store/daemon/zigbee/lib/ctx.lua:204: in function 'callback'
/tmp/tmp.mtkFYYoRG4/files/store/daemon/zigbee/lib/ctx.lua:158: in function 'task_timer_run'
/tmp/tmp.mtkFYYoRG4/files/store/daemon/zigbee/lib/ctx.lua:39: in function 'run'
/tmp/tmp.mtkFYYoRG4/files/store/daemon/zigbee/app.lua:493: in main chunk
[C]: at 0x00014afc


RE: Zigbee gateway integration - Daniel - 22.12.2025

Try rebooting LM. If this will not help try powering down all zigbee routers(all mains powered devices) and reboot again.
What are the LEDs says?