18.12.2025, 11:17 (This post was last modified: 18.12.2025, 11:17 by FatMax.)
(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.
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
(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
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.
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.
(05.02.2026, 06:51)admin Wrote: What is your ZigBee gateway hardware version (check the sticker on the side)? Post what you have in the ZigBee app logs.
These are the logs from the app. I have the same problem with the connection. ZIG2MV1122110047.
(05.02.2026, 06:51)admin Wrote: What is your ZigBee gateway hardware version (check the sticker on the side)? Post what you have in the ZigBee app logs.
When replacing the gateway make sure to turn off all powered ZigBee devices beforehand. Otherwise network won't be created. Some devices might need to be paired again.
(06.02.2026, 12:40)admin Wrote: See my post above, yours is also HW v1.1.
When replacing the gateway make sure to turn off all powered ZigBee devices beforehand. Otherwise network won't be created. Some devices might need to be paired again.