I was trying this some time ago without success - now I gave it another try still without success that kinds of frustrates me…
I see this binding working for others here in the community that use adapters or direct serial connection so it should work with an ESP as serial connector as well. I’m using socat to define a serial port ttyS2 for the Comfoair Binding to connect to and I permanently get the same error message from the binding when its started:
2017-06-15 14:47:43.080 [ERROR] [ng.comfoair.internal.ComfoAirBinding] - Serial port '/dev/ttyS2' could not be found. Available ports are: /dev/ttyS0 /dev/ttyAMA0
Now the serial problem has been around for quiet some time here, so I found to update my etc/default/openhab2 file with the ttyS2 serial port (I’m also using a Razberry board):
The ttyS2 was added to the dialout group as well and serial port definition for ttyS2 looks the same as for ttyS0 and ttyAMA0 that are recognized by the binding (there is currently no ACM0 or USB0 defined):
lrwxrwxrwx 1 root dialout 10 Jun 15 14:47 /dev/ttyS2 -> /dev/pts/0
I run openhabian snapshot #928 on an RPI3 and I really would appreciate your thoughts here. I am clearly missing something here.
Why are the other 2 dev/ttyS0 and dev/ttyAMA0 recognized by the binding and dev/ttyS2 is not?