From: Robin E. <ro...@ji...> - 2009-03-18 18:45:41
|
First, thanks for last response David. I've turned off debug on serialport.pm and now tried to uncomment my weather station related lines in mh.ini. It now looks like this.... rrd_dir=$config_parms{data_dir}/rrd weather_data_csv=$config_parms{data_dir}/rrd/metar_hist.csv weather_data_rrd=$config_parms{data_dir}/rrd/metar.rrd weather_graph_dir=$config_parms{data_dir}/rrd weather_graph_footer=Last updated $Time_Date weather_uom_baro=mm weather_uom_rain=mm weather_uom_rainrate=mm/hr weather_uom_temp=C #serial_wmr968_port=/dev/ttyS0 serial_wmr968_baudrate=9600 serial_wmr968_handshake=dtr serial_wmr968_datatype=raw #serial_wmr968_module=Weather_wmr968 If I uncomment the two lines above that are commented out misterhouse fails just after startup with the following message in mh.log Undefined subroutine &Weather_wmr968::convert_local_barom_to_sea_mb called at /usr/local/mh/bin/../lib/Weather_wmr968.pm line 423. looking at my version of Weather_wmr968.pm in /lib here is the offending line: $$wptr{BaromSea} = convert_local_barom_to_sea_mb($$wptr{Barom}); I've checked back to my old version (Suse 10.2 based) and as far as I can see everything seems the same. Could anyone suggest what the above problem is please? regards, robin |