select * from data where sn='thermostat0' and pq='relay' order by id desc limit 4
idsntspqvaluesystemts
78044703 thermostat0 relay 0 1751837814 Sun 06 07 2025 23:36:54
78044696 thermostat0 relay 0 1751837794 Sun 06 07 2025 23:36:34
78044692 thermostat0 relay 0 1751837773 Sun 06 07 2025 23:36:13
78044688 thermostat0 relay 0 1751837752 Sun 06 07 2025 23:35:52

Sun Jul 6 23:37:12 2025 by walley