select * from data where sn='thermostat0' and pq='ip' order by id desc limit 4
idsntspqvaluesystemts
85244066 thermostat0 ip 192.168.2.82 1792093504 Thu 15 10 2026 21:45:04
85244058 thermostat0 ip 192.168.2.82 1792093483 Thu 15 10 2026 21:44:43
85244052 thermostat0 ip 192.168.2.82 1792093462 Thu 15 10 2026 21:44:22
85244048 thermostat0 ip 192.168.2.82 1792093442 Thu 15 10 2026 21:44:02

Thu Oct 15 21:45:14 2026 by walley