Re: [mh] Misterhouse time issue

Dean Junk <[email protected]>
Newsgroups gmane.comp.misc.misterhouse.user
Message-ID <DM6PR15MB34179DFDA2ADA7BDC07BB56BD1250@DM6PR15MB3417.namprd15.prod.outlook.com>
Figured it out after eliminating everything from my user directories and narrowed it down to my mht file. The following line is causing the issue:

X10A,  K6,     Sunup_Sunset,           Time,                                           PLM

The only user file I left contained one line -> print_log("*** Dean *** A new minute!") if new_minute;

Comment the line out and everything works as expected.

The other thing I saw when debugging this issue is that if you clean everything out of the data directory, the initial scan of insteon items is skipped.

On 12/27/19 6:17 PM, H Plato wrote:
That’s pretty weird, I don’t know what’s wrong, but have two suggestions,

 1.  Looking at the perl version, do you have perl 5.3? I wonder if it might be helpful to try a later version. I’m using 5.18

  2. The timestamp comes from handy_utilities.pl:sub main::time_date_stamp. It might be good to put in some debug print statements in there to see if the time that is being returned is being manipulated somehow.




On Dec 27, 2019, at 3:09 PM, Dean Junk <[email protected]<mailto:[email protected]>> wrote:

On all newer versions of Linux, I have hit an issue I can't figure out how to fix. I've been using misterhouse for about the last 10 years, so this is a bit of a mystery. When misterhouse starts up, everything looks good (no errors and code compiles). However, the time never changes. Below is a sample from my console (the highlighted is from my logging using localtime):

27/12/2019 03:48:44 PM [Insteon::BaseObject] Ignoring unsupported command from $thermostat
27/12/2019 03:48:44 PM *** mqtt zwave_controller check_for_data rcv'd: T:home/familyRoom/familyRoomMotion , M: off
27/12/2019 03:48:44 PM *** mqtt zwave_controller check_for_data rcv'd: S:Publish/at-most-once home/familyRoom/familyRoomMotion
  6f 66 66                                         off,
27/12/2019 03:48:44 PM *** mqtt mqtt_Item nom to MQTT to MH $Z_FamilyRoom_Motion::set(off, mqtt=HASH(0x556b5f4c8300))
27/12/2019 03:48:44 PM *** mqtt zwave_controller read_mqtt_msg Ping Request
27/12/2019 03:48:44 PM *** mqtt zwave_controller check_for_data Ping rcvd: PingResp/at-most-once
27/12/2019 03:48:44 PM 2019-12-27 15:50:46 - Garage timer expired!

I have attached more logging in a file to keep the email brief. The other issue is that since the time doesn't change, none of my cron time entries fire. Any help would be greatly appreciated!!

I have tried fresh install on the latest version of ubuntu, fedora, and manjaro (all the same results).

<mh.log>________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users

________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.