Driver max length of parameters: text | json_object

Looking at this I see you're writing a driver for Sonoff RF Bridge with Tasmota + Portisch. If you're in need I did write a method in Groovy to convert from B1 to B0. There's also other things which may be of interest to you here: