Экспорт данных из БД - это таблица trends или trends_uint:
SELECT AVG(value_avg) as avg,MIN(value_min) AS min,MAX(value_max) AS max, DATE_FORMAT(FROM_UNIXTIME(clock), '%Y-%m-%d') AS clock FROM trends WHERE itemid='34819' GROUP BY DATE_FORMAT(FROM_UNIXTIME(clock), '%Y-%m-%d');
SELECT AVG(value_avg) as avg,MIN(value_min) AS min,MAX(value_max) AS
(
Read more... )