Alarmdecoder Windows COM port

Tags: #<Tag:0x00007f616e72fcf0> #<Tag:0x00007f616e72fbd8>

Hello,

I’m having difficulty getting the Alarmdecoder binding to communicate with my AD2USB and Vista panel. The AD2USB is set up correctly and I can use it via the Alarmdecoder panel software. It is using COM5 on my windows machine.

However, when I try to set up the Alarmdecoder binding in OpenHAB I get the following error in my log:

[ERROR] [decoder.internal.AlarmDecoderBinding] - got no such port for COM5

What is the proper syntax for serial port configuration on a Windows setup?

Currently I have:

alarmdecoder:connect=serial@115200:COM5

Thanks

If I had to guess, just from looking at the code you provided, it looks like when you spell “COM5” you are actually using the number zero (0) instead of the capital letter O.

Did you ever get this working?

The problem arose when I moved my OpenHAB from a Raspberry Pi to a Windows PC. I checked the setup file and I’m pretty sure it’s an “oh” and not a “zero”.

My workaround was to use the AlarmDecoder Panel software and port the COM5 port to an unused IP port on the local address (127.0.0.1).