Check communication allowed in json commands
Some commands trigger communication with the charging station, check if communication is allowed.