select * from data where sn='thermostat0' and pq='relay' order by id desc limit 4
idsntspqvaluesystemts
85245084 thermostat0 relay 0 1792098583 Thu 15 10 2026 23:09:43
85245080 thermostat0 relay 0 1792098562 Thu 15 10 2026 23:09:22
85245076 thermostat0 relay 0 1792098542 Thu 15 10 2026 23:09:02
85245071 thermostat0 relay 0 1792098521 Thu 15 10 2026 23:08:41

Thu Oct 15 23:09:50 2026 by walley