anchor.diff:        {Json} = couchbeam_ejson:decode(Body),
         [{Result0}|_] = proplists:get_value(<<"results">>, Json),
         [{Serie0}|_] = proplists:get_value(<<"series">>, Result0),
  -      [[_Timestamp|Temps]] = proplists:get_value(<<"values">>, Serie0),
  -      Temps;
  +      [[_Timestamp|Values]] = proplists:get_value(<<"values">>, Serie0),
  +      {ok, Values};
       _ ->
         ErrMsg = list_to_binary(integer_to_list(StatusCode)),
         {error, <<"http:", ErrMsg/binary>>}
  
positive.code: doit(IrcBot, Channel) ->
    spawn(fun() ->
      Job1 = rpc:async_call(node(), ?MODULE, get_status, []),
      Job2 = rpc:async_call(node(), ?MODULE, get_temps, []),
  
      % TODO handle timeouts of yield and hackney errors
      Status = case rpc:yield(Job1) of
  
negative.code:       {error, <<"http:", ErrMsg/binary>>}
    end.
  
  influx_request(Values, Table) ->
    DbUrl = <<"https://db.softver.org.mk/influxdb/">>,
    Path = <<"query">>,
    Query = [{<<"db">>, <<"status">>},
      {<<"q">>, <<"SELECT ", Values/binary, " FROM ", Table/binary, " ORDER BY time DESC LIMIT 1">>}],
    Url = hackney_url:make_url(DbUrl, Path, Query),
    Options = [{recv_timeout, 5000}, {follow_redirect, true}],
    case hackney:request(get, Url, [], <<>>, Options) of
      {ok, StatusCode, _RespHeaders, Ref} ->
        influx_request_values(StatusCode, Ref);
      {error, Error} ->
        {error, atom_to_binary(Error, utf8)}
    end.
  
  influx_request_values(StatusCode, Ref) ->
    {ok, Body} = hackney:body(Ref),
    hackney:close(Ref),
    case StatusCode of
  