Hi enjoy using HSBuddy in HS4. Few months back when I created a device with control by toggle on/off, it worked great. When I tapped the button repeatedly, it would instantly toggle the light on and off. Now when I create a new device and select toggle on/off, it just turns on the device but won’t toggle it off. Has something changed that I need to do to get this ability back?
Announcement
Collapse
No announcement yet.
When adding devices to dashboard, toggle ON/OFF function no longer works.
Collapse
X
-
Originally posted by mwoo68 View PostHi enjoy using HSBuddy in HS4. Few months back when I created a device with control by toggle on/off, it worked great. When I tapped the button repeatedly, it would instantly toggle the light on and off. Now when I create a new device and select toggle on/off, it just turns on the device but won’t toggle it off. Has something changed that I need to do to get this ability back?
More specifically, it appears that IHSApplication.CAPIGetStatus is always returning a value of 0 for the device, regardless of whether it is ON or OFF, and because toggle relies on querying the status of the device before toggling, it thinks its value is always 0 and it always sets it to the opposite value.
I will open a ticket with HomeSeer as the root cause appear to be broken back-compat with HS3 plugins.
FYI: IHSApplication.CAPIGetStatus is not returning the device value - HomeSeer Core Software - Service Desk
Comment
-
I have submitted a new version of the plug-in with a temporary workaround (3.24.326.10) - hopefully it will be available for download in the HS plug-in updater soon.
If you want to try it out earlier, you can replace the file HSPI_HSBuddy.exe in your HS install folder with the one located here: https://1drv.ms/u/s!AgRzXPqv73sTg4cq...yK94g?e=O8gNOI (make sure to restart the plug-in afterwards)
Comment
-
Hi, I just tried it and it works great! I can now control devices with one button push again. Thanks much!
Originally posted by avargaskun View PostI have submitted a new version of the plug-in with a temporary workaround (3.24.326.10) - hopefully it will be available for download in the HS plug-in updater soon.
If you want to try it out earlier, you can replace the file HSPI_HSBuddy.exe in your HS install folder with the one located here: https://1drv.ms/u/s!AgRzXPqv73sTg4cq...yK94g?e=O8gNOI (make sure to restart the plug-in afterwards)
Comment
Comment