select * from data where sn='thermostat0' order by id desc limit 4
idsntspqvaluesystemts
85720694 thermostat0 tin 20.25 1794568201 Fri 13 11 2026 12:10:01
85720693 thermostat0 relay 1 1794568201 Fri 13 11 2026 12:10:01
85720692 thermostat0 ip 192.168.2.95 1794568201 Fri 13 11 2026 12:10:01
85720691 thermostat0 tout 20.00 1794568201 Fri 13 11 2026 12:10:01

Fri Nov 13 12:10:15 2026 by walley