altima / openhabUWP

a Windows 10 client for openhab 1 and openhab 2
6 stars 1 forks source link

Little guidance needed #1

Open TheFitzZZ opened 8 years ago

TheFitzZZ commented 8 years ago

Hi @altima! Could you provide basic directions what I need to modify in the code to connect it to my openHAB 1.7 server, or is it 2.0 only? I can compile it successfully and have it deployed to an emulator (and locally) but it just sits at the blank main page.

I know this is a fairly early stage but if you have some spare minutes... I'm quite eager to take a look myself. :-)

Cheers Christoph

altima commented 8 years ago

Hi, sry for the delay, I was to busy last days... but of course and a happy new year to you ;)

I will commit in the next days a little update. With this update it does not matter which openhab version is used.The blank page was affected by the long polling client for receiving events from server. Will also be fixed with a commit in the next days.

regards Enno

altima commented 8 years ago

Hi again.... :)

here is the line there you can currently switch server ip:

https://github.com/altima/openhabUWP/blob/master/openhabUWP.UI/ViewModels/MainPageViewModel.cs#L166

please let me know when some truoble occur ;)

cheers

cniweb commented 8 years ago

Hi Enno,

you mean this line: https://github.com/altima/openhabUWP/blob/master/openhabUWP.UI/ViewModels/MainPageViewModel.cs#L223

Chris

altima commented 8 years ago

Hi, yes, its possible that I changed something on midnight without thinking about it or so ;) sry...