HomeGenie Forum
General Category => Troubleshooting and Support => Topic started by: gbremmer on July 19, 2016, 04:28:32 PM
-
Hi Gene,
I really like the Mirage. Would like to use it to enable / disable my alarm system.
I've build the application and run it under Windows, but somehow I cannot control the latest version of the Alarm system. Does it need an update?
-
I can't run the application on the Raspberry. I've downloaded the latest version, but I get the following error:
Unhandled Exception:
System.IO.FileNotFoundException: Could not load file or assembly 'HgClientLib, Version=1.0.6044.27497, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
File name: 'HgClientLib, Version=1.0.6044.27497, Culture=neutral, PublicKeyToken=null'
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'HgClientLib, Version=1.0.6044.27497, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
File name: 'HgClientLib, Version=1.0.6044.27497, Culture=neutral, PublicKeyToken=null'
Now i'm trying to update mono and see if that helps:
https://neildanson.wordpress.com/2013/12/10/building-mono-on-a-raspberry-pi-hard-float/ (https://neildanson.wordpress.com/2013/12/10/building-mono-on-a-raspberry-pi-hard-float/)
-
Dear, did anybody got this working? Do you need to build the application with a specific version?
It's not working and I don't know what i'm doing wrong.
-
Got it working.
You need to download Microsoft Visual Studio.
Edit the following file:
HgSmartControl/Program.cs
and set the right IP. The file in the manual is incorrect.
Open the project and click on Build > Build Solution.
Copy the files to the raspberry in to the following folder
/home/pi/Homegenie
After that adjust the rasp-config that it boots in Console.
then do the following on the console:
sudo nano /etc/rc.local
put these commands in the /etc/rc.local file:
export DISPLAY=:0
X -nocursor -s 0 -dpms&
mono /home/pi/Homegenie/HgSmartControl.exe
The only thing that doesn't work are the icons and I cannot change / open Security Alarm. Perhaps the source code is a bit outdated and doesn't work with the latest version.
-
Is there somebody else who uses Mirage? Could somebody update the code so it will work with the latest version?