I just got my X4 devel kit and need a little help getting data from a ZB RS-485 Adapter from Digi.
I can see the wall router, sensor, USB devel board and run the various test scripts. I connected up the RS-485 adapter to my serial device and the X4 can see the adapter as a router. I have the serial configured correctly (9600 baud no parity, no flow control). – Where can I set the bits? as in 8N1?
The device is on a RS485 chain and I have a serial->Ethernet on that chain which sees the data just fine. The Digi adapter is last in the chain. I have the DIP switches 2-6 all on (pushed up) with 1 left down.
I have tried setting D7 to 7 or 6.
Should I be able to see the data coming in using the command:
set trace state=on
on the X4? I can see data for the light meters and temp sensors on the wall router and sensor adapter coming in fine.
D7=7 needs to be set on the 485 adapter for it to function properly. As far as setting 8N1, that’s already the default of the module within the adapter so unless you changed that parameter its probably not the cause of the issue. I’d recommend swapping the 485 wires (pins 1 and 2). Also, make sure GND is connected to Ground rather than left floating.
On this page of the wiki: http://www.digi.com/wiki/developer/index.php/Setting_Serial_Adapter_Baud_Rate
It says that the DD must be set to 0x0006 or it will come up as “Unspecified” and setting the baud rate and other serial params won’t work. My new RS-485 comes up as “Unspecified.” Do I need to fix that in X-CTU?
If I change the baud rate in the web interface on the X4, it seems to accept the change (ie the change is persistent).
I emailed tech support and they said that you have to have a Python script requesting the data or it is dropped. I was hoping the “set trace state=on mask:mesh:*” would show all the traffic, but I guess not.
Is there a simple Dia config to use the RS-485 and dump what is sent into a channel?