This plug-in is designed to allow HomeSeer to detect any mouse or keyboard activity on a local or a remote computer. It sets a device status to "On" as soon as it detects a mouse movement/click or a key stroke on the keyboard, and it sets it back to "Off" after X seconds of inactivity, where X is configurable. This plugin includes the main dll plugin to be installed on the HomeSeer machine and a client software which can be installed on any Windows machine. One device is created in HomeSeer for each running client.
One possible use for this plugin is to detect occupancy or lack of occupancy in a room. For example I have the client installed on my desktop PC and HomeSeer configured to turn on the lights in this room as soon as I move the mouse, and turn them off after 3 minutes of inactivity (no mouse movement/click or key stroke during 3 minutes).
Installation Instructions:
That's it, if the client has successfully connected to the server, a KMS device should have been created in HS, and the On/Off status of this device should reflect the mouse and keyboard activity of the client machine.
To automatically start the client when you start your computer, I would recommend to copy the KMSClient shortcut to your startup folder (C:\Users\<your_username>\AppData\Roaming\Microsoft\Windows\ Start Menu\Programs\Startup)
Additional Configuration:
For each device created you can customize the inactivity delay by clicking the device name on the status page. The default inactivity delay is 60 seconds.
Notes:
Please give me your feedback in this forum, and let me know about any issues or additional feature requests.
I hope you enjoy using the plug-in and find it useful.
spud
One possible use for this plugin is to detect occupancy or lack of occupancy in a room. For example I have the client installed on my desktop PC and HomeSeer configured to turn on the lights in this room as soon as I move the mouse, and turn them off after 3 minutes of inactivity (no mouse movement/click or key stroke during 3 minutes).
Installation Instructions:
- Download and install the plugin from the HS updater
- Restart HS and enable the KMS plugin from the Setup / Interfaces page
- Copy and run KMSClientSetup.exe to the machine(s) for which you want to monitor keyboard and mouse activity. The KMSClientSetup.exe file is in your HS directory in BIN/KMS.
- You should now see a KMSClient shortcut on your desktop. Run it as Administrator. (right click / run this program as administrator)
**** Important Note: you can run the client without running it as Administrator, but in this case it won't be able to detect mouse and keyboard activity when your cursor is over a window from a program started as Admin, so my recommendation is to always start is as Admin; to make this automatic, right click on the shortcut, go to Compatibility tab and check "Run this program as administrator" **** - Find the KMS icon in your tray menu and click it to show the KMSClient window.
set the HomeSeer host field to the IP of your HS machine and click "Apply Changes"
That's it, if the client has successfully connected to the server, a KMS device should have been created in HS, and the On/Off status of this device should reflect the mouse and keyboard activity of the client machine.
To automatically start the client when you start your computer, I would recommend to copy the KMSClient shortcut to your startup folder (C:\Users\<your_username>\AppData\Roaming\Microsoft\Windows\ Start Menu\Programs\Startup)
Additional Configuration:
For each device created you can customize the inactivity delay by clicking the device name on the status page. The default inactivity delay is 60 seconds.
Notes:
- If the client cannot connect to HS, make sure there is no firewall blocking traffic on port 8283 (This is the default port used by the server but it is configurable from an ini config file)
- Known bug: clicking the minimize or close button in the client window can make your computer freeze for a few seconds. One workaround is to right click the title bar and use the contextual menu to close or minimize instead of the buttons.
Please give me your feedback in this forum, and let me know about any issues or additional feature requests.
I hope you enjoy using the plug-in and find it useful.
spud
Comment