Serial Binding for openHAB3 - can it do 1200 baud?

The documentation for the new serial binding states:
baudRate Set the baud rate. Valid values: 4800, 9600, 19200, 38400, 57600, 115200 (default 9600)

Is there any way to connect to a 1200 baud device? Why limit it to 4800? I have an alarm system that only does 1200 baud.

I answered my own question! I edited the thing code, typing in 1200 baud, and it appears to be working!

1 Like

OK, I just performed an update, and now I am unable to use 1200 baud. The thing status shows UNINITIALIZED and I get the message:

HANDLER_CONFIGURATION_PENDING

{baudRate=The value 1200 does not match allowed parameter options. Allowed options are: [ParameterOption [value=“4800”, label=“4800”], ParameterOption [value=“9600”, label=“9600”], ParameterOption [value=“19200”, label=“19200”], ParameterOption [value=“38400”, label=“38400”], ParameterOption [value=“57600”, label=“57600”], ParameterOption [value=“115200”, label=“115200”]]}

OK, again, fixed. I downloaded and installed the 3.4.0 snapshot jar of this binding. Copied to the addons folder, and rebooted. works now. The snapshot can be found here:

https://ci.openhab.org/job/openHAB-Addons/org.openhab.addons.bundles%24org.openhab.binding.serial/ws/target/