more G-Labs products

Author Topic: Homegenie will not start  (Read 716 times)

March 29, 2015, 06:33:21 PM
Read 716 times

lastbit

  • *
  • Information
  • Newbie
  • Posts: 9
Homegenie dies upon startup. Any ideas before I start the debug process.
=====================================================
root@raspberrypi:/# /etc/init.d/homegenie status
[ ok ] homegenie not running.
root@raspberrypi:/# sudo mono /usr/local/bin/homegenie/HomeGenie.exe > log.txt &
[1] 6073
root@raspberrypi:/# [ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentOutOfRangeException: Cannot exceed length of string.
Parameter name: startIndex
  at System.String.Substring (Int32 startIndex, Int32 length) [0x00000] in <filename unknown>:0
  at HomeGenie.Automation.Scripting.ScriptingInstance+<RunCode>c__AnonStorey0.<>m__1 (System.Byte[] message) [0x00000] in <filename unknown>:0
  at HomeGenie.Automation.Scripting.SerialPortHelper.serialPort_MessageReceived (System.Byte[] message) [0x00000] in <filename unknown>:0
  at SerialPortLib.SerialPortInput.ReceiveMessage (System.Object message) [0x00000] in <filename unknown>:0
  at SerialPortLib.SerialPortInput+<ReceiverLoop>c__AnonStorey1.<>m__0 () [0x00000] in <filename unknown>:0
  at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0

[1]+  Done                    sudo mono /usr/local/bin/homegenie/HomeGenie.exe > log.txt
root@raspberrypi:/#






March 29, 2015, 07:53:37 PM
Reply #1

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
Looks like something having to do with Serial communication, but I'm not sure.  My suggestion is to reset to default config and try again.  There is a zip file containing the default settings, so I believe you can simply extract that over top of your current install to get back to default.