select * from data where sn='thermostat0' order by id desc limit 4
idsntspqvaluesystemts
78249796 thermostat0 ip 192.168.2.55 1752885153 Sat 19 07 2025 02:32:33
78249795 thermostat0 relay 0 1752885153 Sat 19 07 2025 02:32:33
78249794 thermostat0 tin 24.31 1752885153 Sat 19 07 2025 02:32:33
78249793 thermostat0 tout 20.69 1752885153 Sat 19 07 2025 02:32:33

Sat Jul 19 02:32:48 2025 by walley