Announcement
Collapse
No announcement yet.
Polling devices
Collapse
X
-
Originally posted by tenholde View PostNot only does my device poll now work for the PCS KPLD7, but I see that when your plugin sees the STOP FADE that it automatically polls the device and updates the HS Device with the proper level.
Do you do that for all devices? If so, this saves me a lot of coding if I can depend upon the level being updated and don't have to poll a list of devices, as it is taking about a second per poll when I do it, and without more difficult coding, my Alexa scripts would time out.
Thanks a lot for the quick response.
Leave a comment:
-
Not only does my device poll now work for the PCS KPLD7, but I see that when your plugin sees the STOP FADE that it automatically polls the device and updates the HS Device with the proper level.
Do you do that for all devices? If so, this saves me a lot of coding if I can depend upon the level being updated and don't have to poll a list of devices, as it is taking about a second per poll when I do it, and without more difficult coding, my Alexa scripts would time out.
Thanks a lot for the quick response.
Leave a comment:
-
-
I need to know how to handle state report messages from keypads.
Please install version beta 3.0.0.51, and record one debug log for each of these scenarios
(a) polling keypad while load is Off
(b) polling keypad while load is 100%
(c) polling keypad while load is around 50%
Leave a 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
Leave a comment:
-
The following worked for me to poll a UPB Device: hs.PluginFunction("UPBSpud", "", "PollDevice", {1581})
Spud, thanks for your help. Great plugin.
Leave a 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?
Leave a 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)
Leave a 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).
Leave a comment:
-
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.
Leave a comment:
-
polling error
Attempting 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.
Leave a comment:
Leave a comment: