Closed Bounz closed 9 years ago
ok, append this note in the Mac section of the README.md file. Didn't even know if the Mac solution was going to work since I cannot test. Thanks!
Created a pull request https://github.com/genielabs/HomeGenie/pull/68. Btw, I'm using Linux solution on Mac =)
Can you try make it work with Mac solution? I think there's some extras for Mac contributed by some user in the past.
I'm using Linux solution as I'm deploying to Raspberry Pi. I'll look into Mac solution, it seems there is a Mac app inside.
ok thanks, so if that app is not of any use we can remove it.
Well, I've fixed Mac solution. Now it's possible to build it in Xamarin Studio under Mac (https://github.com/Bounz/HomeGenie/commit/0f9625b7e5e65080213e203eed20c59bd81165de). The Mac app itself isn't useful for me as my Z-Wave controller resides on Raspberry Pi. I can't test it, but it works: there is icon it "taskbar", I'm able to open HG website from the app's menu.
Hi, Genie. When I tried to debug HG on PRi from my Mac with Xamarin Studio/MonoDevelop for the first time, it was a non-trivial thing. So I suggest to add the following information in Readme.md file.
To debug mono remotely we have to start HG from the console using _startupdebug.sh provided in pull-request https://github.com/genielabs/HomeGenie/pull/62. Before using _startupdebug.sh it is needed to replace the IP on lines 13 and 16 from 10.0.1.10 to the actual IP address of Raspberry Pi.
After that we have to start Xamarin Studio from Terminal with one environment variable defined:
To start debugging we have to connect to our mono debugger that runs on RPi using Run > Run With > Custom Command Mono Soft Debugger menu option. It will open a prompt window where we should enter the IP address of RPi in IP field and 10000 in Port field. After that click Connect and debug will start.