input str:

preg_replaced :
Array ( )

publish to topic /room//controls//on value
Publish to broker
Attempting to connect to broker