@@ -1197,3 +1197,16 @@ if $data00 != 0.000000000 then
...
@@ -1197,3 +1197,16 @@ if $data00 != 0.000000000 then
return -1
return -1
endi
endi
sql select derivative(aa,1m,0) from (select avg(voltage) as aa from smeters where ts>='2021-08-08 10:10:10.000' and ts < '2021-08-08 10:10:20.000' and current=10 interval(1000a));