I Added this to the /etc/init.d/homegenie
PATH=/usr/local/bin/homegenie/lib/mig
and now the error is for : CameraCaptureV4L.so
2016-01-11 21:15:21.5602 Info WebServiceGateway 192.168.0.28 HTTP GET 200 /api/MIGService.Interfaces/Media.CameraInput/IsEnabled.Set/1// [CLOSED AFTER 0,006 seconds]
at MIG.Gateways.WebServiceGateway.OnPreProcessRequest (MIG.MigClientRequest request) [0x00000] in <filename unknown>:0
at MIG.MigService.Gateway_PreProcessRequest (System.Object sender, MIG.ProcessRequestEventArgs args) [0x00000] in <filename unknown>:0
at MIG.MigService.EnableInterface (System.String domain) [0x00000] in <filename unknown>:0
at MIG.Interfaces.Media.CameraInput.Connect () [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) MIG.Interfaces.Media.CameraInput/CameraCaptureV4LInterop:OpenCameraStream (string,uint,uint,uint)
at MIG.Gateways.WebServiceGateway.Worker (System.Object state) [0x00000] in <filename unknown>:0 System.DllNotFoundException: CameraCaptureV4L.so