tschroedter / idasen-desk

Controlling the Ikea Idasen desk using Windows 10, C# and BluetoothLE
MIT License
28 stars 5 forks source link

How to use this one? #1

Closed zeroarst closed 3 years ago

zeroarst commented 3 years ago

I am using Windows 10, and I have tried other github repos but none work for me...is this one working for windows?

tschroedter commented 3 years ago

Hi, Yes, the code in this repo is based on Windows 10 and .Net Core 3.1. Let me know if you need more information.

zeroarst commented 3 years ago

How can I use it..? download the repo and open with IDE like visual studio? I am just wondering if this will be packed to an app?

tschroedter commented 3 years ago
  1. Correct, download the repo.
  2. Double click the Idasen-Desk.sln file to open. (This will open Microsoft Visual Studio)
  3. Build the solution by selecting Build->Build Solution.
  4. Click the greem Play button to start the console application.

Notes:

tschroedter commented 3 years ago

Just to let you know the latest repository contains a system tray application which allows you to control the desk. It's still an early version but the basic functionality works. Let me know if you are still interested and I can tell you how to run it.

zeroarst commented 3 years ago

@tschroedter Yes please. I installed Visual Studio 2019 and solved some problems, such as I need to install C# development. But finally got it working. I can only see a command line window pops up and many logs. image

Please shared with me how to get the application shows in the system tray.

tschroedter commented 3 years ago

Yes, you should see a little blue cup icon in the system tray area. Look at the README.md which is shown on the Github site: https://github.com/tschroedter/idasen-desk

The system tray application is not running If you can't see the blue cup icon in the system tray area.

Steps to get it running in VS 2019:

Let me know if this works.

PS: I'm currently looking to build an installer or provide access to a single .exe file.

tschroedter commented 3 years ago

Your last message just poped up. - I think it's running the console application by default which is just for testing.

You have to tell VS 2019 to run Idasen.SystemTray as described in my last comment.

Does it work?

zeroarst commented 3 years ago

Yes. It works now. It is really awesome!! Standing and Seating are working. Really nice. Thank you for the work! image

Do you know how to make it as an executable application so I can let it run when Windows starts up? Or maybe in the future you will provide an option to get it run on startup?

By the way, I just ran into an exception but I don't know how to reproduce it. Maybe I will keep playing with it to find out.

Again, thank you for the work!

tschroedter commented 3 years ago

In regards to single file exe:

In regards to running it on startup:

Hope set helps.

In regards to the exception, can you create a new issue and copy the logfile or exception into it. Thanks!

I'm pretty sure there are more issues because you are using the first version ever :)