some more changes
This commit is contained in:
parent
0f05715333
commit
c080889e1f
4
REAME.md
4
REAME.md
|
|
@ -163,6 +163,10 @@ beieli@beielipi:~ $ exit
|
|||
# systemctl enable beielimon
|
||||
# systemctl enable btmon
|
||||
# systemctl enable smsmon
|
||||
# systemctl disable hostapd
|
||||
# systemctl disable fakedns
|
||||
# systemctl disable dnsmasq
|
||||
|
||||
|
||||
/etc/fstab anpassen:
|
||||
tmpfs /home/beieli/bt-readings tmpfs nodev,nosuid,uid=1001,gid=2000,size=4M 0 0
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ class Scale(object):
|
|||
prefix = 'accu'
|
||||
datafilename = "%s/data/%s-%s-%s%s%s.log" % (APP_ROOT,prefix,self.scale_config['scale_uuid'],year,month,day)
|
||||
with open(datafilename, 'a') as file:
|
||||
file.write('%s,%.1f\n' % (timestamp,self.accu / 100.0))
|
||||
file.write('%s,%.2f\n' % (timestamp,self.accu / 100.0))
|
||||
|
||||
if self.hum != INVALID_VALUE and not(swarm_alarm):
|
||||
prefix = 'humidity'
|
||||
|
|
|
|||
Loading…
Reference in New Issue