more G-Labs products

Author Topic: R345 SCHEDULED ON/OFF not working after reboot  (Read 1421 times)

March 09, 2014, 11:43:27 AM
Read 1421 times

Jens

  • *****
  • Information
  • Global Moderator
  • Posts: 211
Hi Gene,

the new scheduler is not reboot safe, sometimes the problem happens even w/o reboot.

Within automation/scenes the scheduled on off is after reboot/just suddenly dark red or bright red.

Errors listed are



Errors:
1. Object reference not set to an instance of an object
2. at HomeGenie.Automation.Scripting.ModulesManager.get_IsOn () [0x00000] in :0
3. at HomeGenie.Automation.Scripting.ModulesManager.get_IsOff () [0x00000] in :0
4. at HomeGenie.Automation.Scripting.ScriptingInstance.m__0 (HomeGenie.Automation.Scripting.ModuleHelper module) [0x00000] in :0
5. at HomeGenie.Automation.Scripting.ModulesManager.Each (System.Func`2 callback) [0x00000] in :0
6. at HomeGenie.Automation.Scripting.ScriptingInstance.RunScript (System.String PROGRAM_OPTIONS_STRING) [0x00000] in :0
7. at HomeGenie.Automation.Scripting.ScriptingInstance.Run (System.String PROGRAM_OPTIONS_STRING) [0x00000] in :0
Program disabled, fix errors first.


The program has to be re-compiled and runs after that for a while. For sure it stops working after reboot.

Within the log file I found this, maybe it is related to the problem

2014-03-09T13:42:39.1770490+01:00   HomeAutomation.HomeGenie   _modules_refresh_misc()   Object reference not set to an instance of an object   Exception.StackTrace     at HomeGenie.Service.HomeGenieService._modules_refresh_misc () [0x00000] in <filename unknown>:0

This is the only Program having this issue.

Thanks

Cheers
Jens
« Last Edit: March 09, 2014, 01:51:17 PM by Jens »

March 09, 2014, 02:22:33 PM
Reply #1

Jens

  • *****
  • Information
  • Global Moderator
  • Posts: 211
Hi Gene,

I think I found the root cause

- I use the HUE System with 6 lights.
- The first 3 always have their status
- The second 3 have at first (and after reboot) no status

Removing the Dimmer within the scheduler trigger code or turning the second 3 hue lights on/off before starting the scheduler stops the scheduler from crashing

Can you please have a look, it took me already some hrs ;-)

Thanks
Jens