annotate web/test.py @ 365:d31a6550d264

- add some atomic guards - get rid of avrtemp
author Matt Johnston <matt@ucc.asn.au>
date Mon, 25 Jun 2012 22:06:03 +0800
parents 1e22eaf93620
children ca08442635ca
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
335
1e22eaf93620 work on web interface
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1 #!/usr/bin/env python
1e22eaf93620 work on web interface
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
2 import log
1e22eaf93620 work on web interface
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
3 import time
1e22eaf93620 work on web interface
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
4
1e22eaf93620 work on web interface
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
5 log.sensor_update("test1", [22,22,22.1,22.4,22.5], time.time() - 10, 300)