select * from data where sn='thermostat0' and pq='tout' order by id desc limit 4
idsntspqvaluesystemts
25682895 thermostat0 tout 17.44 1568649607 Mon 16 09 2019 18:00:07
25682853 thermostat0 tout 17.44 1568649503 Mon 16 09 2019 17:58:23
25682833 thermostat0 tout 17.44 1568649467 Mon 16 09 2019 17:57:47
25682825 thermostat0 tout 17.44 1568649431 Mon 16 09 2019 17:57:11

Mon Sep 16 18:00:56 2019 by walley