 
     case start_trigger(uuid, rule.rule["when"]) do
       {:ok, trigger} ->
-        # Logger.debug("Got trigger #{inspect trigger}")
-
         {:ok, %{
           trigger: trigger,
           rule: rule,

            plugin_id: nil,
            stop_id: nil
          }}
      error -> error
    end
  end


      }

      params = Map.merge(w["params"], default_params)
      method = if trigger.start do
        trigger.start
      else
        Logger.warn("This trigger has no start #{inspect trigger.id}", rule_uuid: uuid)
        %{}
      end

      paramsdef = [%{ "name" => "id", "value" => uuid }] ++ Map.get(method, "params", [])
      method = Map.put( method, "params", paramsdef )
      # Logger.debug("Call #{inspect plugin_id}.#{inspect method["method"]}(#{inspect params})")
      case Serverboards.Plugin.Runner.call( plugin_id, method, params ) do
        {:ok, stop_id} ->
