Synchronize a ZWave lamp to monitor state with Vera (Mi Casa Verde)
C#
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Properties
.gitignore
App.config
Form1.Designer.cs
Form1.cs
Form1.resx
Icon.ico
Program.cs
README.md
vera-monitor-backlight.csproj
vera-monitor-backlight.sln

README.md

vera-monitor-backlight

It's nice to have three monitors for a lot of screen real estate but the lights from the screens can often be overwhelming, especially at night. I installed a 3 x 10-inch LED strip behind the monitors which give a nice ambient light behind the screens.

This simple app runs in the background and watches system monitor state in Windows 8+. When the monitors turn off, it sends a command to Vera to turn off the light. When the monitors come back on, the backlight is turned on again.

Tested with a VeraLite home automation controller. You will likely need to change the IP address and DeviceNum parameters in the OnUrl and OffUrl variables to match your setup.