more G-Labs products

Author Topic: Program runs on Rasp Pi but not on ODroid  (Read 974 times)

March 21, 2015, 12:03:08 AM
Read 974 times

jpscuba

  • **
  • Information
  • Jr. Member
  • Posts: 25
I backed up my programs that are running on my Rasp Pi with release r443 and restored them on my ODroid with release r482.  The python programs which use hard coded time such as:
  Trigger:
        if hg.Scheduler.IsScheduling("0 23 * * *"):
          hg.SetConditionTrue()
        else:
          hg.SetConditionFalse()

        time.sleep(20)

Work as expected but the python code that uses one of the apps for data such as:

    Trigger:
        if hg.Scheduler.WithName('jkUtils.SolarAltitude.Morning.Sunrise.Start').IsScheduling():
          hg.SetConditionTrue()
        else:
          hg.SetConditionFalse()

        time.sleep(20)

Throws a Runtime.Error in the log files.  Did the interface to the apps change or did the scheduler change in the newer version of HG?  I am not sure why this trigger does not run on the ODroid.

Any ideas?

     Joe

March 26, 2015, 02:16:32 AM
Reply #1

jpscuba

  • **
  • Information
  • Jr. Member
  • Posts: 25
No ideas?  Is python not supported as well as the other languages?