Hate answering my own posts, but omnistat works fine, the issue was that by default it is set to HAI Omnipro rather then serial. 


><>
nathan stratton | vp technology | broadsoft, inc | +1-240-404-6580 | www.broadsoft.com


On Sun, Mar 30, 2014 at 3:25 PM, Nathan Stratton <nathan@robotics.net> wrote:

Anyone using HAI Omnistat with a resent version of misterhouse? Running into errors:

30/03/2014 03:19:05 PM   Omnistat: Resetting time
Error found in user code file: ./../local/data/mh_temp.user_code (error_count 1)

30/03/2014 03:19:05 PM: Can't call method "set_time" on an undefined value at (eval 416) line 3313.
 at mh line 31
main::__ANON__('Can\'t call method "set_time" on an undefined value at (eval ...') called at (eval 416) line 3313
main::omnistat_loopcode() called at (eval 416) line 3638
main::loop_code called at (eval 4583) line 1
Line 3308:          Omnistat::omnistat_log("$omniname[$omnistat] Omnistat: Resetting time");
Line 3309:          #$omnistat[$omnistat]->cooling_anticipator('10');
Line 3310:          #$omnistat[$omnistat]->heating_anticipator('10');
Line 3311:          #$omnistat[$omnistat]->cooling_cycle_time('8');
Line 3312:          #$omnistat[$omnistat]->heating_cycle_time('8');
Line 3313:          $omnistat[$omnistat]->set_time;
Line 3314:      }
Line 3315:  
Line 3316:      # update data once a minute, per omnistat offset seconds.
Line 3317:      if ($New_Second and $Second eq $omnioffset[$omnistat]) {
Line 3318:          # we make the extended group1 call that also retreives the stat's output status
Display call with tk disabled (-tk 0).  Text=Error found in user code file: ./../local/data/mh_temp.user_code (error_count 1)

30/03/2014 03:19:05 PM: Can't call method "set_time" on an undefined value at (eval 416) line 3313.
 at mh line 31
main::__ANON__('Can\'t call method "set_time" on an undefined value at (eval ...') called at (eval 416) line 3313
main::omnistat_loopcode() called at (eval 416) line 3638
main::loop_code called at (eval 4583) line 1
Line 3308:          Omnistat::omnistat_log("$omniname[$omnistat] Omnistat: Resetting time");
Line 3309:          #$omnistat[$omnistat]->cooling_anticipator('10');
Line 3310:          #$omnistat[$omnistat]->heating_anticipator('10');
Line 3311:          #$omnistat[$omnistat]->cooling_cycle_time('8');
Line 3312:          #$omnistat[$omnistat]->heating_cycle_time('8');
Line 3313:          $omnistat[$omnistat]->set_time;
Line 3314:      }
Line 3315:  
Line 3316:      # update data once a minute, per omnistat offset seconds.
Line 3317:      if ($New_Second and $Second eq $omnioffset[$omnistat]) {
Line 3318:          # we make the extended group1 call that also retreives the stat's output status
 0
normal: Error found in user code.  Check the error log.
30/03/2014 03:19:05 PM FUNCTION: set_volume_pre_hook
Socket_Item client start error:  could not start a tcp client socket
 - host=localhost port=1314: IO::Socket::INET: connect: Connection refused