From: Stephen S. <st...@sw...> - 2013-09-24 03:59:53
|
Hi guys! I'm currently running krkeegan's fork of misterhouse, as that's the only one I could get working with my thermostat. However, I'm having lots of weird syncing issues, and I'm wondering if I'm just on the wrong version of MH. So first, I'd like to see what I can do with the thermostat, since it's quite central in my user code. I switched to hollie's master branch, and started MH: 09/23/13 11:03:03 PM: Can't locate object method "new" via package "Insteon_Thermostat::SUPER" at /opt/misterhouse/fork_hollie/bin/../lib/Insteon_Thermostat.pm line 110. at mh line 31 main::__ANON__('Can\'t locate object method "new" via package "Insteon_Thermo...') called at /opt/misterhouse/fork_hollie/bin/../lib/Insteon_Thermostat.pm line 110 Insteon_Thermostat::new('Insteon_Thermostat', 'Insteon_PLM=HASH(0x40688f0)', '1D.6E.DC') called at (eval 787) line 417 Line 412: $md_porch_light = new Insteon::LampLinc('20.00.66',); Line 413: $s_front_porch_light = new Insteon::InterfaceController('00.00.00:80', ); Line 414: $All_Lights -> add($s_front_porch_light); Line 415: $Outside = new Group; Line 416: $Outside -> add($s_front_porch_light); Line 417: $thermostat = new Insteon_Thermostat($PLM, '1D.6E.DC', ); Line 418: $HVAC = new Group; Line 419: $HVAC -> add($thermostat); Line 420: $thermostat_heating = new Insteon_Thermostat($PLM, '1D.6E.DC:02', ); Line 421: $HVAC -> add($thermostat_heating); Line 422: $thermostat_high_humid = new Insteon_Thermostat($PLM, '1D.6E.DC:03', ); mh rc=1 mh exited normally Then I adjusted the Insteon thermostat files, and read_table_A according to a commit that I saw which moved the termostat.pm into the insteon directory: root@avalanche:/opt/misterhouse/mh# git status # On branch master # Changes to be committed: # (use "git reset HEAD <file>..." to unstage) # # renamed: lib/Insteon_Thermostat.pm -> lib/Insteon/Thermostat.pm # # Changes not staged for commit: # (use "git add <file>..." to update what will be committed) # (use "git checkout -- <file>..." to discard changes in working directory) # # modified: lib/read_table_A.pl # Then ran MH again: Error in &read_table_A: Can't locate Insteon::Thermostat in @INC (@INC contains: /opt/misterhouse/code ./../code/common /opt/misterhouse/fork_hollie/bin/../lib /opt/misterhouse/fork_hollie/bin/../lib/site . /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /opt/misterhouse/fork_hollie/bin/../lib/read_table_A.pl line 165, <TABLE_IN> line 452. at mh line 31 main::__ANON__('Can\'t locate Insteon::Thermostat in @INC (@INC contains: /op...') called at /opt/misterhouse/fork_hollie/bin/../lib/read_table_A.pl line 165 main::read_table_A('INSTEON_THERMOSTAT, 1D.6E.DC, thermostat, HVAC, PLM') called at (eval 763) line 1 eval '&read_table_A($_) ;' called at mh line 4774 main::read_table_files() called at mh line 4556 main::read_code called at mh line 6696 Just above you can see how it's defined in my mht file. What is the newest fork/branch I should be using to make this work, and maybe even clear up my object scan and ALDB sync issues? Here's a snippet into this issue: 09/23/13 10:36:00 PM [Sync all links] Now syncing: $md_garage_light (7 of 117) 09/23/13 10:36:00 PM [Insteon::BaseController] Nothing to do when syncing links for $md_garage_light 09/23/13 10:36:00 PM [Sync all links] Now syncing: $kpl_kit1_main (8 of 117) 09/23/13 10:36:00 PM [Insteon::BaseController] Nothing to do when syncing links for $kpl_kit1_main 09/23/13 10:36:00 PM [Sync all links] Now syncing: $kpl_kit1_a (9 of 117) 09/23/13 10:36:00 PM [Insteon::BaseController] DEBUG4: queuing add for controller record to $kpl_kit1_main for $fl_kitchen_light with group:03 09/23/13 10:36:10 PM Motion sensed in Kitchen. Setting timer to 2 minutes. 09/23/13 10:36:10 PM Setting motion_obj_main to on 09/23/13 10:36:10 PM Main floor motion started 09/23/13 10:36:10 PM motion_obj_all eq ON? on 09/23/13 10:36:10 PM House motion started 09/23/13 10:36:25 PM Motion sensed in Kitchen. 09/23/13 10:36:28 PM Motion sensed in Mudroom. Setting timer to 2 minutes. 09/23/13 10:37:00 PM: Saving object states ... done 09/23/13 10:37:00 PM Might need to go to mute mode. Checking motion timers on main floor: on 09/23/13 10:37:25 PM Motion sensed in Mudroom. 09/23/13 10:37:27 PM Motion sensed in Kitchen. 09/23/13 10:38:00 PM: Saving object states ... done It starts to scan a device, and stops. Or (like above) starts to queue, then stops, and never processes the queue. I'm all ears here. Thank you!! |