LogicMachine Forum
CANx DALI Gateway randomly freezing / hanging — "device not found" on LogicMachine - Printable Version

+- LogicMachine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: CANx (https://forum.logicmachine.net/forumdisplay.php?fid=23)
+--- Thread: CANx DALI Gateway randomly freezing / hanging — "device not found" on LogicMachine (/showthread.php?tid=6361)



CANx DALI Gateway randomly freezing / hanging — "device not found" on LogicMachine - codehex - 23.03.2026

Hi,

We are running LogicMachine (LM1 + LM2 redundant setup) with multiple (we have 5) CANx DALI gateways (CAN-DALI-M3) in a hotel automation project. Since our on-site configuration session on March 20th, we have been experiencing intermittent issues with the CANx DALI GWs (Experienced 2 issues).

Environment
  • LogicMachine ×2 (for redundant)
  • CANx DALI Gateway (we believe ESP32-based)
  • Multiple rooms assigned per CANx DALI Gateway
  • Approximately 30 DALI drivers are assigned to a single DALI gateway
  • Use WAGO 787-2857 for DALI external 18V supply
  • Every 15 minutes, a querystatus command is sent as a batch via sendcmds to all DALI drivers assigned to each gateway

Code:
[KNX BUS]

KNX-red   ------------------+---- LM1 KNX+
                            |
                            +---- LM2 KNX+

KNX-black ------------------+---- LM1 KNX-
                            |
                            +---- LM2 KNX-


[CANx BUS]
CAN-white  / CAN L -------+---- LM1 CANL
                          +---- LM2 CANL
                          +---- DGW1 CANL
                          +---- DGW2 CANL
                          +---- DGW3 CANL
                          +---- DGW4 CANL
                          +---- DGW5 CANL

CAN-yellow / CAN H -------+---- LM1 CANN
                          +---- LM2 CANN
                          +---- DGW1 CANN
                          +---- DGW2 CANN
                          +---- DGW3 CANN
                          +---- DGW4 CANN
                          +---- DGW5 CANN

[DALI]
DGW1 DALI+ / DALI-  ----------------> DA-01
DGW2 DALI+ / DALI-  ----------------> DA-02
DGW3 DALI+ / DALI-  ----------------> DA-03
DGW4 DALI+ / DALI-  ----------------> DA-04
DGW5 DALI+ / DALI-  ----------------> DA-05


Symptoms
  1. The CANx DALI GW randomly enters a hung/frozen state. The green LED stays lit solid, but LogicMachine CANx's device scan cannot find the GW ("device not found").
  2. When the GW hangs, lighting scenes and dimming commands from LM scripts stop working entirely. The DALI lights remain on at their last state but cannot be controlled.
Suspected causes
  • Excessive signals on the DALI BUS causing the GW to hang
  • The ESP32 hanging under load
  • We have confirmed that event scripts on one of the two LMs that call arc or gotoscene are disabled, so duplicate commands from the dual-LM setup are not the cause.

Questions
  1. Is there a known issue with the CANx DALI GW freezing under heavy DALI BUS traffic?
  2. Is there a safe way to remotely reboot the GW without physically accessing the panel?
  3. Are there any watchdog or auto-recovery settings we can configure on the GW?
  4. Is there a recommended way to monitor the GW or CANx status (ping, heartbeat, etc.) so we can detect hangs automatically?

Any advice would be greatly appreciated. Thank you!


RE: CANx DALI Gateway randomly freezing / hanging — "device not found" on LogicMachine - admin - 23.03.2026

1. Please send the full product code of one of the gateways. It's written on the side label.
2. Check the gateway firmware version. Go to CANx app monitor. Set Command type = Device, Command = DeviceExtInfoRead, change device address as needed. Post what you get in the DeviceExtInfoResponse message Data field.