Hi,
yesterday I ran the OpenHAB update from 2.2 to 2.3.
Unfortunately, I now have problems with the serial binding, which controls my light control in the house.
Since the update, a ‘)’ is sent to the OFF command, for example:
Switch L_KG_Flur "Flur Keller" <light> (gIndoorLight) { serial="/dev/ttyIOBox1@115200,ON(!;36;1\n),OFF(!;36;2\n)" }
If i run
smarthome:send L_KG_Flur ON
smarthome:send L_KG_Flur OFF
I get the following logfile entries (linefeed removed):
2018-08-03 08:23:07.529 [DEBUG] [binding.serial.internal.SerialDevice] - Writing '!;36;1' to serial port /dev/ttyIOBox1
2018-08-03 08:23:12.837 [DEBUG] [binding.serial.internal.SerialDevice] - Writing '!;36;2)' to serial port /dev/ttyIOBox1
if i remove the ‘)’ from the item it works as expected:
{ serial="/dev/ttyIOBox1@115200,ON(!;36;1\n),OFF(!;36;2\n" }
maybe someone has an idea why the ‘)’ since the update is sent?
Thanks