Hmmm… OK. so I think that removes 50% of the socat/ser2net solution in that nothing is needed on the OH2 side now. Does this allow the binding to recover without a restart if the binding looses access to the rfc port?
No - as stated above - if you disconnect the port, then the binding needs to be restarted. It’s not an insignificant change to the binding to change this.
OK. So what does converting to the RFC actually do?
My hope and wish, was an ability to have the binding not be restarted when loss of the TCP/USB port. Sounds like this DOES allow a native connection via TCP to the Stick on another machine, so thats a big step forward.
It allows the system to use an IP connection rather than a serial port.
That’s exactly what is implemented here - yes.
Ill test it out when its available in the snapshot, or is it already?
No - it’s not available. Please refer to the PR I posted above. At the moment, I’ve tested it on my machine, but I’m not 100% sure if this feature has been ported over from ESH so I’m trying to clarify that (as you should see in the PR).
I was about to ask if the Z/IP ZIPR IP to Z-Wave RF bridge might work with a RFC2217 redirected port without further development, but after a quick bit of searching it looks unlikely as RFC2217 adds encapsulation for all serial signals (e.g. RTS, RI…), not just TX/RX as raw TCP would.
Personally, I’m happy using a RPi2b with a RaZberry directly connected, but there could be use cases that a remote server and local radio could be useful.
It’s a standard to control Ethernet to Serial ports, such as to allow control of a serial device remotely via Ethernet rather than a very long serial cable.
What’s a Z/IP ZIPR?
A couple of years ago, Sigma Designs released a Z/IP ZIPR Ethernet to Z-Wave radio bridge which apparently was deployed in large hotels to manage Z-Wave devices in each room.
Basically, instead of one server per room, there is one IP to Z-Wave bridge.
No - it is a completely different beast and it operates in a completely different way to the current serial API.
This looks amazing! Vegas hotel with 68,000 nodes!! Jaw drop
Having Controller with a Ethernet plug instead of USB adds so many possibilities. Being PoE powered, even better!
There are other such systems around, although not using ZWave -:
I am just testing openHab and using this release of zwave. I am having a bit of an issue with the z-wave start. Is it normal for it to take an age at start? I only have 30 nodes just now and it is taking an age to sort out at start up.
Cheers for any advice.
What do you mean by sort out? There may be ~15-30 minutes of reduced performance with 30 devices. It takes an hour or two before performance is back to normal for 125 devices.
Thanks Scott that confirms that it is normal. I am just getting used to the difference from what I am used to. 3 to 4 mins for 150 nodes to get back up and running providing the network was all good.
So a restart with 150 nodes is going to be a couple of hours to come back to normal but it does soldier through which is good news.
I think I will avoid restarts from now on and leave it running.
It is the only thing I am not enjoying. Everything else is working well. Very good job.
@chris: How can I put the String for a remote rfc2217 port for the Z-Wave-Binding?
I am using Snapshot 1557 for testing on Windows. I tried Habmin and PaperUI but both only accept COM-Ports which are members of the dropdownlist in the UI (only the physical local Com Ports are listed). So I tested to do a file based thing configuration for the stick like this:
Bridge zwave:serial_zstick:controller "ZWave Controller" [ port="rfc2217://192.168.178.21:7000", controller_softreset="false", controller_master="true", heal_enable="true", security_networkkey="11 22 33 44 55 66 77 88 99 AA BB CC DD EE FF 00" ]
However the controller remains offline and only shows up in Habmin with an error
What am I doing wrong?
At the moment this is not merged (please check the PR I posted above). The CI is currently failing and I’m not sure if these classes have been migrated from ESH.
It compiles locally on my system, but not under CI so until that’s resolved I can’t merge.
Ok, sorry I thought it was merged already.