This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Zigbee gateway integration
(18.12.2025, 08:58)admin Wrote: Check this: https://kb.logicmachine.net/libraries/zi...-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.
Reply
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
Reply
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?
------------------------------
Ctrl+F5
Reply
(22.12.2025, 09:25)Daniel Wrote: 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?

Hi Daniel,

There is 1 LED on the ZigBee RS232, one red for power.
On the logicmachine there is one green LED flashing and one solid yellow LED for PoE.
I also noticed that inside the logicmachine housing on the RS232 ports side there is a red LED flashing at the same frequency. Restarted the device with no result
Andi
Reply
Did you perform the actions I described above?
------------------------------
Ctrl+F5
Reply
(23.12.2025, 08:53)Daniel Wrote: Did you perform the actions I described above?

Yes, Have I followed all the steps described?
Reply
Double check the cables but if still not ok contact us via email for replacement.
------------------------------
Ctrl+F5
Reply
Hi,

Do other people also experience problems and instable operation with the zigbee rs232 gateway the last couple of months?
More specific, showing a red dot in the zigbee app instead of the green dot - button 'network state: closed'
I experienced this 3 or 4 times now over the past couple of months and today again.
A reboot of the logicmachine doesn't help, only disconnecting the power input of the rs232 zigbee gateway and a logicmachine reboot solves the problem.

My first post in this thread about this dates from 17.12.2025, before that I never had any problems.
Apparently Andy2010 also experienced a similar problem reading his post from 20.12.2025


Apart from this I now have an enocean TMC310 usb gateway which doesn't show up anymore in the logicmachine. I first thought it was the enocean TMC310 usb which was broken but I tested it on my pc with dolphinview advanced and there it is detected and recieves telegrams from the other enocean devices, ensuring me there is nothing wrong with the enocean TMC310 usb device.
In this case, neither restarting the logic machine nor performing a rescan or refresh helps, making it inoperable for now.

Something to look into I guess.

Thanks in advance!
Reply
(02.02.2026, 20:47)tigi Wrote: Hi,

Do other people also experience problems and instable operation with the zigbee rs232 gateway the last couple of months?
More specific, showing a red dot in the zigbee app instead of the green dot - button 'network state: closed'
I experienced this 3 or 4 times now over the past couple of months and today again.
A reboot of the logicmachine doesn't help, only disconnecting the power input of the rs232 zigbee gateway and a logicmachine reboot solves the problem.

My first post in this thread about this dates from 17.12.2025, before that I never had any problems.
Apparently Andy2010 also experienced a similar problem reading his post from 20.12.2025


Apart from this I now have an enocean TMC310 usb gateway which doesn't show up anymore in the logicmachine. I first thought it was the enocean TMC310 usb which was broken but I tested it on my pc with dolphinview advanced and there it is detected and recieves telegrams from the other enocean devices, ensuring me there is nothing wrong with the enocean TMC310 usb device.
In this case, neither restarting the logic machine nor performing a rescan or refresh helps, making it inoperable for now.

Something to look into I guess.

Thanks in advance!

Update: Solved the EnOcean TMC310 USB gateway issue. I had a hunch this problem was unrelated to the Zigbee RS-232, so I suspected the USB hub, especially since only 2 out of 4 LEDs were lit. I plugged the EnOcean TMC310 into another port, and LogicMachine immediately detected the device.
Reply
What is your ZigBee gateway hardware version (check the sticker on the side)? Post what you have in the ZigBee app logs.
Reply


Forum Jump: