Page 1 of 1

Running Z-Wave Serial API over TCP

Posted: 10 Jul 2019 00:52
by PoltoS
Do you know that you can run Z-Way on one machine and plug the UZB/RaZberry on another one? Well, this is not the target usage - this introduces delays that might be critical, but in some cases you might want to check this solution.

To use this follow three steps:
  • On the machine where Z-Way is running run the following command in terminal:

    Code: Select all

    socat -d -d -d UNIX-LISTEN:/tmp/zway,reuseaddr,fork TCP:
    (change the address to the IP of the machine where the UZB or RaZberry is)
  • On the machine where the UZB or RaZberry is execute:

    Code: Select all

    socat -d -d -d TCP-LISTEN:8088,reuseaddr,fork FILE:/dev/ttyACM0,nonblock
    (change ACM0 for UZB and AMA0 for RaZberry)
  • Go in Management->Apps->Active->Z-Wave->change the port /dev/ttyACM0 or /dev/ttyAMA0 to unix:/tmp/zway.