I’d want to have a virtual device on my SmartThings (A switch i guess?) where when my Windows PC is logged in it is On, otherwise it is off. So i can trigger events based on when somebody uses the PC or not.
i feel like this MUST be something somebody has done before. However i can’t seem to find any information on it anywhere.
I can’t use the conventional method of an actual Power outlet device, as the computer is left running 24/7 (as i imagine most peoples desktop PCs are these days) as they’re on the same network id imagine it should be relatively trivial to do, just basically notify SmartThings on logon and logout. Has it been done? Or if not what would be the best way to go about doing it? I have programming experience so would be able to delve in if necessary. i just feel like this must have been one of the first things somebody did with SmartThings. I’m amazed i haven’t been able to find anything