Yes that's what's happening.
Just tried this:
- change the value in the .conf file
- this is the output from cfgdebug.txt (after a refresh)
Code: Select all
alert {
pressurelow 1.2
roomcold 14
pressurehigh 2.4
}
connection {
device /dev/ttyAMA0
type tcp
port 6638
host 192.168.201.60
enable true
}
server {
relay false
enable true
port 7686
}
view {
tab graph
order increasing
sort name
bitflags false
}
======================================================================
alert,pressurehigh: 2.0
alert,pressurelow: 1.5
alert,roomcold: 14
clock,auto: true
clock,date: false
clock,year: false
The values are changed in the alert section but not in the values used by otmonitor (this is to be expected)
- restart otmonitor
- this is the output from cfgdebig.txt after a refresh
Code: Select all
alert {
pressurelow 1.5
roomcold 14
pressurehigh 2.0
}
connection {
device /dev/ttyAMA0
type tcp
port 6638
host 192.168.201.60
enable true
}
server {
relay false
enable true
port 7686
}
view {
tab graph
order increasing
sort name
bitflags false
}
======================================================================
alert,pressurehigh: 2.0
alert,pressurelow: 1.5
alert,roomcold: 14
clock,auto: true
clock,date: false
clock,year: false
The default values seems to be restored
Otmonitor reports version 4.3