more G-Labs products

Author Topic: Programs keep randomly disabling themselves  (Read 2912 times)

November 26, 2015, 08:48:34 PM
Reply #15

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
Maybe this is obvious, but after changing the settings in that dialog, you have to select update for them to be set.

November 27, 2015, 12:59:55 PM
Reply #16

jpscuba

  • **
  • Information
  • Jr. Member
  • Posts: 25
I checked that the scheduler on/off was running under programs.  I also checked the time zone on the Rasp Pi and verified by checking the time stamps in the HG log file.  Is there somewhere in HG that I need to set the time zone that I could not find?

When I made the schedule entry for the module I did use the update button.  I then exited the module edit screen and re-entered it to check that the save took correctly.

November 28, 2015, 05:32:26 PM
Reply #17

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
If you run the "date" command in Linux, it will output the system time:
Code: [Select]
pi@raspberrypi ~ $ date
Sat Nov 28 08:28:56 PST 2015
In HG, the log file will display a time stamp for all actions which should match your Linux time:
Code: [Select]
2015-11-28 08:30:06.2102 Info WebServiceGateway 192.168.0.5 HTTP GET 200 /hg/html/pages/control/widgets/jkUtils/SolarAltitude/images/Widget.Preferences.png [OPEN]Beyond that, you need to have the weather APP that provides the sunrise/sunset set to the correct location.  jkUtils utilizes a lat/long while WU and OpenWeatherMap use a city.

December 06, 2015, 01:30:14 PM
Reply #18

jpscuba

  • **
  • Information
  • Jr. Member
  • Posts: 25
bkenobi,
    I did log into the Ras Pi and run the date command.  I then checked the HG logs and saw that the time stamps for the log entries matched the current time on the Ras Pi as verified from the date command.  After checking that my time and time zone was correct I tried to use the scheduler for one of my light switches using a time value instead of a sunrise/sunset value.  I ensured that the scheduler was running and I also made sure that the schedule of the light switch was activated (check box) but it still does not turn on the light.

I was able to correct my light programs using the suggestions from Gene and those have been running great.