PDA

View Full Version : Device Manager Events



harleydude
September 22nd, 2008, 04:14 PM
Is there a way to have a device only trigger an event if the value falls into or outside of a certain range?

Speedfan data is presented with current temp, desired temp and warning temp. I want to trigger an event when the device reaches the warning temp not each time it actually changes.

Rob H
September 23rd, 2008, 03:54 AM
If you are inheriting from DeviceItemsContainer you could replace SetItemCondition with your own version that checks this sort of thing.

harleydude
September 23rd, 2008, 08:07 AM
I worked around this by adding another control to the device. If the temperature is in the normal range, I set status to Normal otherwise it is set to Alert. This will work just fine.

Thanks Rob