Is there a way to get your plug-in to poll a device for current status. This relates back to my pool level sensor and the messages I seem to be missing sometimes. When my event decides the pool needs water, I'd like to poll the sensor to make sure it is really low. A missed message caused me to overfill the pool the other day, and while I think I fixed that problem (I now key off the device status rather than the link activate/deactivate it sends), an all-around better approach would be to poll the UMI32 periodically.
Announcement
Collapse
No announcement yet.
Polling devices
Collapse
X
-
Originally posted by Overst View PostAttempting to add a poll all to an event gives the following error:Event Time Triggered Events 7:25 AM plugin action failed:Input string was not in a correct format.
Comment
-
Is there a way to poll a device for its actual status? From a script? There are times when UPBspud is not accurately reflecting the status of an actual device. For instance, if you manually dim a light from a wall switch that does not have the capability of reporting its device's load after a manual change (PCS KPLD7), then UPBspud plugin has no way of knowing how dim the light is, so it reflects the HS device as OFF, even though it is on (dim).tenholde
Comment
-
Originally posted by tenholde View PostIs there a way to poll a device for its actual status? From a script? There are times when UPBspud is not accurately reflecting the status of an actual device. For instance, if you manually dim a light from a wall switch that does not have the capability of reporting its device's load after a manual change (PCS KPLD7), then UPBspud plugin has no way of knowing how dim the light is, so it reflects the HS device as OFF, even though it is on (dim).
As stated above to poll a UPB device you can either:
(1) use the "UPB Action > Poll Device State" from an event
or
(2) select the device you want to poll from the device management page then click the "Poll devices for status" button
As the UPB plugin implement the following function in its interface for (2), it is also available from script
Code:public IPlugInAPI.PollResultInfo PollDevice(int dvref)
Comment
-
Originally posted by spud View Post
Please stop posting the same question in every thread.
As stated above to poll a UPB device you can either:
(1) use the "UPB Action > Poll Device State" from an event
or
(2) select the device you want to poll from the device management page then click the "Poll devices for status" button
As the UPB plugin implement the following function in its interface for (2), it is also available from script
Code:public IPlugInAPI.PollResultInfo PollDevice(int dvref)
Not everyone that might have an answer is following every discussion. What is the problem with posting a request in several different discussions relevant to the question?tenholde
Comment
-
spud,
The poll does not appear to work for a PCS KPLD7 7-button Load Controller. This device does control a load, but when I request a poll via script call, no UPB poll request is transmitted. The .upe entry for these devices show:
Code:Manufacturer=PCS (1) Product ID=KPL[B]D[/B]7 (75) Kind=Keypad (1) [B]# channels=1[/B] # transmit=7 # recieve = 16
Thanks,
tenholde
tenholde
Comment
Comment