[APP][Pro] Desktop Device

Desktop Device

Please report any issues you encounter here.

This app provides a way to create connection between your desktop and Homey to do various things. For it to work you need to have both the Homey app and the desktop app installed.

https://homey.app/a/nl.jwienk.desktop-device
https://github.com/jeroenwienk/homey-desktop-device/releases/latest

Features

  • input events
  • button events
  • shortcuts events
  • set a display value
  • create a desktop notification
  • open an url in the desktop’s default manner
  • open a path in the desktop’s default manner
  • run a CLI command

Desktop

source
There are multiple installer’s available for different operating systems. Visit the releases page to download the latest release. These installers might be marked as not trusted by the OS since I don’t have 500 euro’s lying around to get a certificate. It’s up to you to judge if you trust this software. Since the source is available you can even build it yourself if you want.

Make sure to accept any network permissions required by the desktop app else it won’t be able to do anything.

macOS
Desktop.Device.dmg
Windows
Desktop.Device-x.x.x.Setup.exe
Linux
desktop-device-x.x.x.deb
desktop-device-x.x.x.rpm

The desktop app consist of a main window where you can create triggers and an overlay window for displays which you can fill with Flows.

App

source
After installing and starting the desktop app you can install the Homey app. Follow the normal add device steps for Homey to add your desktop. If the connection is succesful you should see it in the desktop app at the top right corner.

Now it’s up to you what to do :slight_smile:

Main Window

Overlay Window

Note: the settings button doesn’t do anything yet.

Examples

Shutting down my pc with a Windows shortcut with a button next to my bed :slight_smile:

Forwarding Homey notifications

Toggle a light with a shortcut

7 Likes

Very nice m8, thnx. Now ur favorite website is just 1 click away!

Desktop_Device_2021-02-26_19-30-17

1 Like

You forgot to open it on thursday.

1 Like

:joy:
I did it on mobile app so wasn’t in the log, sorry.

Hmm, i cannot get it to work. The Homey app keeps telling me “Er zijn geen nieuwe apparaten gevonden.” while the desktop app is running and also allowed on the network. Could it be a closed port?

I’m not sure if i’ve got the right app, i would like something to be able to just check if my PC is online, so that a flow only starts when my PC is either on or off.

Only just came across this app/post, and it sounds very promising!
Do you think it would be possible to create a trigger when a Teams call or meetinf is received or initiated, @Jero?
That would be great!

Few questions:

  • Are you sure your Homey is on the same network as the desktop?
  • The discovery works via MDNS are you sure this is not blocked somewhere?
  • Do you have issues with other Homey apps that use MDNS?
  • Did you get any error at startup?

I dont think your use case will work with this app(yet) because the device is marked as unavaiable if it fails to find it via MDNS once added.

I dont see how to be honest. It seems unlikely Teams will broadcast some event when a meeting starts on OS level. What I use myself is just a date card with a set time since the meetings are always on the same time for me. The I open the browser with google meet opened so I can just click the meeting :slight_smile:

So what makes more sense to me is some teams/calender Homey app that has a trigger on a meeting event that you use to open teams on your desktop.

I got it to work, thank you. It seems that my PC was set to not discoverable, now it is and i can use your app.

Love the app. One thing i never use but is not a manditory field … Maybee it could become manditory so one can save the flow when you dont need it.

Its under “Run a Command”
I’m starting batches to start dialing voip lines and pushing speech thru that.
Those take some time to complete.

The Card has a “output id” field.
I dont want any feedback. But the flow waits until the command on the pc is finished before it goes to the next card. I guess because its waiting for the filling of the output id.

So hope it can be manitory and when empty not used so homey just starts a run of the command and doesnt wait on it 2 complete.

Not sure what OS you are on but maybe you can run a detached command. I think on linux this is something like command &. Can also make a new Flow card that just runs a command without waiting for a result.

This is awesome! I was expecting to have to do some heavy cooking to get my monitor to turn off when I go to bed at night (49" inches of awesome picture when I’m working - but 49" of lighting from hell when I want to sleep :rofl:), but then I found this one! And being able to turn off my computer remotely when I go away is perfect :smiley:

Anyone got any other cool stuff they use this for? I would love to see some recipes for ideas!

I’ve added a new option for buttons. They now have a checkbox allowing you to add them to the tray menu. It’s a bit basic at the moment but it should allow for some easy access.

image

Since this is also the first real update I’m curious if people are able to pick it up without too much hassle. There should be a text in the header of the app that indicates there is a new version available.

I am using a virtual device together with this app, and wake on lan app to turn my pc on and off. But very often when I start pc with this, it just turns off automaticly right after startup. Any idea why?

Share the flow for that please.
I guess you used a knob instead of a switch VD

One for on and one for off.

I think the commands are getting buffered atm. I had disabled this behavior but it seems to be back in the latest version which is a bug. This means that if you start the shutdown Flow when the desktop app is not connected it will fire those commands when it is reconnected(which you are experiencing on boot). Will look into it.

Should be fixed in v1.0.7.

Ok :slight_smile:


This doesn’t work for me. But I’m a noob so must be entering it wrong. Can somebody please explain how to shutdown your computer. Maybe shutting down could get its own card in the next update?

Also, opening an url only works if you put https:// in front of it in the card. Can you maybe program it to also work without that prefix?